Highlight empty columns in table

jewsbur0

New Member
Joined
Oct 19, 2016
Messages
4
Hello all,

I am trying to figure out a way of highlighting columns that don't contain any data in excel. As a example below, how would I be able to highlight the fact the Job column so it shows this column has no data. Tried with a Pivot and conditional formatting but no luck :(

On a small scale this would be easy, but I have 350 columns to check.

Cheers!


[TABLE="width: 500"]
<tbody>[TR]
[TD]Name[/TD]
[TD]Colour[/TD]
[TD]Job[/TD]
[TD]Animal[/TD]
[TD]Age[/TD]
[/TR]
[TR]
[TD]Tom[/TD]
[TD]Blue[/TD]
[TD][/TD]
[TD]Horse[/TD]
[TD]101[/TD]
[/TR]
[TR]
[TD]Barack[/TD]
[TD][/TD]
[TD][/TD]
[TD]Cat[/TD]
[TD]81[/TD]
[/TR]
[TR]
[TD]Lynn[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]95[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
jewsbur0, Good morning.

Conditional formatting can to this for you.

Select columns that you want to apply this rule.
Eg. A1:ML1000 (350 COLUMNS)

Menu Conditional Format --> Using formula -->

Type: -->
Code:
=COUNTA(A$2:A$1000)=0
Choose Fill color as desired. --> OK

If you prefer instead of selecting initially the range you can use the APPLY TO field at final of Conditional Format, and type:
Code:
=$A$2:$ML$1000

Is that what you want?

I hope it helps.
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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