Percentage of cell depending on value of another cell Excel 2003

htevents

New Member
Joined
Sep 14, 2017
Messages
5
Hello All,

after your wonderfull help with another thread, I'd like to ask another question:

I have a sheet where I calculate the total price of some products, but some products qualify for discount, others do not, but the total price determines the percentage of discount of the product that qualify.

What I want is to have a cell with the total price of the products (have it already) and a cell with the variable discount percentage. The cell wilth the percentage should be based on the value in the cell with the total price, so the cell should have the following percentages:
(lets say cell B11 is the cell with the total price and cell C11 is the percentage cell)

When B11 is less then €49,99, cell C11 should be 10%
When B11 is between €50 and €99,99, cell C11 should be 15%
When B11 is between €100 and €249.99, cell C11 should be 20%
etc. etc. etc.
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Never mind, got it already.

=IF(T15<50;0,1;IF(T15<100;0,15;IF(T15<250;0,2;IF(T15<500;0,25;IF(T15>500;0,3)))))

Set your cell format to percentage.
 
Upvote 0
Another way would be to set up a small table to contain the ranges and percents, and then use vlookup()
 
Upvote 0

Forum statistics

Threads
1,224,827
Messages
6,181,199
Members
453,022
Latest member
RobertV1609

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