Exclude grand total from pivot table conditional formatting

JZ44

New Member
Joined
Apr 23, 2012
Messages
13
Hi Everyone,

I'm sure this is easy I just haven't figured it out yet. I've got actual and budget margin data as columns in a pivot table with a number of product lines as rows and a calculated field showing which product lines are ahead and behind their individual budgets. I've setup a 3-color scale conditional format with green, no color and red which is highlighting results in the column based on far over or under budget they were with 0 as the mid-point. I also setup the formatting to be dynamic so that when other fields (customer, sales person, etc.) are added to the pivot table the formatting will work in the new column.

My issue is that the grand totals are being included in the compare and formatting, so if I have 4 product lines that add up to $1,000,000 over budget the grand total will be bright green as if it was the most over budget product line and the other numbers will be closer to no color or red based on the million instead of each other. How can I get my conditional format in the pivot table to be both dynamic like it is now, and to ignore the grand total?

Hopefully this makes sense.

Currently
Product LineBudgetActualDifference
A250,000100,000(150,000)
B250,000500,000250,000
C250,0001,000,000750,000
D250,000400,000150,000
Grand1,000,0002,000,0001,000,000

<tbody>
</tbody>

Want to be
Product LineBudgetActualDifference
A250,000100,000(150,000)
B250,000500,000250,000
C250,0001,000,000750,000
D250,000400,000150,000
Grand1,000,0002,000,0001,000,000

<tbody>
</tbody>

<tbody>
</tbody>




Thanks!
JZ
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"

Forum statistics

Threads
1,215,802
Messages
6,126,986
Members
449,351
Latest member
Sylvine

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