if within a range, then multiply by X

tommyloan

New Member
Joined
Feb 16, 2015
Messages
9
Hello... I need help on using a particular multiplier based on ranges. I am using the SUM function to add column I4 thru I15, and give the total in I16. Then, I need to multiply the number in I16 by the correct multiplier (based on the below chart) and show the result in I17. So for example, if the total of I4 thru I15 is shown in I16 to be $472,000, then I need to multiply by 0.43% and show $2,029.60 in I17. Or if total sales is $2,780,000, then I need to multiply by 0.72% and show $20,016 in I17. In the below chart, "0" is H44, "$499,000" is I44, and "0.43%" is J44. So the chart is saying: if $0 thru $499,999, multiply by 0.43% / if $500,000 thru $999,999 multiply by 0.47% / etc, etc. Thank you in advance.

0$499,9990.43%
500000$999,9990.47%
1000000$1,499,0000.57%
1500000$1,999,9990.62%
2000000$2,499,9990.67%
2500000$2,999,9990.72%
3000000$3,499,9990.77%
3500000$3,999,9990.82%
4000000$10,000,0000.87%

<tbody>
</tbody><colgroup><col><col><col></colgroup>
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
You can do this using VLOOKUP, specifically by setting the last (4th) argument to TRUE.

So, enter that chart somewhere in your workbook, highlight it all, and name the range (I'll use the name "MyRange" for this example).
Then, you can use the following formula in cell I17:
Code:
=VLOOKUP(I16,MyRange,3,True)

See here for an explanation of how it works: https://exceljet.net/tips/how-to-use-vlookup-for-approximate-matches
 
Upvote 0
Very easy.
See: http://www.contextures.com/xlNames01.html#videoname
You do not need to name the range, but I think it makes it easier to work with (you do not need to worry about locking cell references).

BTW, Google is your friend with these type of things. Just Google "Excel name range", and you will gets lots of different links to tutorials and videos!
 
Upvote 0

Forum statistics

Threads
1,216,579
Messages
6,131,530
Members
449,654
Latest member
andz

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