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 / February 2007

Tip: Looking for answers? Try searching our database.

Lookup Function

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dwayne Schuck - 06 Feb 2007 14:02 GMT
I recently modified a friend's spreadsheet to make it more functional.  As
usual, it was a "learn as you go" process.

I learned about the validation and lookup functions this time.

No problem with validation - I created a nice little drop down menu with 32
possible selections.  Whatever is selected in this dropdown menu needs to
reference two other cells in a table.  The two formulas I used are:

=lookup(c7,aa51:aa82,ab51:ab82)
=lookup(c7,aa51:aa82,ac51:ac52)

The problem I am having is that for 31 out of 32 choices it works perfectly.
For one and only one choice it doesn't work.  For the 29th choice in the
table, aa79 it references ab80 and ac80.

Why would this function work correctly for 31 out of 32 possibilities?
Email me and I'll send a copy of the sheet.

Thanks.

Dwayne
hdwaynes@optonline.net
Bob Phillips - 06 Feb 2007 14:13 GMT
LOOKUP expects the lookup_vector range (AA51:AA82 in your first example), to
be in ascending order. Are yours?

Signature

---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

>I recently modified a friend's spreadsheet to make it more functional.  As
>usual, it was a "learn as you go" process.
[quoted text clipped - 19 lines]
> Dwayne
> hdwaynes@optonline.net
Dwayne Schuck - 06 Feb 2007 14:46 GMT
Bob, that solved the problem.  Thanks.

> LOOKUP expects the lookup_vector range (AA51:AA82 in your first example),
> to be in ascending order. Are yours?
[quoted text clipped - 22 lines]
>> Dwayne
>> hdwaynes@optonline.net
 
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.