+ Reply to Thread
Results 1 to 3 of 3

changing the message in an error message

  1. #1
    The Villages DA
    Guest

    changing the message in an error message

    When I copy and paste a formula into a cell that refers to a blank cell I get
    and error message that say #div/01! and I want to change to ERROR.

    How can I do that???

    Thanks for the help.



  2. #2
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867
    Good evening

    Use this formula:

    =IF(ISERR(B1/A1)=TRUE,"ERROR",B1/A1)

    This will work for any error (except #N/A) and will show "ERROR" rather than the type of error. If the formula can be calculated without error, it will.

    HTH.

  3. #3
    Bernie Deitrick
    Guest

    Re: changing the message in an error message

    Re-write your formula:

    =IF(ISERROR(Original Formula),"ERROR",Original Formula)

    Where Original Formula is your current formula, but without the = sign.

    HTH,
    Bernie
    MS Excel MVP

    "The Villages DA" <The Villages [email protected]> wrote in
    message news:[email protected]...
    > When I copy and paste a formula into a cell that refers to a blank cell I

    get
    > and error message that say #div/01! and I want to change to ERROR.
    >
    > How can I do that???
    >
    > Thanks for the help.
    >
    >




+ 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