Need one function

Hi Team,

 

I want to create one expression rule which will return me number of months and quarter on basis of input.

Like if I JUN as month and period is 4 than rule should return MAR,APR,MAY,JUN,Q1,Q2

 

FEB is month and period is 4 than it should return JAN,FEB,Q1

 

SEP,8-> OCT,SEP,AUG,JUL,JUN,MAY,APR,MAR,Q1,Q2

 

Kindly help me out for this rule.

I am unable to prepare this rule.

 

 

 

  Discussion posts and replies are publicly visible