Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Lookup Function for Non-Alphabetical
Is there an equivelant lookup function in Excel 2007 that doesn't care about
the order of the item it's looking up. Example: I want to look up "eggs" in column 1 of a table and once I know which row that is, lookup the price from column "unit price". However, I have all my groceries in that table sorted alphabetically, and in the same table, the hardware items are also sorted alphabetically in a different group. (Fictional example.) So if eggs are in the lower group, my table will stop at something in the upper hardware group instead of just giving me the price of eggs. Thanks. |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Lookup Function for Non-Alphabetical
=VLOOKUP("eggs",A1:B100,2,0)
"TKS_Mark" wrote: Is there an equivelant lookup function in Excel 2007 that doesn't care about the order of the item it's looking up. Example: I want to look up "eggs" in column 1 of a table and once I know which row that is, lookup the price from column "unit price". However, I have all my groceries in that table sorted alphabetically, and in the same table, the hardware items are also sorted alphabetically in a different group. (Fictional example.) So if eggs are in the lower group, my table will stop at something in the upper hardware group instead of just giving me the price of eggs. Thanks. |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Lookup Function for Non-Alphabetical
Excellent!
"Teethless mama" wrote: =VLOOKUP("eggs",A1:B100,2,0) "TKS_Mark" wrote: Is there an equivelant lookup function in Excel 2007 that doesn't care about the order of the item it's looking up. Example: I want to look up "eggs" in column 1 of a table and once I know which row that is, lookup the price from column "unit price". However, I have all my groceries in that table sorted alphabetically, and in the same table, the hardware items are also sorted alphabetically in a different group. (Fictional example.) So if eggs are in the lower group, my table will stop at something in the upper hardware group instead of just giving me the price of eggs. Thanks. |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Lookup Function for Non-Alphabetical
You're Welcome!
"TKS_Mark" wrote: Excellent! "Teethless mama" wrote: =VLOOKUP("eggs",A1:B100,2,0) "TKS_Mark" wrote: Is there an equivelant lookup function in Excel 2007 that doesn't care about the order of the item it's looking up. Example: I want to look up "eggs" in column 1 of a table and once I know which row that is, lookup the price from column "unit price". However, I have all my groceries in that table sorted alphabetically, and in the same table, the hardware items are also sorted alphabetically in a different group. (Fictional example.) So if eggs are in the lower group, my table will stop at something in the upper hardware group instead of just giving me the price of eggs. Thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
how to combine an IF Function with a lookup function to determine | Excel Worksheet Functions | |||
lookup function | Excel Discussion (Misc queries) | |||
LOOKUP FUNCTION | Excel Worksheet Functions | |||
lookup function | Excel Worksheet Functions | |||
Pivot table doing a lookup without using the lookup function? | Excel Discussion (Misc queries) |