+ Reply to Thread
Results 1 to 1 of 1

Average returning #div/0 and sum/count returning 0

  1. #1
    Registered User
    Join Date
    01-15-2013
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    53

    Average returning #div/0 and sum/count returning 0

    I have this formula:
    Please Login or Register  to view this content.
    Which returns a list like this:
    N/A
    4
    4
    4
    2
    N/A
    2
    4
    3
    3

    I'm trying to average the numbers for males and females:
    Please Login or Register  to view this content.
    But this returns a #div/0 error. I then tried using count and sum and they both return 0. I set the format of the cells to numbers, which made no difference.

    I've recently been upgraded to windows 10 and Excel 2013 and I'm noticing some odd things, with formula's that used to work with multiple data types returning #NA errors but then working after they were inputted again. Any ideas?

    Edit: I've just noticed that the numbers resulting from the first formula are aligned on the left, rather than the right. The formula is used in four locations, all behave the same way. I use a similar If formula elsewhere and that functions perfectly fine. The formula itself returns the right results.

    Edit2: Cracked it - It's the "" around the numbers, means they aren't treated as numerical data and thus the formulas don't work. Remove the " and it all works.
    Last edited by Sinnie; 02-12-2016 at 12:09 PM.

+ 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. Returning Average value while excluding error values
    By Stromming in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-02-2014, 04:13 PM
  2. Returning average of Column A when Columns B and C are consistent
    By devetten in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-09-2014, 01:33 PM
  3. Pivot Table Average of Count returning #DIV/0
    By BlueMoonNJ in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 04-08-2014, 04:38 PM
  4. Average of 98.44% & 85.63% returning result = 0.00%
    By Quiche IT in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-15-2013, 04:01 PM
  5. Replies: 2
    Last Post: 06-27-2012, 01:57 PM
  6. Replies: 3
    Last Post: 05-03-2012, 04:00 PM
  7. Formula sometimes returning correct answer and sometimes returning 0
    By redimp in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-09-2010, 06:28 AM

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