i am trying to match a value using xlookup formula to find I1
in A
and if H1>C
and H1<D
return B
i have below this but cant figure out how to make it work =XLOOKUP(I1,A:A,B:B,,IF(AND(H1>C,H1<D),B:B,"none"))
i have an index and match that works but im trying to learn with xlookup with multiple critera
=IFERROR(INDEX(B:B,MATCH(1,(C:C<H1)*(D:D>H1)*(A:A=I1),0)),"none")
update
well my bad excel 2016 does not support xlookup
uploaded sample data G1 is where my index match formula is G2 is the xlookup
H1)*(A1:A12=I1)` part of the formula and press F9
– Spectral Instance Mar 04 '23 at 13:37