Two column comparison

silvertabb

Active Member
Joined
May 18, 2004
Messages
252
In Column A (A2:A101) I have all lot numbers.
In Column B (B2:B20) I have the list of lots shipped.

What do I need?
In Column C (C2:C20) I need to include a formula or function to let me know whether or not entries in Column B have a match in Column A (i.e. there is not new lot in Column B).

Thanks,
Silvertabb
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
In Column A (A2:A101) I have all lot numbers.
In Column B (B2:B20) I have the list of lots shipped.

What do I need?
In Column C (C2:C20) I need to include a formula or function to let me know whether or not entries in Column B have a match in Column A (i.e. there is not new lot in Column B).

Thanks,
Silvertabb

C2, copy down:

=ISNUMBER(MATCH(B2,$A$2:$A$20,0))+0

1 stands for a hit, that is, lot shipped is available in column A; 0 stands for a no-hit.
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,713
Members
452,939
Latest member
WCrawford

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