Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Compare data in pivots

Posted on 2012-03-12
7
Medium Priority
?
236 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
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 2000 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
Windows Explorer lets you open cabinet (cab) files like any other folder. In VBA you can easily handle normal files and folders, but opening and indeed creating cabinet files takes a lot more - and that's you'll find here.
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.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

963 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