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 / New Users / November 2007

Tip: Looking for answers? Try searching our database.

Lookups

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
dmitry - 27 Nov 2007 19:14 GMT
Hi,

I'm not having much luck with doing a simple lookup.  For simplicity
sake, I have a table with three columns: name (A), duration (B), and
priority (C).  The table is sorted (and constantly resorted) by
priority.  I need to be able to look up duration values (in B) by
their names (in A).  My understanding is that LOOKUP requires the
lookup array to be sorted by the lookup column.  In my case, I don't
and can't have it sorted that way, so the function returns invalid
values.  Is there a way to do this?

Thanks
Dmitry
Peo Sjoblom - 27 Nov 2007 19:37 GMT
=VLOOKUP(LookupValue,A:B,2,0)

no need to sort anything

Signature

Regards,

Peo Sjoblom

> Hi,
>
[quoted text clipped - 9 lines]
> Thanks
> Dmitry
Gord Dibben - 27 Nov 2007 19:38 GMT
Use the formula  =VLOOKUP(A2,$A$2:$C$20,2,FALSE)

Select columns A:C and sort by priority.

Gord Dibben  MS Excel MVP

>Hi,
>
[quoted text clipped - 9 lines]
>Thanks
>Dmitry

Rate this thread:






 
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.