+ Reply to Thread
Results 1 to 3 of 3

#DIV/0! Error - Most of the formulas work, except for a small few?!

  1. #1
    Registered User
    Join Date
    11-11-2015
    Location
    manchester
    MS-Off Ver
    Excel 2010
    Posts
    13

    Lightbulb #DIV/0! Error - Most of the formulas work, except for a small few?!

    Hi, reference the attached workbook...

    The workbook itself is quite complex but the formula isn't so complicated so I'm not sure why a small number of sites are showing #DIV/0! errors as a result.

    If you open the sheet and look at "RC.Total" tab and "RC.Mechanical" tab, Eastleigh, Reading and Jersey show this error. All other sites are as they should be.

    I can't figure out what's going wrong with the formula/figures.. Can anybody sus it out? My eyes are going fuzzy looking at it....

    Thanks!
    Attached Files Attached Files

  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! Error - Most of the formulas work, except for a small few?!

    #Div/0! errors come from dividing a number by 0.
    10/0 = #Div/0!

    Take Y25 from your total tab for example
    =Car.Days!Y25/(SUM(Car.Days!$K25,Car.Days!$O25,Car.Days!$S25,Car.Days!$W25)/SUM($K25,$O25,$S25,$W25))
    It's doing 2 division operations, highlighted Red.
    It appears to be the result of SUM($K25,$O25,$S25,$W25) is in fact 0.
    K25 O25 S25 and W25 ALL = 0, so the SUM is 0.

    The same corresponding cells on the Car.Days tab are all 0 as well.

  3. #3
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,829

    Re: #DIV/0! Error - Most of the formulas work, except for a small few?!

    Using the Evaluate Formula tool (https://support.office.com/en-us/art...6-a70aa409b8a7 ), I see that the sum(K44,O44...) section of the formula returns 0. This appears to be because each of these referenced cells contains the value 0. The sum of several 0's is 0. And Excel (and the rest of us who cannot afford Chuck Norris on our team) does not know how to divide by 0.

    So, the answer to why you are getting the div/0 errors is fairly simple to see. The challenge will be, what should you do about it? Do you want to prevent all four of those cells from being 0? Do you need to change the formula to do something different when all four of those cells are 0?
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Complex formulas for my small business
    By jasonscott in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-16-2015, 08:52 PM
  2. Index and Small Formulas returning #N/A
    By Arnie P in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-04-2014, 11:20 AM
  3. formulas don't work...macros error?
    By crisvesh in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-15-2012, 08:16 AM
  4. Transpose wont work with Small(IF) formula
    By FrederikBjerre in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-28-2012, 09:02 AM
  5. Excel 2007 : Work Book in Small window
    By andybocchi in forum Excel General
    Replies: 1
    Last Post: 10-31-2010, 04:09 PM
  6. What is fastest for this? Small VBA or many worksheet formulas...?
    By Maria J-son in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-10-2005, 09:05 AM
  7. [SOLVED] Need help publish small work sheet to Web
    By AF in forum Excel General
    Replies: 3
    Last Post: 06-16-2005, 04:05 PM

Tags for this Thread

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