Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / May 2008

Tip: Looking for answers? Try searching our database.

Lookup order

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Nordic - 04 May 2008 02:44 GMT
When you lookup text in a column does it have to be in alphabetical order?
When I type in the following it works as I want it to.  
=Lookup(P2,{"Advanced","Regular"."Title"},{"A","R","X"})

If I use:  =Lookup(P2,{"Title","Advanced","Regular"},{"X","A","R"}) title
doesn't list X, etc.

How does the order of what you enter in the first set of brackets correspond
or link to the letters or text in the second set?

Thanks for helping a rookie.
nordic
Jim Cone - 04 May 2008 02:57 GMT
The Excel help file says the lookup values must be place in ascending order.
Signature

Jim Cone
Portland, Oregon  USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)

"Nordic" <Nordic@discussions.microsoft.com>
wrote in message
When you lookup text in a column does it have to be in alphabetical order?
When I type in the following it works as I want it to.  
=Lookup(P2,{"Advanced","Regular"."Title"},{"A","R","X"})

If I use:  =Lookup(P2,{"Title","Advanced","Regular"},{"X","A","R"}) title
doesn't list X, etc.

How does the order of what you enter in the first set of brackets correspond
or link to the letters or text in the second set?
Thanks for helping a rookie.
nordic

Gord Dibben - 04 May 2008 17:53 GMT
Yes.

The original formula I posted to your other thread works only when the items
between the first set of {  } are in alphabetical order as you have found by
experimenting.

Gord Dibben  MS Excel MVP

>When you lookup text in a column does it have to be in alphabetical order?
>When I type in the following it works as I want it to.  
[quoted text clipped - 8 lines]
>Thanks for helping a rookie.
>nordic
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.