Distributing Amount over Months by Criteria - Formula Help

RicardoCubed

Board Regular
Joined
Jul 10, 2013
Messages
206
Office Version
  1. 365
Platform
  1. Windows
Hi out there in excel land. I am looking for help with a formula (non VBA) for E2 copied down and across to distribute amount by criteria selected. Example below with results.
Appreciate in advance any help.
Thank you.

A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
1
Months in Contract
Month Start
Payment Frequency
Amount
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
Total
2
1
2
Monthly
2,247.00
2,247
2,247
3
6
4
Monthly
19,764.00
3,294
3,294
3,294
3,294
3,294
3,294
19,764
4
12
1
Quarterly-End
45,444.00
11,361
11,361
11,361
11,361
45,444
5
3
11
Monthly
11,271.00
3,757
3,757
7,514
6
11
3
Quarterly-Beginning
36,190.00
9,048
9,048
9,048
9,048
36,190
7
7
5
Monthly
19,992.00
2,856
2,856
2,856
2,856
2,856
2,856
17,136
8
11
6
Quarterly-End
36,190.00
9,048
9,048
9,048
27,143

<tbody>
</tbody>
Sheet1
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
hi, there is a bit of inconsistency in the data provided

when you have either Quarter End or Quarter Beginning what does Month Start represent? for rows 6 and 8 it looks like it represents the month, for row 4 it represents the quarter number. Row 4 is what would make more sense...
 
Upvote 0
Thanks for the response. I was attempting to illustrate that in rows 6 & 8 payment is due at quarter beginning (row 6) or end (row 8) while the contract starts in month 3 (Mar) and 6 (Jun) respectively. Row 4 is straightforward as you stated with contract starts on month 1, payment due end of the first quarter March.
Make sense?
Appreciate your time and help!
 
Upvote 0
I believe that for a formula to work correctly, when column C is Quarterly, then column B should represent the Quarter Number

so for quarter beginning: 1(Jan) 2(apr) 3 (jul) 4(oct)
quarter end 1(march), 2(june) 3(sept) 4(dec)

or you can say that column B always represents a month, so when column C is quarterly, the formula will start inputting values starting on that month and then each 3 months
 
Upvote 0
Your last sentence is where my head is at and hoping for formula that could do just that.
Appreciate suggestions/help with formula to achieve same.

Thanks and looking forward to thoughts/approach/formula help.
 
Upvote 0
you can do it with this formula. also column A, when col C is Quarterly, it needs to be a multiple of 3 i assume

<b>Worksheet Formulas</b><table cellpadding="2.5px" width="100%" rules="all" style="border: 1px solid;text-align:center;background-color: rgb(255,255,255);border-collapse: collapse; border-color: rgb(187,187,187)"><thead><tr style=" background-color: rgb(218,231,245);color: rgb(22,17,32)"><th width="10px">Cell</th><th style="text-align:left;padding-left:5px;">Formula</th></tr></thead><tbody><tr><th width="10px" style=" background-color: rgb(218,231,245);color: rgb(22,17,32)">E2</th><td style="text-align:left">=IF(<font color="Blue">AND(<font color="Red">COLUMNS(<font color="Green">$E2:E2</font>)>=$B2,COLUMNS(<font color="Green">$E2:E2</font>)<$A2+$B2</font>),IF(<font color="Red">AND(<font color="Green">LEFT(<font color="Purple">$C2,9</font>)="quarterly",MOD(<font color="Purple">COLUMNS(<font color="Teal">$E:E</font>)-$B2,3</font>)</font>),"",$D2/$A2*IF(<font color="Green">LEFT(<font color="Purple">$C2,9</font>)="quarterly",3,1</font>)</font>),""</font>)</td></tr></tbody></table></td></tr></table><br />



Excel 2013/2016
ABCDEFGHIJKLMNOPQ
1Months in ContractMonth StartPayment FrequencyAmountJanFebMarAprMayJunJulAugSepOctNovDecTotal
212Monthly2,247.002,2472,247
364Monthly19,764.003,2943,2943,2943,2943,2943,29419,764
4123Quarterly-End45,444.0011,36111,36111,36111,36145,444
5311Monthly11,271.003,7573,7577,514
6121Quarterly-Beginning36,190.009,0489,0489,0489,04836,190
775Monthly19,992.002,8562,8562,8562,8562,8562,8562,85617,136
8126Quarterly-End36,190.009,0489,0489,04827,143
Sheet1
 
Upvote 0
Thanks so much!
I was trying to time the quarters to fiscal quarters not 3 month increments, not that my data set was layout in that fashion.
However I think I can live with this and modify my approach.
Very much appreciate your time and help with this!!!!
Regards and have a wonderful day!!
 
Upvote 0

Forum statistics

Threads
1,217,187
Messages
6,135,084
Members
449,911
Latest member
Omarahmed99

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top