Solved

Compare data in pivots

Posted on 2012-03-12
7
229 Views
Last Modified: 2012-06-21
Hi,

I have attached a ss with two pivots that i need to compare on a daily basis.

The books and isin will change ever day, so the number of rows and columns will change in both pivots (Pivot & Sophis Pivot)

The aim of the comparison is to highlight in green any matching data from Sophis Pivot into Pivot.

I have highlighed green some of the matches and red some of the no matches.

Is it possible to run some code that could run through the pivots and identify the matches highlight green and then identify the non matches and highlight red?

All zeros would be ignored.

Thanks
Seamus.
ParisMatch.zip
0
Comment
Question by:Seamus2626
  • 4
  • 3
7 Comments
 
LVL 12

Expert Comment

by:sdwalker
ID: 37709718
I think this does exactly what you want.  Please let me know if you have questions about how it works.  I tried to document it in the code.

Thanks,

sdwalker
0
 

Author Comment

by:Seamus2626
ID: 37709726
Think you forgot the attachment :-)

Thanks
Seamus
0
 
LVL 12

Expert Comment

by:sdwalker
ID: 37709916
Yep - my bad.  Browsed to it, but forgot to click the "Attach" button.
sdwParisMatch.xls
0
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 
LVL 12

Expert Comment

by:sdwalker
ID: 37709923
Oops - Should have zipped it.
0
 

Author Comment

by:Seamus2626
ID: 37709950
Looks really good Sid, however there are some lines it is missing

e.g.

row 62, 51, 40, 12

The whole row should be red if there is no matching Isin in "Pivot"

Can you add a line of code for that?

Thanks
Seamus
0
 
LVL 12

Accepted Solution

by:
sdwalker earned 500 total points
ID: 37709978
0
 

Author Closing Comment

by:Seamus2626
ID: 37710003
Legend, thanks Sid.

Im going repost with an adjustment in a few mins as i have slight amendment to make but its a new question.

Thanks
Seamus
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question