LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default vlookup, add parameter, on error return user defined value


I think certain functions in Excel should be enhanced. Top of mind are
vlookup, hlookup, and getpivotdata. As it is, if I don't want #N/A to
appear, I have to enter my forumla as:
if(isna(formula),0,formula)

This strikes me as ugly and inefficient. Could the formula parameters be
extended to allow the user to define what would be returned on error.
Vlookup would become:
vlookup(value, table, col, true/false, error return value)

I could enter "" (blank), 0, etc as the error return value. If I left it
blank, #N/A would be the default. I suppose the result could even flag the
cell if the error value is returned via the error checking indicator or some
sort of conditional format.


----------------
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
How doe I protect user defined functions in VB Editor jbowering Excel Worksheet Functions 2 June 27th 06 11:16 PM
Assigining User Defined Functions to Categories in Addins Jim Excel Worksheet Functions 0 June 27th 06 12:09 PM
User defined functions without using VBA. [email protected] Excel Discussion (Misc queries) 0 June 13th 06 05:50 PM
Using VLOOKUP with abitlity to choose from multiple defined names. Armando Excel Worksheet Functions 5 February 26th 06 10:18 PM
User defined charts- font size too small Bill B Charts and Charting in Excel 1 December 30th 04 06:23 PM


All times are GMT +1. The time now is 01:33 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"