PC Review


Reply
Thread Tools Rate Thread

Conditional Formatting in Pivot Table

 
 
=?Utf-8?B?cGV0ZXI=?=
Guest
Posts: n/a
 
      29th Jun 2007
I have created a pivot table in Excel 2007 that sums of dollar and unit sales
for two time periods and then I have created formulas in the pivot table to
calculate average price for the two time periods.

I now want to set up conditional formatting based on the average price for
the whole line. If price on left is higher than the price on the right, make
the font red for the whole row. If the price on the left is lower than the
price on the right, make the font blue for the whole row.

Worked the first time when I set these up, but if I hit refresh, now just
the first column has the conditional formatting and the rest of each row is
back to normal black text. Even if I open and review the conditional
formatting, it still is there, but the only option for now is to not save the
file, close it, and re-open it to see the formatting still.

I chose "Use a formula to determine which cells to format" and have entered
two in it. I have =$AF6<$AG6 for "Format values where this formual is true"
and applies to =$AA$6:$AA$58.

Any help would be greatly appreciated and let me know if there are any
questions.
--
Peter
 
Reply With Quote
 
 
 
 
=?Utf-8?B?cGV0ZXI=?=
Guest
Posts: n/a
 
      29th Jun 2007
I even have updated, but still not resolved problem.

Down below it should applying to =$AA$6:$AG$58, but as soon as I hit refresh
for the pivot table it changes it back to the =$AA$6:$AA$58, which is just
the first column. I tried again in a fresh spreadsheet and still have this
problem. Refresh with Excel 2007 changes what has been defined as applies
to. I tried using relative cell reference and will not allow me to do this.

Again, any help would be appreciated.
--
Peter


"peter" wrote:

> I have created a pivot table in Excel 2007 that sums of dollar and unit sales
> for two time periods and then I have created formulas in the pivot table to
> calculate average price for the two time periods.
>
> I now want to set up conditional formatting based on the average price for
> the whole line. If price on left is higher than the price on the right, make
> the font red for the whole row. If the price on the left is lower than the
> price on the right, make the font blue for the whole row.
>
> Worked the first time when I set these up, but if I hit refresh, now just
> the first column has the conditional formatting and the rest of each row is
> back to normal black text. Even if I open and review the conditional
> formatting, it still is there, but the only option for now is to not save the
> file, close it, and re-open it to see the formatting still.
>
> I chose "Use a formula to determine which cells to format" and have entered
> two in it. I have =$AF6<$AG6 for "Format values where this formual is true"
> and applies to =$AA$6:$AA$58.
>
> Any help would be greatly appreciated and let me know if there are any
> questions.
> --
> Peter

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
conditional formatting in pivot table SJL Microsoft Excel Misc 0 23rd Oct 2008 02:00 PM
Conditional Formatting within a Pivot Table toonice Microsoft Excel Misc 0 16th Jul 2008 12:28 PM
pivot table conditional formatting robski Microsoft Excel Misc 0 13th Mar 2007 09:20 PM
conditional formatting in pivot table =?Utf-8?B?c2hhcmsxMDI=?= Microsoft Excel Misc 1 27th Nov 2006 04:27 PM
Pivot table conditional formatting SD Microsoft Excel Programming 0 30th Sep 2003 08:32 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:52 PM.