Google sheets scaling discount question

Berandon

New Member
Joined
Sep 8, 2014
Messages
40
I am trying to figure out the best way to give a discount on a sliding scale.

I have a sheet that is giving square footage pricing, but as the price gets higher, we can offer a discount.
I would like it to look like:
$0-$6,000 = no discount
$6,001-$10,000 = 5%
$10,001 - $15,000 = 10%
$15,001 - $20,000+ = 15%

Any help would be greatly appreciated.
Thank you!
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
I don't know whether this works outside of Excel, but this is the idea:

MrExcel posts20.xlsx
DEFGHI
2hurdlediscount
300
460015%customerpricediscount
51000110%Tom1106810%
61500115%Dyck52850%
7Harry75155%
8Zed7569115%
9Fred60000%
10Ted1000110%
11
Sheet11
Cell Formulas
RangeFormula
I5:I10I5=XLOOKUP(H5,$D$3:$D$6,$E$3:$E$6,,-1)
 
Upvote 0
Solution
I was thinking to use IFS, but i usually write them smallest to biggest. But i read the help section some and it says it goes in order, so i flipped the forumla to start from the largest number and worked backwards and it seems to work.

Let me know if you see any potential issues with this formula

=ifs(Test!B19>15000,Test!B19*0.15,Test!B19>10000,Test!B19*0.1,Test!B19>6000,Test!B19*0.05,Test!B19<6000,0)
I don't know whether this works outside of Excel, but this is the idea:

MrExcel posts20.xlsx
DEFGHI
2hurdlediscount
300
460015%customerpricediscount
51000110%Tom1106810%
61500115%Dyck52850%
7Harry75155%
8Zed7569115%
9Fred60000%
10Ted1000110%
11
Sheet11
Cell Formulas
RangeFormula
I5:I10I5=XLOOKUP(H5,$D$3:$D$6,$E$3:$E$6,,-1)
Your solution worked in sheets!

Thank you for your help!
 
Upvote 0
You're welcome.

The problems with your IFS formula are that the list of hurdles could be much longer and you have hard-coded the hurdles (and we know hard-coding variables is bad spreadsheet practice).
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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