Conditional formatting PivotTable based on Pivot fields and values

megera716

Board Regular
Joined
Jan 3, 2013
Messages
140
Office Version
  1. 365
Platform
  1. Windows
I have a table of income reported by each of our locations by date and we indicate if it's been Deposited or is Uncollected,then I have a PivotTable summarizing this info, grouped by location.

I want to highlight if there is a value/an amount greater than $0 in the Uncollected Amount column if the date it was recorded is more than 1 day ago.

I wrote this formula in Conditional Formatting but it's not working. The circled numbers should be highlighted because 11/1/2021 is more than 1 day ago.
=and(J4<TODAY()-1,K4>0)

Screenshot 2021-11-03 114240.png



I've tried removing the absolute reference on the applies to ($K$4) or just saying applies to "Selected Cells" but it always puts it back.

Screenshot 2021-11-03 114622.png
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.

Forum statistics

Threads
1,215,219
Messages
6,123,687
Members
449,117
Latest member
Aaagu

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