Highlighting all the blank fields

dankar

Board Regular
Joined
Mar 23, 2016
Messages
113
Office Version
  1. 365
Platform
  1. Windows
Hi All,

I have a table with columns from A = O
I want to highlight in yellow all the fields that have blank cells from column G to M.


what is the best way to do it? thank you
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Select cols G:M > Home tab > Conditional format > new rule > =G1="" > select the format > ok
 
Upvote 0
Thanks for your reply..

it didn't work with me.

FYI,I tried to find & select>Go to special> Blank and the result was: no cells were found although there a lot of blank cells.
 
Upvote 0
That suggests that your cells aren't actually blank.
Do you have formulae in those cells returning "" ?
If not in an unused cell try =len(A1) where A1 is one of your "Blank" cells
 
Upvote 0
no Formula in the cells.
when I tried len(G1) TO len(M1) and going down. all the results is 0
 
Upvote 0
Try running this & then see what happens
Code:
Sub DelNullString()
   Range("G:M").Value = Range("G:M").Value
End Sub
 
Upvote 0

Forum statistics

Threads
1,214,954
Messages
6,122,462
Members
449,085
Latest member
ExcelError

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