Way to highlight header of column if negative value found

Serafin54

Board Regular
Joined
Apr 11, 2014
Messages
137
Office Version
  1. 2016
Platform
  1. Windows
Hello,

Is there a way to highlight a column header to flag the user that a negative value has been found in that column?

I know you can highlight the cell containing the value itself then filter but some spreadsheets can span 100 columns and 1000's of rows so it's a tedious task to filter for color on each. There are times when there aren't any negative values at all so it's a hunt each time.

In each spreadsheet the header would be in Row 1 but as i said, column count does vary depending on the situation.

Any suggestions are greatly appreciated.
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
77,771
Office Version
  1. 365
Platform
  1. Windows
You can use conditional formatting, select the header row & use this formula
Excel Formula:
=COUNTIFS(A:A,"<0")
 
Solution

Serafin54

Board Regular
Joined
Apr 11, 2014
Messages
137
Office Version
  1. 2016
Platform
  1. Windows
Yep. that will do it. Thanks Fluff.
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
77,771
Office Version
  1. 365
Platform
  1. Windows
You're welcome & thanks for the feedback.
 

Forum statistics

Threads
1,176,278
Messages
5,902,299
Members
434,960
Latest member
Hussain_0929

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
Top