IF Statement Help

RileyJH

New Member
Joined
Dec 1, 2013
Messages
7
Hi all! Just wondering if you have any ideas what the IF statement could be for 'if the sub total is greater than 20'000, then its discount would be 10% of the total'.
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
=IF ( range to calculate the sub total > 20000 , total * 0.1 , "what to do if not , i assume just the total")
 
Upvote 0
so false because C7 is less than 65000
and you do not have a false statement hence false

IF( Test, True, False)
is the format
 
Upvote 0
so false because C7 is less than 65000
and you do not have a false statement hence false

IF( Test, True, False)
is the format

Ooh ok. Thank you. It asks me to put a total in after so the false thing just confused me. The second one gave me a figure! The third one is 'if the total is less than 30000 there is no discount' - Should I even put discount into the statement if it says this? I keep getting 0 and know Im doing it wrong.
 
Upvote 0
so you are applying a discount on C7 if its over 65,000 in your example formula
your first question says 10% if greater than 20,000
and now you say if less than 30,000 there is no discount

so they do not really work out

Lets say you wanted to apply a discount and show the actual discounted price in a cell

so A1 = calculated price
and A2 = The Price with or without a discount
and a 10% discount applies for anything over 30,000

to actually calculate the new value

=IF(A1>30,000, A1*0.9, A1)

this applies a 10% discount to the value by * 90% and now shows the price you are to pay

if you just want the cell to show a % value
=IF(A1>30,000, A1*0.1, 0)

this will now show 10% of the value in the cell and if no discount applies shows 0

does that help?
 
Upvote 0

Forum statistics

Threads
1,215,400
Messages
6,124,702
Members
449,180
Latest member
craigus51286

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