+ Reply to Thread
Results 1 to 6 of 6

Excelling not summing as expected.

  1. #1
    Registered User
    Join Date
    02-21-2014
    Location
    Trinidad
    MS-Off Ver
    Excel 2003
    Posts
    13

    Excelling not summing as expected.

    Hello,

    A report was done using BI Publisher and exported to excel. However, when exported, the values appear as text. I converted it to number by multiplying by one however, when i do an auto sum i am not getting the expected result as the sum.
    Can you tell why this is so and what can be done to rectify the issue.
    Please see attached.
    Attached Files Attached Files

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.85 for Mac MS 365
    Posts
    8,518

    Re: Excelling not summing as expected.

    where did you do the multiplication?
    Starting in B2 I put in =A2*1 and copied down and the two column totals match.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Registered User
    Join Date
    02-21-2014
    Location
    Trinidad
    MS-Off Ver
    Excel 2003
    Posts
    13

    Re: Excelling not summing as expected.

    Quote Originally Posted by Sambo kid View Post
    where did you do the multiplication?
    Starting in B2 I put in =A2*1 and copied down and the two column totals match.
    Hello,
    I entered 1 in a blank column and use the space paste special option and multiplied. I tried what you did and i am getting '#VALUE!' appearing in some fields (see column B in attachment) as some is not converted to number. The actual sheet have several columns that i would want the fields to properly convert to number as i am going to copy this sheet as the master sheet on another workbook. How can i achieve this?
    Attached Files Attached Files

  4. #4
    Forum Expert Roel Jongman's Avatar
    Join Date
    03-28-2015
    Location
    Netherlands
    MS-Off Ver
    Office 365
    Posts
    1,483

    Re: Excelling not summing as expected.

    Hi roxsingh,

    The trick of multiplying by one is not working well because you also have 1000 separators in the numbers. this makes your conversion trick fail
    Another (fast) trick to convert back to numbers is to do 2 search and replace action where the order is important.

    your file has the comma > , as thousand separator. you want to remove those first.
    Select the column that contrains the texted numbers
    Put the comma in the search box an keep replace empty then choose replace all
    Result>all comma's are removed from the numbers

    now while column still selected
    Put the point > . into the search box and put the comma in the replace box
    and select replace all
    Results > now your numbers are converted to real numbers again and problems with summing should be gone.

  5. #5
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.85 for Mac MS 365
    Posts
    8,518

    Re: Excelling not summing as expected.

    I just double clicked on the bottom right of your second sample and it automatically filled down column B and replaced the value errors with numbers.

  6. #6
    Registered User
    Join Date
    02-21-2014
    Location
    Trinidad
    MS-Off Ver
    Excel 2003
    Posts
    13

    Re: Excelling not summing as expected.

    Quote Originally Posted by Roel Jongman View Post
    Hi roxsingh,

    The trick of multiplying by one is not working well because you also have 1000 separators in the numbers. this makes your conversion trick fail
    Another (fast) trick to convert back to numbers is to do 2 search and replace action where the order is important.

    your file has the comma > , as thousand separator. you want to remove those first.
    Select the column that contrains the texted numbers
    Put the comma in the search box an keep replace empty then choose replace all
    Result>all comma's are removed from the numbers

    now while column still selected
    Put the point > . into the search box and put the comma in the replace box
    and select replace all
    Results > now your numbers are converted to real numbers again and problems with summing should be gone.
    Hello,
    I got through with the first find and replace and then did teh multiplication by 1.
    Thanks soo 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. Expected table is not in the expected format - ADODB Connection to Read Only Excel file
    By Roshan10043 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-05-2018, 10:54 AM
  2. [SOLVED] Summing Tiles and Summing Tile Decors
    By makinmomb in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 07-09-2014, 12:15 AM
  3. [SOLVED] Help with Summing Duplicates, deleting rows after summing and filling col. for unsummed
    By solidrock1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-04-2014, 09:11 AM
  4. VBA Expected Value Computations
    By tesfamichael in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-22-2009, 02:56 PM
  5. too few parameters. expected 1.
    By wander in forum Excel General
    Replies: 1
    Last Post: 07-06-2008, 08:00 AM
  6. Excel 2003 Not Excelling in Handling 2000 .xls File
    By pands in forum Excel General
    Replies: 4
    Last Post: 02-27-2007, 05:56 PM
  7. Summing Columns-revolves around summing particular items
    By savv32 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-06-2005, 09: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