How to import source data on an existing primary field


My source file contains the exact city / lot number which coressponds to an exact device number.

I want to take my existing spreadsheet and have all city/lot numbers sync with that of my source file.

So spreadsheet A; ROW 01 would now contain the same device number as Spreadsheet B; ROW 01 and so forth.
If possible I would like to have all fields within this column print the word null if there is no source data for that city /lot
from Worksheet B.

Is this done with a vlookup? I have been trying but to no avail

Yellow cell on worksheet A is what I am trying to pull over from the source worksheet
vlookup-example-devicenum.xlsx
manelson05Asked:
Who is Participating?
 
gamarrojgqConnect With a Mentor Commented:
Hi,

You can do it with this formula

=IF(ISERROR(VLOOKUP(B2,'B - SOURCE'!$A$2:$B$378,2,FALSE)),"null",VLOOKUP(B2,'B - SOURCE'!$A$2:$B$378,2,FALSE))
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.