To compare cells of two columns

Closed
GD - Mar 18, 2011 at 05:34 AM
venkat1926 Posts 1863 Registration date Sunday June 14, 2009 Status Contributor Last seen August 7, 2021 - Mar 18, 2011 at 07:23 AM
Hello,
I need to compare corresponding cells of two columns of same worksheet and find if it is exactly matched and also if partially matched.For ex.my data looks looks like


ColumnA ColumnB ColumnC
1 Solar System Solar Match
2 Excel Inc Excel Match
3 Excel Excl Match
4 Rich Rich Match
5 Apple Door Not Match
My work sheet has first two columns.I need to get ColumnC results by comparing ColumnA & columnB for Partial match(columnA data fits in ColumnB data and viceversa) and also for exact match

1 response

venkat1926 Posts 1863 Registration date Sunday June 14, 2009 Status Contributor Last seen August 7, 2021 811
Mar 18, 2011 at 07:23 AM
suppose data is like thsi

Solar |system solar
Excel | inc excel
Excel | excel
Rich | Rich
Apple | Door


in C1 type this formula

=IF(ISNUMBER(SEARCH(A1,B1)),"match","not macth")
copy c1 down and see
0