Ok, I have a spreadsheet with hundreds of line items with a start date, end date, and invoice total.
The end goal is to know how much revenue I can expect per month based on averaging out the total based on the date range.
For Example, Let's say I have a start date of 11/20/2011 and an end date of 03/05/2012. The total is $5000
There are 106 days, $47.71 Daily Average.
I need the formula to do the following:
-Look at the date range, enter 0 if it's before or after that date range
-Provide the average correctly (Meaning taking in account number of days for that particular month)
-Calculate the correct total for that month when it isnt a complete month.
This may be super easy to do in a Pivot Table? Im looking for any solution. Pivot, VBA, Formula, etc.
Attached is an example. I had a formula I used, but didnt work for date ranges with multiple years, and didnt work with start and end dates one month apart.
Thanks for the help.
Bookmarks