+ Reply to Thread
Results 1 to 8 of 8

Excel 2007 : Divide by zero

  1. #1
    Registered User
    Join Date
    12-17-2009
    Location
    Bolton England
    MS-Off Ver
    Excel 2007
    Posts
    27

    Divide by zero

    Good Morning all,

    I have constructed a spreadsheet to record fuel usage and some other associated data.
    I am getting the error #div/0

    I understand why this is happening and it is only an error until i have entered the working data.This error is shown in the attached, cells K6-K11 & L6-L11.

    Is there any way i can stop this error from showing? it does not affect functionality, just looks unsightly

    Thanks in advance

    Scott
    Attached Files Attached Files
    Last edited by scott41; 12-22-2009 at 04:56 AM.

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,960

    Re: Divide by zero

    The easiest way is to check for a zero divisor:
    Please Login or Register  to view this content.

    If it is zero then the cell shows blank
    Ben Van Johnson

  3. #3
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,342

    Re: Divide by zero

    or in 2007 use the IFERROR( ) function
    If the solution helped please donate to RSPCA

    Site worth visiting: Rabbitohs

  4. #4
    Registered User
    Join Date
    12-17-2009
    Location
    Bolton England
    MS-Off Ver
    Excel 2007
    Posts
    27

    Re: Divide by zero

    Yep, that does it.

    Thanks for your help

    Scott

  5. #5
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,342

    Re: Divide by zero

    dont forget to mark your post solved

  6. #6
    Registered User
    Join Date
    12-17-2009
    Location
    Bolton England
    MS-Off Ver
    Excel 2007
    Posts
    27

    Re: Divide by zero

    Quote Originally Posted by pike View Post
    dont forget to mark your post solved
    not forgotten, just making double sure my problem is fixed.

  7. #7
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,342

    Re: Divide by zero

    Thanks scott41
    how do you find excel 2007?

  8. #8
    Registered User
    Join Date
    12-17-2009
    Location
    Bolton England
    MS-Off Ver
    Excel 2007
    Posts
    27

    Thumbs up Re: Divide by zero

    Quote Originally Posted by pike View Post
    Thanks scott41
    how do you find excel 2007?
    I like it - a lot. I am a bit out of my depth with excel period as my secondary school education left me quite unprepared. Despite being self taught, i am now considered the office it expert :-0

    I do like the way 2007 works and with a little help from people like yourself, I do manage to do more than just get by.

+ 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