Excel Array formula IF(multiple criteria)

前端 未结 2 1958
不思量自难忘°
不思量自难忘° 2020-12-17 06:17

In my spreadsheet, comparing headphones, our instruction is basically to use as many different formulas as possible.

So as part of the spreadsheet, I would like to

2条回答
  •  天涯浪人
    2020-12-17 06:38

    Typically AND won't work here because AND returns a single result rather than an array....but * should be OK, i.e. try this formula in B3

    =INDEX(Data!C$5:C$32,MATCH(1,(Data!$E$5:$E$32=$D3)*(Data!$B$5:$B$32=$A3),0))

    confirmed with CTRL+SHIFT+ENTER and copied to C3 and then down both columns

    That will find the first match for both price and manufacturer and return the relevant model/type

提交回复
热议问题