#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default IFERROR

Why would I ever need this function?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 793
Default IFERROR

If you are human just like us, sooner or later you will make an errort and
will need this function...

Seriously, ISERROR is used to suppress or take an alternate action if the
formula being tried generates and error. It is also used when many functions
are used together to build a large one. If any piece retruns an error the
whole fails. By testing for ISERROR one can recover from such situations.

"MMCBRIDE" wrote:

Why would I ever need this function?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,231
Default IFERROR

MMCBRIDE wrote...
Why would I ever need this function?


'Need'? Never. However, IFERROR could be efficient and convenient.
Formulas like

=IF(ISERROR(VLOOKUP(a,Table,n,0)),a&" not found in
table",VLOOKUP(a,Table,n,0))

in Excel 2003 and prior could be rewritten as

=IFERROR(VLOOKUP(a,Table,n,0)),a&" not found in table")

in Excel 2007.
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default IFERROR

IFERROR is one of the few improvements between 2003 and 2007 IMHO.

Let's say we have a formula that returns an error and one of the most common
methods to deal with this is

=IF(ISERROR(formula),0,formula)

remember that the word formula here can be the equivalent of a gigantic
formula thus making the above example a monstrosity, first the IF, then
ISERROR, then the long formula, then what we want if it's an error and
finally the same long formula again.

Using IFERROR it will look like


=IFERROR(formula,0)


so we save the IF and 1 formula string plus 2 function calls which is
actually very good.

--


Regards,


Peo Sjoblom

"Sheeloo" wrote in message
...
If you are human just like us, sooner or later you will make an errort and
will need this function...

Seriously, ISERROR is used to suppress or take an alternate action if the
formula being tried generates and error. It is also used when many
functions
are used together to build a large one. If any piece retruns an error the
whole fails. By testing for ISERROR one can recover from such situations.

"MMCBRIDE" wrote:

Why would I ever need this function?



Reply
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
IFERROR in 2003 version Drew[_2_] Excel Discussion (Misc queries) 5 April 7th 14 01:01 PM
IFERROR in Excel 2007 Dirrk Excel Worksheet Functions 5 April 25th 10 10:08 PM
iferror Roy Gudgeon[_2_] Excel Worksheet Functions 13 July 31st 08 05:24 PM
IFERROR help Pete DeKalb Excel Discussion (Misc queries) 2 April 12th 08 03:42 AM
Time for IFERROR? PAL Excel Worksheet Functions 7 February 13th 08 09:52 AM


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