We help IT Professionals succeed at work.

Compare data in pivots

Seamus2626
Seamus2626 asked
on
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
Comment
Watch Question

Commented:
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

Author

Commented:
Think you forgot the attachment :-)

Thanks
Seamus

Commented:
Yep - my bad.  Browsed to it, but forgot to click the "Attach" button.
sdwParisMatch.xls

Commented:
Oops - Should have zipped it.

Author

Commented:
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

Author

Commented:
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

Explore More ContentExplore courses, solutions, and other research materials related to this topic.