Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 68
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 68
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to combine an IF Function with a lookup function to determine [email protected] Excel Worksheet Functions 1 December 5th 06 06:09 AM
lookup function B G Excel Discussion (Misc queries) 2 June 22nd 06 10:35 AM
LOOKUP FUNCTION Mer Excel Worksheet Functions 1 February 21st 06 02:11 AM
lookup function Anh Excel Worksheet Functions 12 December 25th 05 09:55 PM
Pivot table doing a lookup without using the lookup function? NGASGELI Excel Discussion (Misc queries) 0 August 2nd 05 05:08 AM


All times are GMT +1. The time now is 05:59 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"