How to add ISBLANK argument to an existing IF(AND) formula

Clouded

New Member
Joined
Jun 24, 2023
Messages
3
Office Version
  1. 2016
Platform
  1. Windows
Hi Guys
Have tried numerous suggestions online and YouTube to get this to work but no joy trying to use IF(ISBLANK etc.

I have a worksheet where cell I17 ( down to cell I47) contains an IF(AND(..... formula that returns Pass or Fail depending on the values that are entered into cells C17, E17 And G17:

=IF(AND(C17>=$E$13,C17<=$H$13,E17>=$E$14,E17<=$H$14,G17="no"),"Pass","Fail")

This works fine and returns Pass or Fail as I want. As per the formula though, cell I17 - I47 display Fail when the three reference sells it refers to are empty. I would like to amend the formula so cells I17 to I47 remain empty until values are actually entered into their corresponding three reference cells.

Thank you in advance for any help you can provide.

Cheers
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Maybe this way
Excel Formula:
=IF(OR(C17="",E17="",G17=""),"",IF(AND(C17>=$E$13,C17<=$H$13,E17>=$E$14,E17<=$H$14,G17="no"),"Pass","Fail"))
 
Upvote 0
Maybe this way
Excel Formula:
=IF(OR(C17="",E17="",G17=""),"",IF(AND(C17>=$E$13,C17<=$H$13,E17>=$E$14,E17<=$H$14,G17="no"),"Pass","Fail"))
Hi Michael
Fantastic thank you very much works a treat.

Cheers
Brett
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,325
Members
452,635
Latest member
laura12345

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