Combining multiple IF AND statements with a condition

Demona26

New Member
Joined
Feb 22, 2018
Messages
40
Office Version
  1. 365
Platform
  1. Windows
Hello all.
Each of the 2 below formulas works on their own

=IF(A11<>"",IF(AND($E$7>=.4,$E$7<1),$C$7*$D11,"")
=IF(A11<>"",IF(AND($E$7>=.4,$E$7>1),$C$7*$F7,$C$7*$F7))

I need to combine these, but I can't seem to do it. Can anyone help?
To further explain what I am trying to do...

I am trying to tell Excel that if A11 is not blank, run this formula if cell E7 is above .4 but below 1, or run this formula if E7 is between .41 and 1.

Any help would be appreciated
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Hi,

Need some clarification here.
What if E7 is exactly 1?
You say if E7 is "above" .4, but your formula says "equal or greater"?
Your second formula, for the second IF test, you have $C$7*$F7 for both "value if true" And "value if false", so as long as A11 isn't Blank, it'll Always be $C$7*$F7?

This is based on what I THINK you want:


Book1
A
1 
Sheet43
Cell Formulas
RangeFormula
A1=IF(A11<>"",IF($E$7>=0.4,IF($E$7<1,$C$7*$D11,$C$7*$F7)),"")
 
Upvote 0
Try this,

Code:
=IF(AND(ISBLANK(A11),$E$7>=0.4,$E$7<1),$C$7*$D11,IF(AND(ISBLANK(A11),$E$7>1),$C$7*$F$7,$C$7*$F$7))

Nested IF formula. Just tested on my end. Should work for you.
 
Upvote 0
=IF(A11="","",IF(AND(E7>0.4,E7<1), "formula1", "formula2"))
 
Upvote 0

Forum statistics

Threads
1,223,910
Messages
6,175,318
Members
452,634
Latest member
cpostell

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