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 / April 2004

Tip: Looking for answers? Try searching our database.

Help with Function

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Grant Reid - 13 Apr 2004 13:40 GMT
Hi

I have a list in my spreadsheet which is extracted from a database and I
need to look up values in this list. The value to lookup may, or may not be
in this list. What I need is a method to report that the value does not
exist, and if it does exist it must return the required info.

This is what I have at the moment

=IF(ERROR.TYPE(MATCH("tempdb data and log",$C$3:$C$100,0))=7,"Insert Seed
Values",OFFSET($C$2,MATCH("tempdb data and log",$C$3:$C$100,0),1))

It returns the "Insert Seed Values" text if a record cannot be matched,
however if the record does exist, it returns #NA. Not sure if this is
relevant, but the lookup value to be returned is numeric.

Frustrating indeed. Any help would be mutch appreciated.

Regards - Grant
Frank Kabel - 13 Apr 2004 14:16 GMT
Hi
try
==IF(ISNA(MATCH("tempdb data and log",$C$3:$C$100,0)),"Insert Seed
Values",OFFSET($C$2,MATCH("tempdb data and log",$C$3:$C$100,0),1))

Signature

--
Regards
Frank Kabel
Frankfurt, Germany


> Hi
>
[quoted text clipped - 17 lines]
>
> Regards - Grant
 
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.