Excel Array formula IF(multiple criteria)

前端 未结 2 1957
不思量自难忘°
不思量自难忘° 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:28

    You can also use a simple formulas:

    =if( (Condition_A) * (Condition_B) * ... ; true; false)

    make sure to put the condition between parenthesis.

    0 讨论(0)
  • 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

    0 讨论(0)
提交回复
热议问题