Conditional formatting - Formula is changing the Table header color from the standard blue color to one of the below formatting colors

DennisYoung

New Member
Joined
Jun 27, 2022
Messages
15
Office Version
  1. 2021
  2. 2016
Platform
  1. Windows
This is happening when there are only 2 records returned, if the refresh returns more records, then the table header color is correct (Blue)

Formatting1.jpg


Formatting2.jpg


Formatting3.jpg


My format values starting off are =AND(E10="",F10="") and the Applies to is =$E$10 and the conditional formatting it backround color Yellow (First Image)

But when I run it and there are only 2 records to return the format value changes to =AND(E9="",F9="") and the Applies to is =$E$9:$E$11 (Second Image)

When more than 2 records are returned the format value stays at =AND(E10="",F10="") and the Applies to is =$E$10:$E$31 (Third Image) and everything is how it should be

Has anyone seen this before when using conditional formatting or know a way to make it start at row 10 and not change row 9 (Table header row)

The goal is to change just color the cells that meet the criteria and not the header rows
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.

Forum statistics

Threads
1,225,739
Messages
6,186,746
Members
453,370
Latest member
juliewar

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