Compare/Contrast Two Tables of Data

AJKim94

New Member
Joined
Jul 30, 2014
Messages
2
Hi All,

I have two tables of data that I would like to compare & contrast. The data in table1 and table2 consists of three colums: date, player ID and score.

For every date and player ID in table1, I would like to highlight the scores in green that match the score for the corresponding date and player ID in table2. Additionally, for every date and player ID in table1, I would like to highlight the scores in red that do not match the score for the corresponding date and playerID in table2. All non corresponding data can be left alone.


First I started with making a pivot table for each set of data and trying to conditional format between the two to achieve the desired result in pivot table format. However, I ran into trouble because table1 and table2 do not have the same amount of columns and rows.

I imagine this could be done without VBA, but I am not too sure and quite stuck. I am flexible and very much open to a VBA solution nonetheless.

Any recommendations on how I may proceed?

Thank you!
AjKim
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.

Forum statistics

Threads
1,214,827
Messages
6,121,818
Members
449,049
Latest member
cybersurfer5000

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top