Help Needed in Text match

Sampat

New Member
Joined
Jan 2, 2011
Messages
26
Hello!

First of all, I want to Thank All the lovely people in the forum. They helped me a lot in all my previous problems and making my life lot easier!

This time, I'm facing a little difficulty in matching some data.

I have two colum A & B, both contains some place name. In few row the names are equal, in few rows, they are not. e.g. A2=Paris, B2=Spain; A3=London, B3=India; A4=Delhi, B4=Delhi and so on.

Now I need to identify where there are same, where different.

I have tried with the following formula- =IF(B2=A2, Match, Mismatch), But it returns "#NAME?" error.

Please do advice me how could I resolve the same. Thanks in advance!
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
If I am understanding, you just need to add quotes to the string values you are looking to return:

=IF(B2=A2, "Match", "Mismatch")
 
Upvote 0

Forum statistics

Threads
1,224,518
Messages
6,179,248
Members
452,900
Latest member
LisaGo

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
Back
Top