T
Thoroughbred
Version: 2008 Operating System: Mac OS X 10.6 (Snow Leopard) Processor: Intel VLOOKUP Looks in the FIRST COLUMN of an array and moves across the row to return the value of a cell.
How would you do this same thing, except look up a value in a column BESIDES the first one, and return a value on the same row in a completely different column?? Does excel even offer this function?
This can be more useful... Let's say, for example, you have information saved in columns. The first column stores the names of some items, the second stores cost. You want to return the name of the item with the least cost. VLOOKUP will only look up values in the first column, so there is no way for you to search for the cost in the second column. (The goal was to look for the least cost in the second column, then return the name of the item). The only way I see to fix this is to store costs in the first column and name in the second, but that shouldn't be necessary. And plus if you then need to look up an item's cost starting with the name, you won't be able to now that the names aren't in the first column.
So I'm wondering if there is another way to do this that I am not thinking of or if excel simply doesn't offer this function.
How would you do this same thing, except look up a value in a column BESIDES the first one, and return a value on the same row in a completely different column?? Does excel even offer this function?
This can be more useful... Let's say, for example, you have information saved in columns. The first column stores the names of some items, the second stores cost. You want to return the name of the item with the least cost. VLOOKUP will only look up values in the first column, so there is no way for you to search for the cost in the second column. (The goal was to look for the least cost in the second column, then return the name of the item). The only way I see to fix this is to store costs in the first column and name in the second, but that shouldn't be necessary. And plus if you then need to look up an item's cost starting with the name, you won't be able to now that the names aren't in the first column.
So I'm wondering if there is another way to do this that I am not thinking of or if excel simply doesn't offer this function.