+ Reply to Thread
Results 1 to 6 of 6

Excel SUM function always returns a zero issue.

  1. #1
    Registered User
    Join Date
    09-03-2015
    Location
    Yorkshire
    MS-Off Ver
    2016 32bit
    Posts
    43

    Excel SUM function always returns a zero issue.

    Hi there,

    I am trying to make a cumulative list of values, that checks against the wins/lost and add the total.
    However, whatever I try the cumulative columns always return a 0.

    Any idea what's up? - Below is the sheet, one in formula view and the other regular, as well as my formula settings.

    Ta for any help anyone can give me.
    Regards,
    Luke.

    KEB9zYC.png

    tOR0HXD.png

    PjdJbJc.png

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

    Re: Excel SUM function always returns a zero issue.

    Remove the quote marks from all the numbers in your formulas.

    "1" is NOT a number, it's a TEXT string, and is ignored by the SUM formula
    1 IS a number, and will be added in the SUM formula.

  3. #3
    Valued Forum Contributor
    Join Date
    02-07-2013
    Location
    Philippines
    MS-Off Ver
    Excel Online; 365
    Posts
    633

    Re: Excel SUM function always returns a zero issue.

    try removing the " " in your if statement..

    ex: =IF(H13="Lost",1,0)
    If I've helped U pls click on d *Add Reputation

  4. #4
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,645

    Re: Excel SUM function always returns a zero issue.

    Lose the " around 1 and 0 in the formulas in column K and L.

    Or change to using COUNTIF.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If posting code please use code tags, see here.

  5. #5
    Registered User
    Join Date
    09-03-2015
    Location
    Yorkshire
    MS-Off Ver
    2016 32bit
    Posts
    43

    Re: Excel SUM function always returns a zero issue.

    Cheers, that was exactly the problem.

    All solved now thankyou.

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

    Re: Excel SUM function always returns a zero issue.

    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)

Similar Threads

  1. Excel search function - That alo returns near value
    By aaron_burr in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-18-2014, 04:42 AM
  2. [SOLVED] Ranking issue, returns #num! and #div/0! for a few rows
    By jagerstal in forum Excel General
    Replies: 2
    Last Post: 04-10-2012, 11:34 AM
  3. Excel function that returns unique count for data using wildcard
    By htmler in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-24-2012, 12:23 PM
  4. IF Statement Issue - returns another number
    By jonnya in forum Excel General
    Replies: 1
    Last Post: 01-25-2011, 06:29 AM
  5. Excel function LARGE returns error 'too few arguments'
    By Browndoff in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-26-2006, 05:00 PM
  6. [SOLVED] Excel returns @name? error when using a custom written function in
    By Al Maher in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-13-2006, 08:35 AM
  7. Replies: 2
    Last Post: 02-28-2006, 01:15 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