Hello,
I am trying to use vlookup to pull data from one sheet into another. Presently I have had to have the formula ignore part numbers longer than 11 characters and drop the 12 character in order to get it to work.
The above snippet will take a reference number located on the main sheet and will find it on a different sheet and then pull the data, a few columns over, into the sheet. It will ignore some of the data in case of N/A (not #N/A) or x in that field.
The problem is I have some PN's that look like: 103-053-100A and others like: 303-141-100A-01.
I would like to have a single formula or bit of code that could handle both cases. If more information would be helpful let me know.
Thanks.
I am trying to use vlookup to pull data from one sheet into another. Presently I have had to have the formula ignore part numbers longer than 11 characters and drop the 12 character in order to get it to work.
Code:
=IF(OR((VLOOKUP(LEFT(C13,11) & "*",MTBPR!A:H,3,FALSE))="N/A",(VLOOKUP(LEFT(C13,11) & "*",MTBPR!A:H,3,FALSE)="x")),0,VLOOKUP(LEFT(C13,11) & "*",MTBPR!A:H,3,FALSE))
The above snippet will take a reference number located on the main sheet and will find it on a different sheet and then pull the data, a few columns over, into the sheet. It will ignore some of the data in case of N/A (not #N/A) or x in that field.
The problem is I have some PN's that look like: 103-053-100A and others like: 303-141-100A-01.
I would like to have a single formula or bit of code that could handle both cases. If more information would be helpful let me know.
Thanks.