Hello guys
I have a problem.
I am trying to figure out a single formular that gives me a price (number) depending on start and end date.
Let me elaborate.
The situation is that some (a lot of) people have forgot to pay their subscriptions for a year. The price varies each year and I am trying to calculate what each subscriber owes.
The payment is for each month and the subscription starts on the date the subscriber subscripes.
Examples:
Start dates: End dates:
26-04-2011 25-04-2012
05-08-2010 05-08-2011
13-04-2011 12-04-2012
05-01-2011 05-01-2012
Each enddate is calculated by '=startdate+365' and note that 2012 is a leapyear.
The prices are:
2010: 424,-
2011: 442,-
2012: 451,-
So basically I need to figure out the price from startdate up to the end of that year and then again from the begging of the next year up til the enddate.
I have been able to figure out the number of days between the two dates, but how to add the prices in to that is beyond me. Especially with only one formular.
I hope you guys can help.
Thanks in advance.
Bookmarks