Using function
=LOOKUP(2,1/((B8>=A1:A5)*(B8<=B1:B5)),C1:C5)
to lookup a value between two numbers doesn't seem to work in Google Sheets while in Excel it does. Does anyone know the alternative to this function in Google Sheets, please?
Using function
=LOOKUP(2,1/((B8>=A1:A5)*(B8<=B1:B5)),C1:C5)
to lookup a value between two numbers doesn't seem to work in Google Sheets while in Excel it does. Does anyone know the alternative to this function in Google Sheets, please?
You need to use ARRAYFORMULA:
=ARRAYFORMULA(LOOKUP(2,1/((B8>=A1:A5)*(B8<=B1:B5)),C1:C5))