Forum Discussion
techyaccountant
May 07, 2024Copper Contributor
Help with double cell lookup formula
I am trying to pull a value based on one worksheet data into another, essentially being a vlookup based on ID but also with the condition it matches an item name. Example: I want to find the ...
- May 07, 2024
=VLOOKUP($B3&$A3,CHOOSE({1,2},$F$3:$F$10&$G$3:$G$10,H$3:H$10),2,FALSE)
The CHOOSE function allows to create a lookup range (red) and a return range (purple).
In the attached file i've added the alternative INDEX and MATCH formula.
techyaccountant
May 07, 2024Copper Contributor
Thank you OliverScheurich! What exactly is the Choose formula doing, just for my better understanding?
OliverScheurich
May 07, 2024Gold Contributor
=VLOOKUP($B3&$A3,CHOOSE({1,2},$F$3:$F$10&$G$3:$G$10,H$3:H$10),2,FALSE)
The CHOOSE function allows to create a lookup range (red) and a return range (purple).
In the attached file i've added the alternative INDEX and MATCH formula.