LOOKUP (+VLOOKUP & +HLOOKUP) not able to search/return value from entire table?
I have a table of all unique numbers 5 rows by 5 columns.
| C1 | C2 | C3 | C4 | C5 | |
|---|---|---|---|---|---|
R1 | 1 | 2 | 3 | 4 | 5 |
| R2 | 6 | 7 | 8 | 9 | 10 |
| R3 | 11 | 12 | 13 | 14 | 15 |
| R4 | 16 | 17 | 18 | 19 | 20 |
| R5 | 21 | 22 | 23 | 24 | 25 |
This is what I want:
| Number | Row Name | Column Name |
|---|---|---|
1 | R1 | C1 |
| 2 | R1 | C2 |
| 3 | R1 | C3 |
| 4 | R1 | C4 |
etc.
LOOKUP does not work. VLOOKUP or HLOOKUP does not work.
In B2, I used =LOOKUP($A2, Table 1::$2:$6, $A)
In B3 I used =LOOKUP($A2, Table 1::$B:$F, $1)
This does not work. I get an entire table of the same values. My guess is that LOOKUP is not meant handle an entire table?
I tried:
-Just using the number cells as a range, as well as the entire table.
-HLOOKUP and VLOOKUP, both including and excluding the header row/column.
-MATCH, INDEX, etc, but none worked with an entire table.
-Assigning each row and column a unique number (like 100, 200, etc. for rows and 1000, 2000, etc. for columns) "[V/H]LOOKUP couldn't find the requested value"
-They are all numbers, not strings.
I have no idea what to do. In the time I've been trying to figure it out, I could have just brute forced a table by typing in the values....
Any help appreciated!
MacBook Air, OS X Mavericks (10.9.5), Numbers 3.2.2