Question !!!!!

adaryana

New Member
Joined
Feb 9, 2003
Messages
28
Sorry for the multiple postings. Hopefully this one will be clear and concise. Thanks for everyone who tried to help me.
Here is my billing Percentage.
0 - $499,000 - 1.15%
$500,000 - $999,999 - 0.98%
$1,000,000 - $1,999,999 - 0.93%
$2,000,000 - $2,999,999 - 0.88%
$3,000,000 - $3,999,999 - 0.83%
$4,000,000 - $4,999,999 - 0.78%
$5,000,000 + - 0.73%

So if someone has $2,250,000. He would pay 1.15% for the first $500,000. For the next $500,000 he would pay 0.98%, For the next $1m he will pay 0.93% and the remaining 250K (which is above 2M) he will pay 0.88%.

I have over a 1000 amounts in Column A, with values. I need to get the fees in column B. Can someone please help me out. If else loops seem to have a limit.
Thanks.
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Tried to going through the example lookslike something is off with the array formula I am doing it keeps popping back with "#Value"

Any suggestions ?
Thanks
 
Upvote 0
adaryana said:
Tried to going through the example lookslike something is off with the array formula I am doing it keeps popping back with "#Value"

Any suggestions ?
Thanks

Thats a common fault if you forget to Ctrl + Shift + Enter the formula...does this solve it?
 
Upvote 0
Actually I did do CTRL+SHIFT+ENTER.

I can get the example in the webpage to work fine (proves that I an copy and paste) but I can get it to work on my spreadhseet primarily because my table is larger that the example and am not able to modify it.
Can I email this to you so you can have a better idea abt what I am talking.
Thanks again.
AMit
 
Upvote 0
I would use an array formula, sumproduct, or VLookup for this type of calculation and similar tax calculations.

I named each each range to keep the fomula simple.
My example is on sheet "1".

Use Insert | Name | Define and name the elements of the rate table.


rB for brackets ='1'!$E$4:$E$10
rR for rates ='1'!$F$4:$F$10
rR_ for Lower range ='1'!$F$3:$F$9


E3:F3 are blank
E4 0 F4 .0115 (format to %)
E5 500000 .0098
E6 1000000 .0093

etc


With amount in A1

Formula is

=SUMPRODUCT((A1>rB)*(A1-rB)*(rR-rR_))

HTH

Dave

You can put the rate table in a range of cells and on a sheet that you select.
 
Upvote 0
I know you have an answer, but can you advise if the following returns the expected results?
Book2
ABCDEFG
1AmountCommission
21.000.01BillingRateMarginalCumulative
325.000.29-1.15%00
4500,000.005,748.30499,000.000.98%5,738.505,738.50
5998,000.0010,628.70999,000.000.93%4,051.709,790.20
61,500,000.0014,449.501,999,000.000.88%14,539.0024,329.20
72,500,000.0028,738.002,999,000.000.83%11,852.2036,181.40
83,000,000.0036,189.703,999,000.000.78%21,339.5057,520.90
94,000,000.0057,528.704,999,000.000.73%17,652.7075,173.60
104,500,000.0061,428.70
115,000,000.0075,180.90
125,200,000.0076,640.90
Sheet1



Richard

edit: Formula in B2 is

=VLOOKUP(A2,$D$3:$G$9,4)+(A2-VLOOKUP(A2,$D$3:$G$9,1))*VLOOKUP(A2,$D$3:$G$9,2)
 
Upvote 0
Your VLookup formula looks correct.

You may want to check your lookup table.

I used just three columns and numbers like 500,000 are actually
499,999.9999

My table shows

0 1.15% 0
500,000 0.98% 5,750.00
1,000,000 0.93% 10,650.00
2,000,000 0.88% 19,950.00
3,000,000 0.83% 28,750.00
4,000,000 0.78% 37,050.00
5,000,000 0.73% 44,850.00


And formula

=VLOOKUP(A1,$E$4:$G$10,3)+(A1-VLOOKUP(A1,$E$4:$G$10,1))*VLOOKUP(A1,$E$4:$G$10,2)
 
Upvote 0

Forum statistics

Threads
1,215,326
Messages
6,124,258
Members
449,149
Latest member
mwdbActuary

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