2 conditions AND 5% discount

MagM

New Member
Joined
Sep 3, 2011
Messages
5
Q1. Using the IF calculate, IF days hired are over 7 AND the cost is over €120 apply 5% discount. =IF(AND(B17>120,D13>120,)5%,0) I got a false reply. Also does the answer have to be in Currency or %? A silly question I know but I'm a bit unsure! Thanks for any help please.
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Hello & Welcome to the Board,

Not exactly sure what you are doing...I don't see the over 7 you mentioned, but anyway, the proper formula would be...

=IF(AND(B17>120,D13>120),5%,0)
 
Upvote 0
Thanks v much for replying. Sorry I did it wrong. What I meant to say is, Days hired over 7 and cost is over €120 give a 5% discount. Hope this makes sense
 
Upvote 0
Yes Jeffrey, I followed your formula and discovered I had a comma in the wrong place! Brilliant, thank you so much:laugh:
 
Upvote 0

Forum statistics

Threads
1,224,598
Messages
6,179,820
Members
452,946
Latest member
JoseDavid

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