Conditional Formatting - Checking if Cells are Equal

alavinthal

New Member
Joined
Mar 13, 2011
Messages
2
I am trying to create conditional formatting to ascertain whether values in one table (Table 1) are different from another identically formatted table above it (Table 2) (so each cell in Table 1 has a corresponding cell in Table 2).

If the value in a cell in Table 1 is different from its corresponding cell in Table 2, the cell should highlight in red.

Every cell's corresponding cell is the same distance away.

I tried to put in a conditional formatting for <>C5 (C5 being the first cell in Table 2), which works, but this breaks and turns to #REF every time i save and re-open the document.

Help?
 

Some videos you may like

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.

wigi

Well-known Member
Joined
Jul 10, 2006
Messages
7,958
Office Version
  1. 365
Platform
  1. Windows
  2. Mobile
  3. Web
What ranges do you use, and what is the exact condition in your conditional formatting rule?
 

AhoyNC

Well-known Member
Joined
Oct 10, 2011
Messages
4,749
Office Version
  1. 365
Platform
  1. Windows
Something like this?

List 1 conditional formatting
=A2 < > A11
List 2 conditional formatting
=A11 < > A2

Remove the spaces from the < & > in the above.
Also change cell range to where your data is.
Excel Workbook
A
1List 1
2Name1
3Name2
4Name3
5Name4
6Name5
7Name8
8
9
10List 2
11Name1
12Name2
13Name7
14Name4
15Name5
16Name6
Sheet
 

Watch MrExcel Video

Forum statistics

Threads
1,127,463
Messages
5,624,877
Members
416,064
Latest member
PaulBr2

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
Top