+ Reply to Thread
Results 1 to 3 of 3

Add ISERROR to resolve DIV/0 error

  1. #1
    Registered User
    Join Date
    09-27-2009
    Location
    texas
    MS-Off Ver
    mac 2004
    Posts
    6

    Add ISERROR to resolve DIV/0 error

    I am using the following formula and cannot figure out how or where to insert the ISERROR function to return a blank cell. Help please?

    =IF(K51>=$N$28,1,(IF(K51>=$N$29,2,(IF(K51>=$N$30,3,(IF(K51>=$N$31,4,(IF(K51<=$N$32,5,"")))))))))

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Add ISERROR to resolve DIV/0 error

    Not sure how you'd get a #DIV/0! error from that formula (unless one of the referenced cells contains #DIV/0!)

    In general, though, you can just use

    =IF(ISERROR(your_formula),"",your_formula)

    where your_formula is just the original formula without the first =

    [or with your version try IFERROR, i.e.]

    =IFERROR(IF(K51>=$N$28,1,IF(K51>=$N$29,2,IF(K51>=$N$30,3,IF(K51>=$N$31,4,IF(K51<=$N$32,5,""))))),"")

    There may be better ways to approach this, though, what values are in N28:N32?
    Last edited by daddylonglegs; 09-27-2009 at 07:09 PM.

  3. #3
    Registered User
    Join Date
    09-27-2009
    Location
    texas
    MS-Off Ver
    mac 2004
    Posts
    6

    Re: Add ISERROR to resolve DIV/0 error

    n26:n32 are percentages. 94, 90, 86, 82, 78

+ 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