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

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
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,215,338
Messages
6,124,346
Members
449,155
Latest member
ravioli44

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