Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hello,
I have two long lists (same template) I need to compare cell to cell (on the same row) to find any differences. It there an easy way to compare the two lists and have the system to highlight the cells that are different? Again note that the comparison is between cells similarly positioned in the two lists. Thanks, Elena |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Assuming your lists are in columns A and B, you can put this formula in
column C (assuming first entry is on row 2), and copy/fill it down the sheet: =IF(A2<B2,"NOT EQUAL","") Or, you can do it with conditional formatting: Select all of the cells in the 2nd column. Choose Format -- Cells -- Conditional formatting Choose Cell Value Is and "not equal to" and then move to the last entry area and click on the topmost cell in the first column (as A2). Now, Excel is going to enter a formula in that last entry area like =$A$2. Click right next to that 2nd $ symbol and delete it so that the formula looks like =$A2. Then use the [Format] button to set special formatting and click the [OK] buttons to exit the tool. Cells in the 2nd column that are not equal to the one on the same row in the first column will take on the special format you chose. "ez" wrote: Hello, I have two long lists (same template) I need to compare cell to cell (on the same row) to find any differences. It there an easy way to compare the two lists and have the system to highlight the cells that are different? Again note that the comparison is between cells similarly positioned in the two lists. Thanks, Elena |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I used the conditional formatting and it is not working. When I click ok, all
cells on the second column are turning yellow (formatting I selected) even if the cell value is the same. Any suggestion? "JLatham" wrote: Assuming your lists are in columns A and B, you can put this formula in column C (assuming first entry is on row 2), and copy/fill it down the sheet: =IF(A2<B2,"NOT EQUAL","") Or, you can do it with conditional formatting: Select all of the cells in the 2nd column. Choose Format -- Cells -- Conditional formatting Choose Cell Value Is and "not equal to" and then move to the last entry area and click on the topmost cell in the first column (as A2). Now, Excel is going to enter a formula in that last entry area like =$A$2. Click right next to that 2nd $ symbol and delete it so that the formula looks like =$A2. Then use the [Format] button to set special formatting and click the [OK] buttons to exit the tool. Cells in the 2nd column that are not equal to the one on the same row in the first column will take on the special format you chose. "ez" wrote: Hello, I have two long lists (same template) I need to compare cell to cell (on the same row) to find any differences. It there an easy way to compare the two lists and have the system to highlight the cells that are different? Again note that the comparison is between cells similarly positioned in the two lists. Thanks, Elena |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Say if you are comparing Columns A and B
1. Select both Columns 2. From menu FormatConditional Formatting 3. For Condition1Select 'Formula Is' and enter the below formula =$A1<$B1 4. Click Format ButtonPattern and select your color (say Red) 5. Hit OK If this post helps click Yes --------------- Jacob Skaria "ez" wrote: Hello, I have two long lists (same template) I need to compare cell to cell (on the same row) to find any differences. It there an easy way to compare the two lists and have the system to highlight the cells that are different? Again note that the comparison is between cells similarly positioned in the two lists. Thanks, Elena |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Well, either you got something wrong or inn some fashion they're not actually
equal (such as comparing numbers formatted as text to real numbers). You might remove the conditional formatting I provided and try using the formula that Jacob Skaria has provided instead and see if the results are any different. It should pretty much be the same thing, just expressed a different way. "ez" wrote: I used the conditional formatting and it is not working. When I click ok, all cells on the second column are turning yellow (formatting I selected) even if the cell value is the same. Any suggestion? "JLatham" wrote: Assuming your lists are in columns A and B, you can put this formula in column C (assuming first entry is on row 2), and copy/fill it down the sheet: =IF(A2<B2,"NOT EQUAL","") Or, you can do it with conditional formatting: Select all of the cells in the 2nd column. Choose Format -- Cells -- Conditional formatting Choose Cell Value Is and "not equal to" and then move to the last entry area and click on the topmost cell in the first column (as A2). Now, Excel is going to enter a formula in that last entry area like =$A$2. Click right next to that 2nd $ symbol and delete it so that the formula looks like =$A2. Then use the [Format] button to set special formatting and click the [OK] buttons to exit the tool. Cells in the 2nd column that are not equal to the one on the same row in the first column will take on the special format you chose. "ez" wrote: Hello, I have two long lists (same template) I need to compare cell to cell (on the same row) to find any differences. It there an easy way to compare the two lists and have the system to highlight the cells that are different? Again note that the comparison is between cells similarly positioned in the two lists. Thanks, Elena |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thank you Jacob! It took a little bit of editing but it worked. :)
"Jacob Skaria" wrote: Say if you are comparing Columns A and B 1. Select both Columns 2. From menu FormatConditional Formatting 3. For Condition1Select 'Formula Is' and enter the below formula =$A1<$B1 4. Click Format ButtonPattern and select your color (say Red) 5. Hit OK If this post helps click Yes --------------- Jacob Skaria "ez" wrote: Hello, I have two long lists (same template) I need to compare cell to cell (on the same row) to find any differences. It there an easy way to compare the two lists and have the system to highlight the cells that are different? Again note that the comparison is between cells similarly positioned in the two lists. Thanks, Elena |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Compare data in 2 workbooks and highlight differences in red | Excel Worksheet Functions | |||
highlight row differences | Excel Discussion (Misc queries) | |||
Compare two Cells and highlight third cell | Excel Worksheet Functions | |||
How do I compare 2 sets of data and highlight differences? | Excel Worksheet Functions | |||
Compare cells/columns and highlight matching text strings | Excel Worksheet Functions |