multiple IF statements in same cell

wayneeustace

New Member
Joined
May 16, 2015
Messages
22
Hi there

I need to return different results depending on the value of a cell.

Example:

In cell B1 and C1 there are standard numerical data.
In cell E1 there is a simple formula: =C1/B1 (with the returned value shown as %)

In cell F1 I need to return:

If D1="yes" then add 5% to the total of E1
If E1 <5% then "fail"
If E1 =>5% but <10% then "yes"
If E1 >10% then "no"

I've tried several different combinations but can't seem to get it work. Any assistance would be greatly appreciated.

Thank you.
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Your IF E1 statements

Is that IF E1... with the 5% already added (cos D1="Yes")

or is that IF E1... if the D1="yes" fails ?
 
Last edited:
Upvote 0
Try

IF(D1="Yes",E1*1.05,LOOKUP(E1,{0,0.05,0.1},{"Fail","Yes","No"}))
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,169
Members
453,021
Latest member
Justyna P

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