NOT(ISBLANK) Issues

Austin Lang

Board Regular
Joined
Sep 10, 2021
Messages
51
Office Version
  1. 365
  2. 2021
  3. 2019
Platform
  1. Windows
Hello all,

I have created this piece of work and seem to have an issue..

=IF(ISBLANK(A5),"",IF(C5="Rinsed","Rinsed",IF(AND(NOT(ISBLANK(R5)))*AND(NOT(ISBLANK(S5)))*AND(NOT(ISBLANK(T5)))*AND(NOT(ISBLANK(V5)))*AND(NOT(ISBLANK(AK5)))*AND(NOT(ISBLANK(AN5))),"Pass","Fail")))

What I am looking for is if all of the specified cells are not blank, then show "Pass". If not, then show "Fail". The formula works beautifully as long as the cells are empty. The issue I have found is that the cells that this is referencing all have a separate formula in them. All of those formulas do have something along the lines of "IF(ISBLANK(A5),""..." All of the cells default to show nothing until someone enters something in the cell and overrides the formula. ISBLANK is recognizing the formulas in these cells and not allowing the formula to work properly. If I remove all of the formulas from the referenced cells, then it works flawlessly. Anybody have an idea on how to go about fixed this? Is there something other than ISBLANK that would work? Would COUNTA be better?
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Perhaps
Excel Formula:
=IF(COUNTBLANK(A5),"",IF(C5="Rinsed","Rinsed",IF(AND(COUNTBLANK(R5:T5)=0,COUNTBLANK(V5)=0,COUNTBLANK(AK5)=0,COUNTBLANK(AN5)=0),"Pass","Fail")))
 
Upvote 0
Solution
Perhaps
Excel Formula:
=IF(COUNTBLANK(A5),"",IF(C5="Rinsed","Rinsed",IF(AND(COUNTBLANK(R5:T5)=0,COUNTBLANK(V5)=0,COUNTBLANK(AK5)=0,COUNTBLANK(AN5)=0),"Pass","Fail")))

That works! Thank you.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,176
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