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

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
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,225,754
Messages
6,186,827
Members
453,377
Latest member
JoyousOne

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