Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Compare data in pivots

Posted on 2012-03-12
7
Medium Priority
?
235 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 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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

Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

705 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