IF/AND Criteria is Blank, Give me "Blank"

tbesh

New Member
Joined
Sep 6, 2015
Messages
2
I have a workbook where people regularly populate if they have done a task for that week or not. I'm building a "compliance" sheet that will capture the overall % of completed tasks.

The trouble is getting the blank cells to produce the word "Blank". I DO NOT want the number zero produced for blank cells, as this will throw the conditional formatting off.

For example:

{=IF(AND($G$2:$G$93="*Annually*",$M$2:$M$93=""),"Blank",[COUNTIFS funtion])}

Where the frequency is "Annually" AND the completion status is "" (blank), give me "BLANK", otherwise give me the results of this COUNTIF function:

=(COUNTIFS($G$2:$G$93,"*Annually*",$M$2:$M$93,"*YES*")/COUNTIFS($G$2:$G$93,"*Annually*",$M$2:$M$93,"<>N/A"))

The result I get from the IF/AND funtion is "FALSE" (even if the combination is true).
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Ok (I tried to paste or insert from excel with no luck):

Frequency: Completed:
Annually NO

If "Completed" is left blank, give "Blank".

On a separate sheet there's conditional formating for complaice (RED if less than 69%). If there is a value of zero, then the "Blank" celss will produce RED in the conditionally formatted cells.

I hope that helps!
 
Upvote 0

Forum statistics

Threads
1,215,425
Messages
6,124,825
Members
449,190
Latest member
rscraig11

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