Solved

Compare data in pivots

Posted on 2012-03-12
7
231 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Technology Partners: 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!

 
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

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.

Question has a verified solution.

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

Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

762 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