Conditional Formatting Pivot Table Data

ajwooden32

New Member
Joined
Feb 5, 2024
Messages
15
Office Version
  1. 365
Platform
  1. Windows
Below is an image of my pivot table with the rows between columns D-G filled in manually. I should mention this data extends down pass row 100 already, I'm just providing a small sample.

I would like to automate this process as data is added to or removed from this pivot table.

Is there a way to do this with conditional formatting or another way?

Thanks in advance!!!

1714166194008.png
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
I would like to automate this process as data is added to or removed from this pivot table.

Is there a way to do this with conditional formatting or another way?
What exactly you want to achieve is not clear. Can you explain it better...
 
Upvote 0
To shade alternate rows Select Columns D:G and use following function(s) Conditional Format

Odd Rows
Excel Formula:
=ISODD(ROW($D1))

Even Rows
Excel Formula:
=ISEVEN(ROW($D1))

But my thought is Pivot Tables have in-built Formats to do so. Better Try them.
 
Upvote 0
To shade alternate rows Select Columns D:G and use following function(s) Conditional Format

Odd Rows
Excel Formula:
=ISODD(ROW($D1))

Even Rows
Excel Formula:
=ISEVEN(ROW($D1))

But my thought is Pivot Tables have in-built Formats to do so. Better Try them.
An Add on -

I generally add one more condition while Conditional Format as below -

Excel Formula:
=And(D1<>"",ISODD(ROW($D1)))

This way it only shades cells with value in it and with entire column(s) under rule, Conditional Format keeps growing with growing rows. No need to re-address rules over and over again.
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,853
Members
452,361
Latest member
d3ad3y3

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