Forum Discussion
Dfuhrman8
May 02, 2022Copper Contributor
Excel Formula Help with Calculating Dates
I have a column in a work sheet that has a Subscription Start Date, depending on that date depends on what is billed. Here is what I am wanting, I have tried different ways of writing this out and I...
- May 02, 2022
=B1*IF(YEAR(A1)<YEAR(TODAY()),1,IF(A1>=DATE(YEAR(TODAY()),7,1),0,(7-MONTH(A1)))/12)
or, equivalently
=B1*IF(A1<DATE(YEAR(TODAY()),1,1),1,IF(A1<DATE(YEAR(TODAY()),7,1),(7-MONTH(A1))/12,0))
HansVogelaar
May 02, 2022MVP
=B1*IF(YEAR(A1)<YEAR(TODAY()),1,IF(A1>=DATE(YEAR(TODAY()),7,1),0,(7-MONTH(A1)))/12)
or, equivalently
=B1*IF(A1<DATE(YEAR(TODAY()),1,1),1,IF(A1<DATE(YEAR(TODAY()),7,1),(7-MONTH(A1))/12,0))
Dfuhrman8
May 02, 2022Copper Contributor
Thank you! I will test it out. Thank you again!