Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I need to compare cells 2 columns and return a value if different.
e.g. A1: 2002 B:2002 A2: 2002 B:2003 A3: 2002 B:2002 Need to identify row 2 is different (with an x and a color?) I have about 1000 rows to compare. I tried some of the formulas listed in this section e.g. =if(countif(a:a,a25)1,a25,"") but didn't return what i wanted. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Paste this formula in C1 cell
=IF(A1=B1,"Both Are Same","Mismatch") Now copy the C1 cell and paste it to the remaining cells of C Column depends upon your A & B Column Data. For Applying the Conditional Formatting Place the Cursor in A1 cell and hit Cntrl+Spacebar now the Total A Column will be selected and extend your selection to B Column by holding Shift + Right Arrow and you can notice that the A1 will have the White Background after selection also. Now goto FormatConditional FormattingFormula Is Paste the below formula =$A1<$B1 Click Format and set the desired Font colour and background as per your desired give Ok and Hit Ok once Again. Thats It! Remember to Click Yes, if this post helps! -------------------- (Ms-Exl-Learner) -------------------- "lputnam" wrote: I need to compare cells 2 columns and return a value if different. e.g. A1: 2002 B:2002 A2: 2002 B:2003 A3: 2002 B:2002 Need to identify row 2 is different (with an x and a color?) I have about 1000 rows to compare. I tried some of the formulas listed in this section e.g. =if(countif(a:a,a25)1,a25,"") but didn't return what i wanted. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Conditional Formatting/ Formula is: =A1<B1
Set your desired format Or (to format cell B1), Conditional Formatting/ Cell value is/ Not equal to: =A1 -- David Biddulph "lputnam" wrote in message ... I need to compare cells 2 columns and return a value if different. e.g. A1: 2002 B:2002 A2: 2002 B:2003 A3: 2002 B:2002 Need to identify row 2 is different (with an x and a color?) I have about 1000 rows to compare. I tried some of the formulas listed in this section e.g. =if(countif(a:a,a25)1,a25,"") but didn't return what i wanted. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Comparing 3 Columns | Excel Worksheet Functions | |||
comparing columns | New Users to Excel | |||
Comparing two columns of information with 2 new columns of informa | Excel Discussion (Misc queries) | |||
comparing columns | Excel Worksheet Functions | |||
Comparing 2 columns if they are the same | Excel Worksheet Functions |