Pivot Table with Conditional Formatting

aspeed

New Member
Joined
Oct 20, 2021
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hi
I've created a pivot (Pivot) from a data table (Data), but I want to add conditional formatting to highlight my data with a fill colour. The data is looking at 1to1 training sessions people have on certain dates. Each person has up to 3 sessions, and their sessions can be in Status (1) - Booked, Status (2) - Completed, Status (3) - Cancelled

Data: you can see from the screenshot all fields are added to the Pivot but NOT status
Pivot: I'd like to colour fill the dates I've added to pivottable Values depending if Status is 1, 2 or 3.

I've tried with conditional formatting but I can't get a formula to work, so I'm guessing VBA is the way forward.

The data updates monthly so the pivot will need to refresh also to reflect the data changing

thanks in advance
Alex
 

Attachments

  • Data.JPG
    Data.JPG
    43.2 KB · Views: 6
  • Pivot.JPG
    Pivot.JPG
    35.6 KB · Views: 6

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,152,392
Messages
5,769,816
Members
425,574
Latest member
grimeslisa

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