+ Reply to Thread
Results 1 to 4 of 4

Very wierd error unable to add numbers

  1. #1
    Registered User
    Join Date
    06-18-2019
    Location
    Bangalore, India
    MS-Off Ver
    10
    Posts
    1

    Very wierd error unable to add numbers

    I had copied some values from a website, and wanted the sum of them. there are two columns in particular that i require the sum of. One is the time taken and two are the numbers corresponding to the same. WHile I am able to add the time, I am unable to add the numbers. Its very wierd. I cant perform any operations on the numbers, tried googling and changing formatting etc.

    Please help (im not particularly new to excel, yet I have never seen anything like this -_-)
    Attached Files Attached Files

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Very wierd error unable to add numbers

    All the values in D1:D13 have a non-breaking space (char 160) at the end, so are being considered as text. Remove that trailing character, and then you can treat those values as numbers.

    Also, your formula in D14 doesn't make sense...
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: Very wierd error unable to add numbers

    Im sure you can do what olly says but
    =SUBSTITUTE(D1,CHAR(160),"")*1
    will turn the current entries into numbers that can be summed

  4. #4
    Registered User
    Join Date
    06-18-2019
    Location
    Vancouver, Canada
    MS-Off Ver
    Office 365
    Posts
    4

    Re: Very wierd error unable to add numbers

    Hi,

    You have a hidden space behind the number. First select all and change to Number format.

    Then select all the number cells, then tick replace under the "find & select" button in the ribbon. Under find what, you just hit the "space" on your keyboard once. Now you just see 0.00 (your numbers are very small). So use the adding decimals button until you have the number of decimals you want.

    Now you can calculate what ever you want with these numbers.

    Ian

+ 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. Wierd error
    By lompeluiten in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-01-2014, 10:12 AM
  2. Wierd Application-defined or object-definer error
    By stibay in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-08-2014, 03:57 PM
  3. 1004 Error due to nasty server - unable to error handle
    By PuppyOnTheRadio in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-08-2013, 06:39 AM
  4. Replies: 3
    Last Post: 11-08-2012, 07:25 PM
  5. Unable to Sort Numbers in PT?
    By skizz135 in forum Excel General
    Replies: 3
    Last Post: 09-23-2008, 04:13 PM
  6. Wierd Delayed function error....
    By chilipepr in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-05-2006, 04:11 PM
  7. [SOLVED] wierd error I cannot figure out
    By Antonio in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-11-2006, 04:40 PM

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