Calculating amount * % rate when referencing % based on range from another table

Gunnerrecall1776

New Member
Joined
Aug 17, 2016
Messages
11
Essentially trying to figure out a formula or what function to use to figure how much what % will come out of a base amount, where the % rates are referenced from a separate table displaying value ranges and what % rates apply to them.

https://imgur.com/gallery/tYKuK

Its a pretty basic example of what im trying to do, if i can get help figuring out how start that I can tune up any tweaks I have to do to get It to work i think. Any help would be appreciated, and thank whoever in advance.
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
This formula should do it

=IF(AND(B1>=A7,B1<=C7),D7,IF(AND(B1>=A8,B1<=C8),D8,IF(AND(B1>=A9,B1<=C9),D9)))
 
Upvote 0
You can also use an array formula, which will make it a bit easier to work with longer tables of value ranges.
Based on the layout in your picture, the formula in B2 would be:

Code:
{=SUM(($B$1>=A7:A9)*($B$1<=C7:C9)*(D7:D9))*$B$1}

You have to hit CTRL-SHIFT-ENTER (not just ENTER) when entering to change the formula in an array formula.
If you need a longer value range, just change the ranges A7:A9, etc...

Hope this helps.
JL
 
Upvote 0
Just realized you can also use sumproduct:

Code:
=SUMPRODUCT(($B$1>=A7:A9)*($B$1<=C7:C9)*(D7:D9))*$B$1

That does not require an array formula.
 
Upvote 0
Another option if you have a table then maybe VLOOKUP:
Excel Workbook
ABCDE
1Amount2300
2115
3
4
5
6Table
70to9992%
81000to19993%
92000to29995%
Sheet
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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