Forum Discussion
MelKunz
Dec 28, 2021Copper Contributor
Help w/ Formula/Function
Hello I am using a PC with Windows/Office 365. Looking to build a formula that can compare B24 & B25 together against the table A33:38 & B33:B38 and if B26>B27 returns F33:38 or if B26<B27 returns ...
- Dec 28, 2021
As variant
=XLOOKUP(1, (B24 = $A$33:$A$38) * (B25 = $B$33:$B$38 ), $F$33:$F$38 ) * (B26 >= B27)
OliverScheurich
Dec 28, 2021Gold Contributor
=IF(B26<B27,0,VLOOKUP(B24&B25,CHOOSE({1,2},A33:A38&B33:B38,F33:F38),2,0))
This could be what you are looking for. Enter formula as matrix with ctrl+shift+enter if you don't work with Office365 or 2021.
- MelKunzDec 28, 2021Copper ContributorThank you!