Finding a Match

MikeyZ

Well-known Member
Joined
Mar 14, 2002
Messages
553
On one sheet1 my array (B2:C500 has a P/N in column A.

On another sheet2 I have an array B2:C3000 with P/N's in Col "A" as well.

In the cells in Col "A" I want to be able to look at the P/N in sheet1 in Col "B", find a match on sheet2 , and if Col "C" has data in the cell, I want to just show a "Y" in the adjacent cell "A".

Any idea what formula I should use. I've exhausted my talents.

Mike
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Hi there,

Not sure if this is what you want, but try:

=IF(VLOOKUP(A2,Sheet2!$A$1:$C$3000,3,FALSE)=0,"N","Y")

This will lookup the value in A2 (sheet1) from the table A1:C3000 in Sheet2 and check if there is a value in column C. If there is put a Y, if not put an N.
 
Upvote 0

Forum statistics

Threads
1,224,521
Messages
6,179,282
Members
452,902
Latest member
Knuddeluff

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