wilkisa
Well-known Member
- Joined
- Apr 7, 2002
- Messages
- 657
- Office Version
- 365
- 2016
- 2013
- Platform
- Windows
I have 2 sheets in my workbook, Source and Target. On my Target sheet, I have a Vendor Number column and a Code column. I need to get the Cost information from the Source sheet.
In the Source sheet I have the Vendor Number column but the Code is a series of 16 columns. I need to have the Vendor Number match from Target to Source AND I need to have the Code matched to any one of the 16 Code columns. If I have a match on both items, I need the Cost value from column AF in the Source sheet placed into column F on the Target sheet.
Example--TARGET sheet:
Col. C-Vendor Number
101010
111222
222555
Col. D-Code
AB
LM
8F
Example--SOURCE sheet:
Col. C-Vendor Number
110011
111222
222555
Cols F G H I J K L M N O P Q R S T U-Code
AB BC LM 3D HF PQ 5K
3D 5K HF GR LM BC
AB 8F
There is no set number of the 16 Code columns used and no pattern for discovering where the matching code will be...if there is one at all.
Can someone help with this? Please?
Thanks,
Shirlene
In the Source sheet I have the Vendor Number column but the Code is a series of 16 columns. I need to have the Vendor Number match from Target to Source AND I need to have the Code matched to any one of the 16 Code columns. If I have a match on both items, I need the Cost value from column AF in the Source sheet placed into column F on the Target sheet.
Example--TARGET sheet:
Col. C-Vendor Number
101010
111222
222555
Col. D-Code
AB
LM
8F
Example--SOURCE sheet:
Col. C-Vendor Number
110011
111222
222555
Cols F G H I J K L M N O P Q R S T U-Code
AB BC LM 3D HF PQ 5K
3D 5K HF GR LM BC
AB 8F
There is no set number of the 16 Code columns used and no pattern for discovering where the matching code will be...if there is one at all.
Can someone help with this? Please?
Thanks,
Shirlene