May 02 2022 12:17 PM
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 am not getting the output that I need. I think its when I get to the month calculation. I am not sure how to correctly write it out.
Column A = Annual Subscription Start Date
Column B = Annual Fee Paid
Column C = where my formula is going (Billing Fee)
If Current Year >A1, C1=B1, if Current Year <=A1, C1=0, if current year= A1, then(Month(A1)>6, C1=0, else C1=(B1/12)*(7-Month(A1)
Any help would be appreciated.
May 02 2022 12:38 PM - edited May 02 2022 12:41 PM
Solution=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))
May 02 2022 12:45 PM
May 09 2022 07:17 AM
May 09 2022 07:36 AM
Please explain the rules for July billing in detail.
May 09 2022 07:42 AM
May 09 2022 08:04 AM
Try
=B1*IF(YEAR(A1)>YEAR(TODAY()),0,IF(A1<DATE(YEAR(TODAY()),7,1),0.5,(13-MONTH(A1))/12))
May 02 2022 12:38 PM - edited May 02 2022 12:41 PM
Solution=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))