Help with conditional formatting using a pivot table with dynamic ranges

SCPbrito

Board Regular
Joined
Aug 1, 2024
Messages
61
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: 2

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
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,224,813
Messages
6,181,117
Members
453,021
Latest member
Justyna P

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