I have a database spreadsheet where I need to pull key information from the master data. As you can see in the below screenshots, the goal is to return the "Part Number" and the only data I can match with are the "Kenn" and the "Part Code", "Kenn" can be directly matched with "KENN No" from the master data and the part code is the first 6 digits of the "Part Number", so I am thinking of using the wildcard or LEFT function. I have tried the following formula but it did not work for me, please advise. Many thanks.
Main Sheet:
| |
Front Door Strip Part No. |
|
---|
| | Formula goes here |
| | Formula goes here |
| | Formula goes here |
| | Formula goes here |
| | Formula goes here |
| | Formula goes here |
| | Formula goes here |
| | Formula goes here |
Master Data (Report_PC_Data):
**Part Code = First 6 digits of "Part Number" in Master Data**
This example:
Match "0318530" with "0099BQ"
Return value = 0099BQ-1BV (Highlighted in the
Master Data (Report_PC_Data) table)
I have tried the following formula (Does not work for me):
=INDEX(Report_PC_Data[Part number],MATCH("*"&[Part Code]&"*",IF([Kenn]=Report_PC_Data[KENN No],"*"&[Part Code]&"*"),1))