IF Multiple citeria.

srizki

Well-known Member
Joined
Jan 14, 2003
Messages
1,860
Office Version
  1. 365
Platform
  1. Windows
Hi everyone and happy new year.
I need to formula, that is Quantity * % of rate per unit. % depends conditions. A, B, C or D.
A=100%, B=75%, C=50% and D=25%
I or user will input quantity and price per unit and the formula will calculate the total price.
I want the formula in cell let’s say, C4, see the condition dropdown (A, B, C or D) in cell B4 and populate the % accordingly.
Just to explain better, it is something like,
=IF((B4=”A”, 100), IF(B4=”B”,.75),IF(B4=”C”,.5),.25))
Or =choose(…
And of course the above formula is wrong.

Thanks
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
One way:
Code:
=IF(A4="A",100%,IF(A4="B",75%,IF(A4="C",50%,IF(A4="D",25%,""))))
Note that 100% does NOT equal 100. It actually equals 1.
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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