keizerkarel
New Member
- Joined
- Jun 25, 2018
- Messages
- 2
I have invoices with a certain total amount that I want to spread on a timeline per month. Example:
*Date formatting is the standard here. Feel free to swap it around.
[TABLE="width: 800"]
<tbody>[TR]
[TD]Customer[/TD]
[TD]Starting date[/TD]
[TD]Ending date[/TD]
[TD]Total amount[/TD]
[TD]jan-18[/TD]
[TD]feb-18[/TD]
[TD]mar-18[/TD]
[/TR]
[TR]
[TD]Customer A[/TD]
[TD]01-01-2018[/TD]
[TD]31-12-2018[/TD]
[TD]120000[/TD]
[TD]10000[/TD]
[TD]10000[/TD]
[TD]10000[/TD]
[/TR]
[TR]
[TD]Customer B[/TD]
[TD]01-02-2018[/TD]
[TD]31-03-2018[/TD]
[TD]10000[/TD]
[TD]0[/TD]
[TD]5000[/TD]
[TD]5000[/TD]
[/TR]
[TR]
[TD]Customer C[/TD]
[TD]01-09-2017[/TD]
[TD]28-02-2018[/TD]
[TD]60000[/TD]
[TD]10000[/TD]
[TD]10000[/TD]
[TD]0[/TD]
[/TR]
</tbody>[/TABLE]
Is there a way to use the total amount + license period to autofill the chart on the right?
- Every month is equal, regardless of amount of days.
- All invoices run in full months from the first day to the last day.
- Invoices can be anywhere between 1 and 24 months.
I'm in doubt whether the above is possible without macro's. My own googling however returned nothing, neither VBA nor excel, that came remotely close.
Anyone who can point me in the right direction?
*Date formatting is the standard here. Feel free to swap it around.
[TABLE="width: 800"]
<tbody>[TR]
[TD]Customer[/TD]
[TD]Starting date[/TD]
[TD]Ending date[/TD]
[TD]Total amount[/TD]
[TD]jan-18[/TD]
[TD]feb-18[/TD]
[TD]mar-18[/TD]
[/TR]
[TR]
[TD]Customer A[/TD]
[TD]01-01-2018[/TD]
[TD]31-12-2018[/TD]
[TD]120000[/TD]
[TD]10000[/TD]
[TD]10000[/TD]
[TD]10000[/TD]
[/TR]
[TR]
[TD]Customer B[/TD]
[TD]01-02-2018[/TD]
[TD]31-03-2018[/TD]
[TD]10000[/TD]
[TD]0[/TD]
[TD]5000[/TD]
[TD]5000[/TD]
[/TR]
[TR]
[TD]Customer C[/TD]
[TD]01-09-2017[/TD]
[TD]28-02-2018[/TD]
[TD]60000[/TD]
[TD]10000[/TD]
[TD]10000[/TD]
[TD]0[/TD]
[/TR]
</tbody>[/TABLE]
Is there a way to use the total amount + license period to autofill the chart on the right?
- Every month is equal, regardless of amount of days.
- All invoices run in full months from the first day to the last day.
- Invoices can be anywhere between 1 and 24 months.
I'm in doubt whether the above is possible without macro's. My own googling however returned nothing, neither VBA nor excel, that came remotely close.
Anyone who can point me in the right direction?