Hunter Childress
Member
Hi Experts,
I am trying to create a formula in Excel that calculates IF the day I am refrencing is in the current month, if not, then It should move to the next month.
For example, If today 1/1/2015, I want to reference between Jan 1 and before Feb 1, then if its true, use the data below is and divide by the days in the month. If false, then drag over to the correct data and do the same formula.
Please see my attached sample.
=IF(AND(B$9>=$B$3,B$9<$C$3),($B$4/(DAYS($C$3,$B$3)))
Thanks,
Hunter
I am trying to create a formula in Excel that calculates IF the day I am refrencing is in the current month, if not, then It should move to the next month.
For example, If today 1/1/2015, I want to reference between Jan 1 and before Feb 1, then if its true, use the data below is and divide by the days in the month. If false, then drag over to the correct data and do the same formula.
Please see my attached sample.
=IF(AND(B$9>=$B$3,B$9<$C$3),($B$4/(DAYS($C$3,$B$3)))
Thanks,
Hunter