Help with conditional formatting using a pivot table with dynamic ranges

SCPbrito

Board Regular
Joined
Aug 1, 2024
Messages
53
Office Version
  1. 365
Platform
  1. Windows
I have a report i need to run every couple of hours that tracks hourly performance. I am trying to use conditional formatting to highlight cells based on their values. I want to highlight any cell < -330 green and any cell greater then 330 in red. i have included a screenshot below of the table. I also want to automate it with a macro. Im not sure how to do that since table will have dynamic range based on what time of day report is run. Any help would be greatly appreciated.
 

Attachments

  • 2024-10-24_10-47-51.png
    2024-10-24_10-47-51.png
    35.5 KB · Views: 1

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
You can apply conditional formatting to value fields in a pivot table:

1729785403383.png


To be clear: don't use the 'Selected cells' option - use one of the other two!
 
Upvote 0

Forum statistics

Threads
1,223,871
Messages
6,175,092
Members
452,612
Latest member
MESTeacher

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