Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
revm2
 
Posts: n/a
Default Pivot Table row comparison

I'm trying to compare an old customer schedule with their new schedule
and highlight the changes with colour or by hiding a row. My pivot
table looks like this

Prod Sched wk1 wk2 wk3
A old 3 2 3
A new 3 4 3
B old 2 2 2
B new 2 2 2

So in the above example I'd like to colour the cells for wk2- Product A
in yellow, and hide the product B rows as there has been no change in
demand.

Can someone give me some advice about how to do this
Thanks for your help
Ross

  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default Pivot Table row comparison

How about an alternative???

Your raw data looks kind of like this:

Prod Sched wk# qty

I'd insert a new helper quantity:

Prod Sched wk# qty AdjQty

Under that adjqty, you'd have a formula like:

=if(c2="new",d2,-d2)

(negative numbers if the schedule was old)

Then create a pivottable that just shows the difference.

Prod Wk1 wk2
A 3 0
B -5 5
....

What do you think?

revm2 wrote:

I'm trying to compare an old customer schedule with their new schedule
and highlight the changes with colour or by hiding a row. My pivot
table looks like this

Prod Sched wk1 wk2 wk3
A old 3 2 3
A new 3 4 3
B old 2 2 2
B new 2 2 2

So in the above example I'd like to colour the cells for wk2- Product A
in yellow, and hide the product B rows as there has been no change in
demand.

Can someone give me some advice about how to do this
Thanks for your help
Ross


--

Dave Peterson
  #3   Report Post  
revm2
 
Posts: n/a
Default Pivot Table row comparison

Wow, never thought of that.

Thanks for the suggestion Dave, I've given it a go and it's helpful
(nice and quick) but not ideal as I need to display totals so we can
judge if we can physically make the quantity.

I'm currently trying to do what i want in VBA by cycling through every
row and comparing each weeks quantity. If they don't match I highlight
the cells in yellow. Not got it working yet but I still think there
must be a better way.

Thanks anyway,
r

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
updating pivot table to include additional rows Ellen Excel Discussion (Misc queries) 8 July 15th 08 01:33 PM
pivot table created from another pivot table Kreed Excel Worksheet Functions 6 October 26th 05 04:16 PM
Change Data In Pivot Table John Calder New Users to Excel 1 July 7th 05 10:41 PM
Pivot table, dynamic data formula Excel GuRu Excel Discussion (Misc queries) 3 May 3rd 05 10:45 PM
Pivot Table Problems Rachel Gonsior Excel Discussion (Misc queries) 3 March 21st 05 07:24 PM


All times are GMT +1. The time now is 06:48 PM.

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"