Conditional formatting formula to highlight a row that contains all empty cell

nsa1

New Member
Joined
Jul 11, 2023
Messages
39
Office Version
  1. 2010
Hello,

How to set Conditional Formatting and use formula to have excel highlight a row of certain cells in a row have all blank values.

thanks,
NA
 

Attachments

  • Highlight.png
    Highlight.png
    24.7 KB · Views: 11

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Try:

Dante Amor
ABCD
1valuevaluevalue
2u
3v1
4w1
5x1
6y
7z111
Hoja5
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B2:D7Expression=COUNTA($B2:$D2)=0textNO



Please don't forget the feedback in this thread:

🫡
 
Upvote 0
Try:

Dante Amor
ABCD
1valuevaluevalue
2u
3v1
4w1
5x1
6y
7z111
Hoja5
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B2:D7Expression=COUNTA($B2:$D2)=0textNO



Please don't forget the feedback in this thread:

🫡
Thanks!
 
Upvote 0
I tried and worked in the example spreadsheet. But, somehow the same setup in my original spreadsheet...it does not work? There is no difference...only difference is that there is a text and not number in the cell. I want to highlight a cell from B2:B7 if all cell in the rows are empty
 
Upvote 0
I tried and worked in the example spreadsheet. But, somehow the same setup in my original spreadsheet...it does not work? There is no difference...only difference is that there is a text and not number in the cell. I want to highlight a cell from B2:B7 if all cell in the rows are empty
maybe you can post a sample of your data using the xl2bb add in (link below) so we can see what you are working with?
Thanks in advance.
 
Upvote 0
I can't install xl2bb for me to upload mini-sheet. I tried to follow steps to install it but can't find any add ins that is xl2bb. I can't download anything from outside
 
Upvote 0
But, somehow the same setup in my original spreadsheet...it does not work? There is no difference...only difference is that there is a text and not number in the cell.

Do you have formulas in cells?
Try the following formula:
Excel Formula:
=COUNTIF($B2:$D2,"")=3

Dante Amor
ABCD
1valuevaluevalue
2u   
3vx  
4w  x
5xd   
6y x 
7zxxx
Hoja5
Cell Formulas
RangeFormula
B2:D7B2=IF(E2="","","x")
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B2:D7Expression=COUNTIF($B2:$D2,"")=3textNO


I share my file with the 2 options so that you can see how you should put the conditional format.
conditional format count



🫡
 
Upvote 0
Same problem it highlights all of them. Yes, those Col B to C have other formatted rules that will highlight them in some color and text in white based on the last character.
 

Attachments

  • Highlight.png
    Highlight.png
    68.5 KB · Views: 6
  • Highlight2.png
    Highlight2.png
    40.5 KB · Views: 6
Upvote 0
But you must be specific with what you need.

In your image of the initial post you have 3 cells to verify.
That's why the formula in post #7 says equal to 3
Excel Formula:
=COUNTIF($B2:$D2,"")=3

But now your image has 7 cells.
So the formula should be:
Excel Formula:
=COUNTIF($B2:$D2,"")=7

But if you only come here with "it does not work... Same problem" it's not much help.

You must expose from the beginning what you have in your cells and what you have on your sheet with clear and real examples, in this way we will provide you with solutions according to your problem, otherwise we will be going around and you will always have problems with our solutions.

:cool:
 
Upvote 0
Solution
Thanks...I just didn't understand the countif function output well..it counts # of blanks ""...so use 7...got it...it worked!
 
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