If CountIf - Help Displaying Blank Cell

Barteh

Board Regular
Joined
Mar 14, 2003
Messages
93
Hi Guys,
I could really do with some help if possible, I have a cell that looks up a column any will display "Complete" when all other cells in column K are "Complete" or "Outstanding" when any other cells in column K contain Outstanding.
What I'd like to do is for this cell not to display ANY text if column K is is empty and doesnt contain any text.

The formula I have is;

Code:
=IF(COUNTIF('Document Request'!K10:K40,"Outstanding")<=0, "Complete", " Outstanding")

Can anyone offer any suggestions?
Thanks in advance.
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Is this what you are looking for?
Code:
=IF(COUNTBLANK([COLOR=#333333]'Document Request'![/COLOR]K10:K40)=31,"",IF(COUNTIF([COLOR=#333333]'Document Request'![/COLOR]K10:K40,"Outstanding")>0,"Outstanding",IF(COUNTIF([COLOR=#333333]'Document Request'![/COLOR]K10:K40,"Complete")=31,"Complete","No conditions met")))
Basically, what this does is the following:
1. If all cells in K10:K40 are blank, it returns nothing
2. If any cells in K10:K40 say "Oustanding", it returns "Outstanding"
3. If all cells in K10:K40 are "Complete", it returns "Complete"
4. Otherwise, it returns "No conditions met".

You did not specify what happens if the cells are a mixture of blanks and "Complete", so condition 4 would be met.
 
Upvote 0
Close enough for me, thank for you very much for your time on a Friday evening. Very kind of you.
 
Upvote 0
You are welcome. Glad it works for you!
:)
 
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