Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago

Devide amount over months

Hello,

 

Who can help me with the next question?

 

I have a table with trips

 

TripStartEndAmount
100220115-1-20192-3-2019€ 15.000,00
100220320-1-201930-1-2019€ 45.000,00
100220515-2-201910-3-2019€ 23.000,00

 

Now i want to devide the amount over the months depending the days that the project is in that month

 

Days

JanFebMrt
16282
1000
01310

 

Percentage

JanFebMrt
35%61%4%
100%0%0%
0%57%43%

 

The result has to be like this

 

JanFebMrt
€     5.217,39€   9.130,43€       652,17
€ 45.000,00€                 -  €                 -  
€                 -  € 13.000,00€ 10.000,00

 

 

Wiht kind regards