match 2 columns

adityatandel

Board Regular
Joined
Aug 10, 2007
Messages
69
Col 1 Col 2 Match
111111 00000111111 Y
222222 00000222222 Y
233444 00000356455 N

what is the formula to get the Y and N in the match field?
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!

shemayisroel

Well-known Member
Joined
Sep 11, 2008
Messages
1,867
Could you confirm if any of the numbers are in TEXT format?

Also, would there always be 5 leading 0's?
 

shemayisroel

Well-known Member
Joined
Sep 11, 2008
Messages
1,867
Actually try this in C1 to assess values in A1 & A2

C1 and copy down

=IF(VALUE(B1)=A1,"Y","N")

This will work even if the values in Column B are are in TEXT
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,168,109
Messages
5,857,439
Members
431,879
Latest member
KiwDaWabbit

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
Top