+ Reply to Thread
Results 1 to 3 of 3

Catching '#REF!' errors

  1. #1
    Registered User
    Join Date
    12-03-2012
    Location
    Roma
    MS-Off Ver
    Excel 2010
    Posts
    4

    Catching '#REF!' errors

    Hi everybody,
    I have a formula that sometimes returns '# REF!'. I want to catch these errors and replace the string '# REF!' with a default value (eg -1). How can I do?

    Thanks in advance

  2. #2
    Forum Contributor dogberry's Avatar
    Join Date
    07-15-2012
    Location
    Wales, UK
    MS-Off Ver
    Excel 2010
    Posts
    624

    Re: Catching '#REF!' errors

    Hi

    Try surrounding your formula with iferror(your formula),"") put what you need between the quotes.


    Chris
    Click my star if I helped Thanks

  3. #3
    Registered User
    Join Date
    12-03-2012
    Location
    Roma
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Catching '#REF!' errors

    Perfect! thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1