Compare two tables and highlight differences

ryansousa

New Member
Joined
Oct 18, 2016
Messages
2
I would like to use conditional formatting to compare cell to cell in these two tables and highlight differences:

  • green color when TABLE 1's cell is greater than corresponding cell in TABLE 2
  • orange color when TABLE 1's cell is less than its respective cell in TABLE 2
  • no color when corresponding cells are equal
How could I achieve that? :)

XLS to download

For now I colored it myself so you can see the desired result:

wRoZqGz.png
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
this site is being reported as containing malware/virus
can you use dropbox or onedrive

otherwise you setup rules

select the range
and then
Table1cell > table2cell - format green
formula should do it for you
2nd rule
Table1cell < table2cell - format orange

and do you also want table 2 coloured ?
in which case you would select table 2
and setup 2 rules
Table1cell < table2cell - format green
Table1cell > table2cell - format orange
 
Upvote 0
this site is being reported as containing malware/virus
can you use dropbox or onedrive

otherwise you setup rules

select the range
and then
Table1cell > table2cell - format green
formula should do it for you
2nd rule
Table1cell < table2cell - format orange

and do you also want table 2 coloured ?
in which case you would select table 2
and setup 2 rules
Table1cell < table2cell - format green
Table1cell > table2cell - format orange

The site is reporting OK, though warnings that some hosted files may be malware infected (caveat emptor)
 
Upvote 0

Forum statistics

Threads
1,215,963
Messages
6,127,954
Members
449,412
Latest member
montand

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