Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Compare two columns in excel

Status
Not open for further replies.

fatcodeguy

Programmer
Feb 25, 2002
281
0
0
CA
Does anyone know how to compare 2 columns in Excel ? (just text in the columns)Thanks
 
In the next column enter
=IF(A1=B1,"SAME","DIFFERENT")
and copy down.....there's many more ways but without more info as to what you are doing, it would be pointless to start listing them

Rgds
Geoff
Si hoc legere scis, nimis eruditionis habes
 
the formula =and(A1=B1) also works. A1 being your first column and B1 one your second , where there is no match it will show FALSE.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top