Quick IF statement required

BMWE65

New Member
Joined
Mar 19, 2011
Messages
10
Hi all,

Just need some quick help on creating an IF statement for my invoice.

I have a drop down box in cell J21, which lists Cash, Debit Card, Cheque and Credit Card.

If I select Credit Card from the drop down list, in cell E35 I want it to calculate 2.5% of the total invoice amount, (as there is a 2.5% fee associated with credit card purchases).

There are no fees for Cash, Debit Card or Cheque.

The total invoice amount is calculated by adding cells E32, E33 and E34.

Thanks very much :)
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Edit: Oops, didn't see Vog's suggestion before posting. :)

Try this for E35

=SUM(E32:E34)*0.025*(J21="Credit Card")
 
Upvote 0
Wow, thank you so much guys!!!
I have been trying myself all morning, and watching IF statement vids on youtube, and it just never worked out for me.

Thank you both! Worked a treat ;)
 
Upvote 0

Forum statistics

Threads
1,224,568
Messages
6,179,595
Members
452,927
Latest member
whitfieldcraig

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