Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Conditional Formatting in Pivot Tables

Hi,

I need to colour individual cells in the data area of a
Pivot Table.

Design:

The product attributes are in two tables - a table of
columns which provides product details and a related
table of date/number value/promotion code relating to the
product details combination.

The product combinations are in the Pivottable rows, the
dates are in the column area and the summed number values
in the data area.

I want to set the background colour of each data field
based upon whether the sum of the promotion codes per
data field is 0 - but I do not want to show the
contents of the promotion code field.

I understand that GETPIVOTDATA needs the promotion field
to be visible.

Is there a way this be done with or without using VBA?

Thanks for helping in advance.

Colin

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 109
Default Conditional Formatting in Pivot Tables

Have you tried Conditional Formatting cells ? (Format/Conditional Formatting).


Regards
BrianB
==============================================


"Colin Morgan" wrote in message ...
Hi,

I need to colour individual cells in the data area of a
Pivot Table.

Design:

The product attributes are in two tables - a table of
columns which provides product details and a related
table of date/number value/promotion code relating to the
product details combination.

The product combinations are in the Pivottable rows, the
dates are in the column area and the summed number values
in the data area.

I want to set the background colour of each data field
based upon whether the sum of the promotion codes per
data field is 0 - but I do not want to show the
contents of the promotion code field.

I understand that GETPIVOTDATA needs the promotion field
to be visible.

Is there a way this be done with or without using VBA?

Thanks for helping in advance.

Colin

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Conditional Formatting in Pivot Tables



Hi Brian,

Thanks for helping.

I tried that and gave up after a couple of hours as I'm confused about
how to access the value in a data cell.

Tried playing with the conditional formatting on cell value (but the
cell value is volume not promo value) and formula with GETPIVOTDATA
function, but the MS technote says that it can only access visible
fields. I do not want to see the promo value field in the pivottable as
it will make the table very messy. I just want to change the colour of
the cell based on a value of the sum 0.

Any ideas?

Thanks again

Colin

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Conditional formatting and pivot tables figdatbong Excel Discussion (Misc queries) 2 March 2nd 09 03:59 PM
Conditional Formatting in Pivot tables Natty[_2_] Excel Worksheet Functions 0 July 30th 08 02:55 PM
Pivot Tables & Conditional Formatting jbird Excel Worksheet Functions 2 July 4th 08 02:06 PM
Conditional Formatting and pivot tables. Phil Smith Excel Discussion (Misc queries) 1 July 20th 07 06:45 PM
Conditional formatting in pivot tables? MLK Excel Discussion (Misc queries) 4 June 11th 07 12:49 AM


All times are GMT +1. The time now is 12:03 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"