'get google sheet cell value based on value of other cell

enter image description here

Is it possible in google sheets to write a formula that calculates the cell to fetch based on the value of another.

In this case i would want cell B2 to print the value of e2 so be something like:

='a2'2

Is this possible in google sheets?



Solution 1:[1]

try:

=HLOOKUP(A2; E1:F2; 2; 0)

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 player0