I am trying to enter a monthly amonth in each month up to 60 months (5years) depending on award dates which also depends on duration (1, 2, 3, 4, 5 years)
Local NumberVar x;
if {BID_SUBJ.AWARD_EXP_DATE} in [Date (2003, 02, 01) to Date (2003, 02, 28)]
then x := {@MonthlyRev}
else
if month({BID_SUBJ.AWARD_EXP_DATE}) > 0 and
month({BID_SUBJ.AWARD_EXP_DATE}) <= {BID_SUBJ.DURATION} * 12
then x := {@MonthlyRev}
else 0
I have 61 seperate formula created per month, then i am entering amounths on each cell if the award date is month prior to cell month i am on. Per if i am on 15th cell corresponds with march of 2003 then i will see an amounth in this cell, or if award date is couple months prior such as 2002 dec and the duration is 1 year for this project then i will see this amouth on 13th cell (jan2003) and (dur*12) 12 cells there after. I am having a hard time showing the amounths in the cells to follow during the dur*12 mounths of cells. My formula do not work for the second if statetment since it is always going to retun tru and put the amounth in the cell, any help will be greatly appriciated...
Local NumberVar x;
if {BID_SUBJ.AWARD_EXP_DATE} in [Date (2003, 02, 01) to Date (2003, 02, 28)]
then x := {@MonthlyRev}
else
if month({BID_SUBJ.AWARD_EXP_DATE}) > 0 and
month({BID_SUBJ.AWARD_EXP_DATE}) <= {BID_SUBJ.DURATION} * 12
then x := {@MonthlyRev}
else 0
I have 61 seperate formula created per month, then i am entering amounths on each cell if the award date is month prior to cell month i am on. Per if i am on 15th cell corresponds with march of 2003 then i will see an amounth in this cell, or if award date is couple months prior such as 2002 dec and the duration is 1 year for this project then i will see this amouth on 13th cell (jan2003) and (dur*12) 12 cells there after. I am having a hard time showing the amounths in the cells to follow during the dur*12 mounths of cells. My formula do not work for the second if statetment since it is always going to retun tru and put the amounth in the cell, any help will be greatly appriciated...