+ Reply to Thread
Results 1 to 4 of 4

#div/0 help

  1. #1
    Registered User
    Join Date
    07-29-2009
    Location
    Ireland
    MS-Off Ver
    Excel 365
    Posts
    54

    #div/0 help

    Can anyone help me??

    i have this formula =(D6-E6)/E6 which works out the percentage in a workbook, but if i have a zero in the cell it gives me #div/0. im not sure how to write the formula with the if function to remove the #div/0

    any help would be greatly appreicated.

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: #div/0 help

    Try either..

    =IFERROR((D6-E6)/E6,"")

    or

    =IF(E6=0,"",(D6-E6)/E6)

  3. #3
    Registered User
    Join Date
    07-29-2009
    Location
    Ireland
    MS-Off Ver
    Excel 365
    Posts
    54

    Re: #div/0 help

    Thank you works perfect, thanks so much.

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: #div/0 help

    You're welcome.

+ 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