Forum Discussion
mijatoke
Apr 07, 2023Copper Contributor
How can I LOOKUP a Value with Conditions Bound by a Range
I have Sheet A - Price List that lists multiple prices (Column D) per Product ID depending on the Quantity that is purchased (range from and to in Columns B and C). In Sheet B - Lookup Price Based o...
- Apr 07, 2023
=INDEX($D$3:$D$22,MATCH(1,($A$3:$A$22=G3)*($B$3:$B$22<=H3)*($C$3:$C$22>=H3),0))
You can try this formula. Enter the formula with ctrl+shift+enter if you don't work with Office365 or Excel 2021.
OliverScheurich
Gold Contributor
=INDEX($D$3:$D$22,MATCH(1,($A$3:$A$22=G3)*($B$3:$B$22<=H3)*($C$3:$C$22>=H3),0))
You can try this formula. Enter the formula with ctrl+shift+enter if you don't work with Office365 or Excel 2021.
mijatoke
Apr 08, 2023Copper Contributor
Excellent, thank you so much for the solution! Much appreciated