use formula across certain # of months based on variable

sashazaliz

New Member
Joined
Nov 9, 2009
Messages
46
I have this complex financial model I'm working on that has a commissions paid section. Each rep will get a bonus payment (15% of revenue) for a certain # of months which will then revert to a smaller 2% of revenue for the remainder of the months. I would like to be able to change the variable (# of months 15% is paid out) and have that automatically flow thru to the rest of the model accordingly.

So for instance if somebody types in "3" then the model will automatcially calculate the 15% payment for the first 3 months and then calculate the 2% payout for the remainder of the months. If somebody changes it to "4" then it will calculate the 15% payment for the first 4 months and the 2% for the rest of the months etc....

Is there a formula I can utilize that would allow me to do that? I have hundreds of rows across 48 months so to get this automated and view different scenarios is imperative. Thank you!:)
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Excel Workbook
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAHAIAJAKALAMANAOAPAQAR
1# Months @ 15%3
2RepCommissionJun-11May-11Apr-11Mar-11Feb-11Jan-11Dec-10Nov-10Oct-10Sep-10Aug-10Jul-10Jun-10May-10Apr-10Mar-10Feb-10Jan-10Dec-09Nov-09Oct-09Sep-09Aug-09Jul-09Jun-09May-09Apr-09Mar-09Feb-09Jan-09Dec-08Nov-08Oct-08Sep-08Aug-08Jul-08Jun-08May-08Apr-08Mar-08Feb-08Jan-08
3Mike55.9310754106945932743204992916094235795941129234289892621091124427221698375248324881
4Carol72.6866922467349590113447537162674279669136753503065189070327598178442273537426042511853
5Greg71.2216819704789180128757791829429735722721678685449299467542984387378597222934130
6Peter66.542139783133673662575992994257379757138739056611756786656255283901533896655552038
7Bobby81.88658069691138945972459807565225747516393339947875818453973544526798899953036459269
8Marcia74.1117828615708492428264191128483614428952382279408145779662654306283582649975847985
9Jan45.5210262469554092785609033671022280123052599897482104252140855946818457371283520
10Cindy67.6921440895227438883498735527392261734459494358328549942255307055884416944272518560
11Alice63.845766715892175455910193178386882386699181155251227955555118276091379077417709411
Sheet2 (2)
 
Upvote 0
It cut off the last few columns upon posting (to Jul-07)

Excel Workbook
ASATAUAVAWAX
2Dec-07Nov-07Oct-07Sep-07Aug-07Jul-07
3476337258157
466934017534
5358562191515
6274666894048
779960282473
8221652916499
930111912848
1094283735653
11484696695962
Sheet2 (2)
 
Last edited:
Upvote 0
thanks so much for getting back to me. I see the example you provided me but just so we're on the same page let me provide you a portion of my model so that you can see it first hand. As you can see each line of commission is calculated off a corresponding revenue row and matching month from above. So in this example the end user chooses 3 months of commission paid at 15% revenue with the rest of the months paid out at 2%. In light of what I just showed you would your approach still work? How would I need to change those initial formulas? thank you so much for your help.

C:%5CDocuments%20and%20Settings%5CAlex%5CMy%20Documents%5CEJHTMLe%5CTempJean.htm
Excel Workbook
AEFGHIJKLMNOPQ
533
54CATEGORY REVENUEJun-11Jul-11Aug-11Sep-11Oct-11Nov-11Dec-11Jan-12Feb-12Mar-12Apr-12May-12Jun-12
55rep 19,7509,7509,7509,7509,7509,7509,7509,7509,7509,7509,7509,7509,750
56rep 23,5135,1386,7638,3889,7509,7509,7509,7509,7509,7509,7509,7509,750
57rep 35,8537,4789,1039,7509,7509,7509,7509,7509,7509,7509,7509,7509,750
162
163Calculated CommissionsJun-11Jul-11Aug-11Sep-11Oct-11Nov-11Dec-11Jan-12Feb-12Mar-12Apr-12May-12Jun-12
164rep 11,462.51,462.51,462.5195.0195.0195.0195.0195.0195.0195.0195.0195.0195.0
165rep 2770.71,014.51,258.2195.0195.0195.0195.0195.0195.0195.0195.0195.0
166rep 31,121.71,365.51,462.5195.0195.0195.0195.0195.0195.0195.0195.0195.0
Direct Rev - Customers



 
Last edited:
Upvote 0
What criteria tells you to exclude Jun-11 from rep 2 and rep 3's calculation (they do have revenue in that month)?
 
Upvote 0
each rep commissions start at different times of the year so there is no criteria I have to build into the formulas to reflect that. Those cells are blank with no formulas. So to me having the right formulas within the active ranges is key. Unlike where they start though, the end commission month is all the same across all the reps (they all end at the same column).
 
Upvote 0
The model should include a column with the start date of each rep so the formula knows which months to skip. Otherwise you'll be changing formulas and cells like crazy, isn't the whole purpose to avoid that?
 
Upvote 0
no it won't be an issue since the starts dates follow a set consistent schedule. The point of this is for the results to flow thru based on the # of months the end user sets. I'm just looking for a formula that will allow me to keep the # of months 15% is paid out as a variable with the remainder of the months paid out at 2%. If we just focus on the first row and nothing more what formula would you suggest I use? thank you!
 
Upvote 0
Excel Workbook
AEFGHIJKLMNOPQ
533
54CATEGORY REVENUEJun-11Jul-11Aug-11Sep-11Oct-11Nov-11Dec-11Jan-12Feb-12Mar-12Apr-12May-12Jun-12
55rep 19750975097509750975097509750975097509750975097509750
56rep 23513513867638388975097509750975097509750975097509750
57rep 35853747891039750975097509750975097509750975097509750
162
163Calculated CommissionsJun-11Jul-11Aug-11Sep-11Oct-11Nov-11Dec-11Jan-12Feb-12Mar-12Apr-12May-12Jun-12
164rep 11462.51462.51462.5195195195195195195195195195195
165rep 2770.71014.451258.2195195195195195195195195195
166rep 31121.71365.451462.5195195195195195195195195195
Sheet1



So you'll subtract 5 instead of 4 in the next two rows
 
Upvote 0

Forum statistics

Threads
1,224,552
Messages
6,179,487
Members
452,917
Latest member
MrsMSalt

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