Suppose I have the following data arranged into 6 columns. Joe is assigned number 1, James is number 10, etc. I wish to be able to look up a number such as 6 in the following array and have it return the value one column over, in this case "Sam". I have experimented with the excel lookup, vlookup, index, and match functions for quite some time, and I still have not been able to find a solution. In this particular application, there will be 50 columns of people and their associated numbers, so a quick fix such as ISERROR for one lookup array, then moving on to the next will not work, I cant have 50 embedded ISERRORs. Any suggestions?
<tbody>
</tbody>
A | B | C | D | E | F | |
1 | Number | Person | Number | Person | Number | Person |
2 | 1 | Joe | 5 | Rob | 9 | Richard |
3 | 2 | Bob | 6 | Sam | 10 | James |
4 | 3 | Frank | 7 | Pete | 11 | John |
5 | 4 | Jim | 8 | Dan | 12 | Earl |
<tbody>
</tbody>