LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
LJ LJ is offline
external usenet poster
 
Posts: 16
Default Excel lookups should have a return paramater if not found

The VLOOKUP and HLOOKUP functions in excel return #N/A if the index is not
found in the search list. The parameters should allow you to return zero or
"" in these instances. This would remove the need for a great deal of
validation tests.

Ideally I would suggest the following syntax:

=VLOOKUP(A1,Table!A:N,5,NewParameter)

Where NewParameter could be a value, null, next (the closest value higher
than the search index) or previous (the closest value lower than the search
index)

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...et.f unctions
 
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
return array formula lookups in to one single cell ivory_kitten Excel Worksheet Functions 4 September 26th 09 10:08 AM
If a value is found return a true/false lbeemer Excel Discussion (Misc queries) 4 December 3rd 08 10:30 PM
Arbitrary Lookups - return ALL found values baki Excel Worksheet Functions 8 May 13th 08 06:23 PM
Return all values found for criteria duketter Excel Discussion (Misc queries) 2 May 23rd 07 08:36 PM
Vlookup, return zero if not found molsansk Excel Worksheet Functions 2 August 22nd 06 06:40 PM


All times are GMT +1. The time now is 06:26 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"