Lookup to map data

%3CLINGO-SUB%20id%3D%22lingo-sub-2120080%22%20slang%3D%22en-US%22%3ELookup%20to%20map%20data%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2120080%22%20slang%3D%22en-US%22%3E%3CP%3EI%20need%20some%20formula%20to%20implement%20this.%20I%20tried%20VLOOKUP%20%26amp%3B%20LOOKUP%20but%20could%20not%20get%20it%20right%3C%2FP%3E%3CP%3EAny%20help%20would%20be%20appreciated.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22codecrazy_0-1612958790378.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F253850iC498437BDEA67BAD%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22codecrazy_0-1612958790378.png%22%20alt%3D%22codecrazy_0-1612958790378.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2120080%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExcel%20for%20web%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2120105%22%20slang%3D%22en-US%22%3ERe%3A%20Lookup%20to%20map%20data%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2120105%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F962033%22%20target%3D%22_blank%22%3E%40codecrazy%3C%2FA%3E%26nbsp%3BAs%20a%20variant%20and%20since%20you%20tagged%20your%20question%20with%20%22Excel%20for%20web%22.%20Then%20you%20can%20use%20FILTER%20or%20why%20not%20create%20a%20pivot%20table.%20Both%20options%20are%20demonstrated%20in%20the%20attached%20workbook.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2120091%22%20slang%3D%22en-US%22%3ERe%3A%20Lookup%20to%20map%20data%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2120091%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F962033%22%20target%3D%22_blank%22%3E%40codecrazy%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFor%20example%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22S0109.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F253851i61EA3CD872B39EBA%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22S0109.png%22%20alt%3D%22S0109.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EThe%20formula%20in%20E2%20is%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3DINDEX(%24C%241%3A%24C%244%2CMATCH(1%2CINDEX((%24A%241%3A%24A%244%3DF%241)*(%24B%241%3A%24B%244%3D%24E2)%2C%2C)%2C0))%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20can%20be%20filled%20down%20and%20to%20the%20right.%3C%2FP%3E%0A%3CP%3E%E2%80%83%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

I need some formula to implement this. I tried VLOOKUP & LOOKUP but could not get it right

Any help would be appreciated.

 

codecrazy_0-1612958790378.png

 

2 Replies

@codecrazy 

For example:

S0109.png

The formula in E2 is

 

=INDEX($C$1:$C$4,MATCH(1,INDEX(($A$1:$A$4=F$1)*($B$1:$B$4=$E2),,),0))

 

This can be filled down and to the right.

@codecrazy As a variant and since you tagged your question with "Excel for web". Then you can use FILTER or why not create a pivot table. Both options are demonstrated in the attached workbook.