Hi,
I have been driving myself crazy with this problem. I am trying to build a formula that automatically generates a list of invoice dates based on 3 dynamic inputs: start date, a full years revenue amount and invoice frequency. The inputs looks like this:
Start date: 01/01/2000
Year 1 full revenue: 850,000 (this is adjustable)
Invoice frequency: 3 (this has to be adjustable, and will often be larger than 12)
Based on these inputs I want to automatically generate a list of invoice dates. So with the above values, it would give me the following list:
01/03/2000
01/06/2000
01/09/2000
01/12/2000
But let's say I then change the invoice frequency to 24 months, the output would be only:
01/12/2001
So far I have built out the solution in two steps.
Step 1: =MOD(1,$E$3)=0
Checks whether the invoice frequency in months divides evenly into the number of months that have passed since the start date. If the answer is 0, it's time for an invoice.
Step 2: =IF(G3=TRUE, EDATE($E$1, 1), "")
This checks if the output of MOD is TRUE. If the output is true, it adds the number of months that have passed to the original start date and displays the date.
The problem with this solution is that I need to run the formula for every POTENTIAL number of months that have passed in the future, and I want to display the invoice dates for the next 25 years. So I have to have a long list of numbered rows. Below is a screenshot for clarification:
problem.png
What I want, is to just paste a formula in one cell and it automatically 'spits out' all future invoice dates without me needing to list a range of eventual dates. I assume I need some sort of OFFSET formula, but I can't figure out the next steps! Any help would be much appreciated. Thank you in advance!
I attached my workbook but don't pay attention to the other columns, these are problems for later
Bookmarks