Calculate percentages based on the value of a number

themorganator4

New Member
Joined
Jul 27, 2017
Messages
6
Hi,

Is there any way to calculate percentages based on the value of a number input in a cell? for example:

0-£1000 = -10%
£1001-£1500 = -15%
£1501-£2000 = -20%

So if I input a figure in a cell, based on the formula, it will automatically calculate the percentage range for that number (as above) so if I input £450 it will automatically deduct 10%, giving me the answer of 405, if I input £1400 it will deduct 15% and so on..

Thanks.
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Heres a formula that may help:

=A1*(1-LOOKUP(A1,{-1E+100,0,1000,1500,2000}+0.1,{0,10,15,20,0})%)

when your value is typed in A1.
 
Upvote 0
You add bits in between the curly brackets. However it sounds like maybe you would be better creating a look up table rather than hard coding into formula. How many more ranges are you talking about?
 
Upvote 0
See if this helps:

=IF(A1<1000,A1-35,A1*(1-LOOKUP(A1,{999.9,1500,2000}+0.1,{15,20,0})%))
 
Upvote 0

Forum statistics

Threads
1,223,894
Messages
6,175,252
Members
452,623
Latest member
Techenthusiast

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