+ Reply to Thread
Results 1 to 8 of 8

Excel Sum results Zero

Hybrid View

  1. #1
    Registered User
    Join Date
    05-14-2014
    Location
    Kuwait
    MS-Off Ver
    Excel 2019
    Posts
    46

    Excel Sum results Zero

    Why the sum result is zero?
    Attached Files Attached Files
    Last edited by kashifshahzad; 09-22-2018 at 05:23 AM.

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,943

    Re: Excel Sum results Zero

    I suspect it is because your values are stored as text rather than numbers.
    I cannot confirm this because I haven't opened the file.

    Why not make life easier for those you are asking for help but attaching the file to the forum rather than a link to it?

    BSB

  3. #3
    Registered User
    Join Date
    05-14-2014
    Location
    Kuwait
    MS-Off Ver
    Excel 2019
    Posts
    46

    Re: Excel Sum results Zero

    sorry, i don't know how to attach a file here.

  4. #4
    Registered User
    Join Date
    05-14-2014
    Location
    Kuwait
    MS-Off Ver
    Excel 2019
    Posts
    46

    Re: Excel Sum results Zero

    i have attached the file now.

  5. #5
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,706

    Re: Excel Sum results Zero

    As advised by BSB, your values are not numbers rather they are text (including currency code).

    Assuming you cannot / do not wish to change format of your source values you will need to use an alternate to SUM, e.g.:

    Formula: copy to clipboard

    =SUMPRODUCT(REPLACE(B2:B20,1,4,"")+0)

    returns 9,227,073.00


    above assumes that currency code may deviate from PKR

  6. #6
    Registered User
    Join Date
    05-14-2014
    Location
    Kuwait
    MS-Off Ver
    Excel 2019
    Posts
    46

    Re: Excel Sum results Zero

    Thanks for giving formula it worked. what if i don't want to use formula and change the format. i tried to change the format but still zero zero.

  7. #7
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,706

    Re: Excel Sum results Zero

    Sorry, by change the format I mean you would need to store as numbers, storing the ISO currency code in a different column...

    If PKR is the only currency you have, and you have stored the numbers in Column B, you can technically apply a Custom Number Format of "PKR" #,##0, but I think that's of limited value. Generally speaking, store numbers as numbers, and keep any related text separate.

  8. #8
    Registered User
    Join Date
    05-14-2014
    Location
    Kuwait
    MS-Off Ver
    Excel 2019
    Posts
    46

    Re: Excel Sum results Zero

    Thanks you very much

+ 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. Replies: 1
    Last Post: 03-20-2017, 06:37 AM
  2. SUMIF Results - Excel 2010 vs Excel 2013
    By ceagle in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-22-2013, 04:25 PM
  3. Excel VBA Run Crystal Reports from Excel and Return Results
    By infiltraitor in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-15-2013, 04:15 PM
  4. Replies: 14
    Last Post: 06-27-2012, 04:26 PM
  5. Replies: 3
    Last Post: 03-31-2010, 11:47 AM
  6. [SOLVED] Conditional Sum Argument results do not equal cell results Excel
    By Randy R Mullins in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-09-2006, 02:19 PM
  7. Replies: 0
    Last Post: 01-19-2006, 07:03 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