Three Dimensional Lookup Using INDEX/MATCH

前端 未结 11 1256
闹比i
闹比i 2020-12-01 14:28

This was taken and improved slightly from Question that has since been deleted

For those who can see deleted posts, it was taken from here: https://

11条回答
  •  北海茫月
    2020-12-01 14:36

    Assuming the format of the data is always Name then P, M and N this formula does the work:

    =INDEX($A:$D,
    MATCH($H$3,$A:$A,0)
    +LOOKUP($H$4,{"P",1;"M",2;"N",3}),
    MATCH($H$5,$1:$1,0))
    

提交回复
热议问题