Hello,
This sounds like a very simple problem, but I cannot figure out.
Sheet1. In column A, I have a list of partNames, which contains a bunch of letters and numbers with an identifiable 3 character alphabets somewhere. Let's call these identifiable 3 character alphabet: partCategory. The length of the partName and the starting location of the partCategory within each partName vary. A partName may also contain other 3 letter combination which is not a partCategory, but each partName definitely contains a partCategory.
Sheet2. I have a list of all partCategory in one column and its corresponding price in next column.
So in column B of sheet1 I would like to vlookup the price of each partName.
I have this working already using VBA, which basically scans each line of partNames in Sheet1 and puts it in a loop to check against the list of partCategory in Sheet2. I was just wondering if there is a way to do this using an excel formula without using VBA.
Thanks,
Don
This sounds like a very simple problem, but I cannot figure out.
Sheet1. In column A, I have a list of partNames, which contains a bunch of letters and numbers with an identifiable 3 character alphabets somewhere. Let's call these identifiable 3 character alphabet: partCategory. The length of the partName and the starting location of the partCategory within each partName vary. A partName may also contain other 3 letter combination which is not a partCategory, but each partName definitely contains a partCategory.
Sheet2. I have a list of all partCategory in one column and its corresponding price in next column.
So in column B of sheet1 I would like to vlookup the price of each partName.
I have this working already using VBA, which basically scans each line of partNames in Sheet1 and puts it in a loop to check against the list of partCategory in Sheet2. I was just wondering if there is a way to do this using an excel formula without using VBA.
Thanks,
Don