[TABLE="class: grid"]
<tbody>[TR]
[TD="bgcolor: #DCE6F1"][/TD]
[TD="bgcolor: #DCE6F1"]A
[/TD]
[TD="bgcolor: #DCE6F1"]B
[/TD]
[TD="bgcolor: #DCE6F1"]C
[/TD]
[TD="bgcolor: #DCE6F1"]D
[/TD]
[TD="bgcolor: #DCE6F1"]E
[/TD]
[TD="bgcolor: #DCE6F1"]F
[/TD]
[TD="bgcolor: #DCE6F1"]G
[/TD]
[TD="bgcolor: #DCE6F1"]H
[/TD]
[TD="bgcolor: #DCE6F1"]I
[/TD]
[TD="bgcolor: #DCE6F1"]J
[/TD]
[/TR]
[TR]
[TD="bgcolor: #DCE6F1"]1
[/TD]
[TD]Key master
[/TD]
[TD]Include/skip
[/TD]
[TD]Description1
[/TD]
[TD]Include/skip
[/TD]
[TD]Description2
[/TD]
[TD]include/skip
[/TD]
[TD]description3
[/TD]
[TD][/TD]
[TD]Key
[/TD]
[TD]Value
[/TD]
[/TR]
[TR]
[TD="bgcolor: #DCE6F1"]2
[/TD]
[TD]lpd020101
[/TD]
[TD="bgcolor: #D9D9D9"]1
[/TD]
[TD="bgcolor: #D9D9D9"]Shoe
[/TD]
[TD="bgcolor: #D9D9D9"]1
[/TD]
[TD="bgcolor: #D9D9D9"]Nike
[/TD]
[TD="bgcolor: #D9D9D9"]1
[/TD]
[TD="bgcolor: #D9D9D9"]air max
[/TD]
[TD][/TD]
[TD]lpd0201
[/TD]
[TD]Shoe
[/TD]
[/TR]
[TR]
[TD="bgcolor: #DCE6F1"]3
[/TD]
[TD]lpd020501
[/TD]
[TD="bgcolor: #D9D9D9"]0
[/TD]
[TD="bgcolor: #D9D9D9"]Hat
[/TD]
[TD="bgcolor: #D9D9D9"]1
[/TD]
[TD="bgcolor: #D9D9D9"]Coca Cola
[/TD]
[TD="bgcolor: #D9D9D9"]1
[/TD]
[TD="bgcolor: #D9D9D9"]zero
[/TD]
[TD][/TD]
[TD]lpd0205
[/TD]
[TD]Coca Cola
[/TD]
[/TR]
[TR]
[TD="bgcolor: #DCE6F1"]4
[/TD]
[TD]lpd020402
[/TD]
[TD="bgcolor: #D9D9D9"]1
[/TD]
[TD="bgcolor: #D9D9D9"]T-shirt
[/TD]
[TD="bgcolor: #D9D9D9"]1
[/TD]
[TD="bgcolor: #D9D9D9"]Ralph Lauren
[/TD]
[TD="bgcolor: #D9D9D9"]1
[/TD]
[TD="bgcolor: #D9D9D9"]red
[/TD]
[TD][/TD]
[TD]lpd0204
[/TD]
[TD]T-shirt
[/TD]
[/TR]
[TR]
[TD="bgcolor: #DCE6F1"]5
[/TD]
[TD]lpd03301
[/TD]
[TD="bgcolor: #D9D9D9"]0
[/TD]
[TD="bgcolor: #D9D9D9"]blank
[/TD]
[TD="bgcolor: #D9D9D9"]0
[/TD]
[TD="bgcolor: #D9D9D9"]blank
[/TD]
[TD="bgcolor: #D9D9D9"]1
[/TD]
[TD="bgcolor: #D9D9D9"]iron
[/TD]
[TD][/TD]
[TD]lpd03301
[/TD]
[TD]iron
[/TD]
[/TR]
</tbody>[/TABLE]
Formula in J2 copied down
=IFERROR(INDEX($B$2:$G$5,MATCH(I2&"*",$A$2:$A$5,0),1+MATCH(1,INDEX($B$2:$G$5,MATCH(I2&"*",$A$2:$A$5,0),0),0)),"Not found")
This isn't a very complicated formula.
It's a INDEX/MATCH type formula that locates a cell (row/column) in range B2:G5 (gray area)
1) locates the row in column A whose value
begins with the value in column I.
Note that i used a wildcard (*) , so the lookup_values becomes the value in column I concatenated with an asterisk. For example, in J2, the lookup_value = lpd0201*
2) the first column, in this row, that contains 1
To see how it works, step by step, select a cell that contains a formula and go to
Formulas > Evaluate formula
If you're not familiar with INDEX/MATCH take a look at
http://www.contextures.com/xlFunctions03.html
M.