+ Reply to Thread
Results 1 to 6 of 6

Cell not recognised as a number when using Sum function, or AutoCalc

  1. #1
    Registered User
    Join Date
    03-26-2015
    Location
    Queensland, Australia
    MS-Off Ver
    2010
    Posts
    5

    Cell not recognised as a number when using Sum function, or AutoCalc

    Dear All,

    I am using Excel 2010

    I have a spreadsheet with two tabs. Tab A has calculations in it and Tab B refers to the cells in Tab A. For example, Tab A has a formula in Cell F16 to extract numbers from a number and text combination in E16, {=LEFT(E16, LEN(E16)-3)}. I then get that number into Tab B with {='Tab A'!F16}. The right numbers are displayed in Tab B. I then SUM the values in Tab B for use in other formulas. However, not all the values are included in the SUM. Even the AutoCalc at the bottom of the screen doesn't recognise the values as numbers. I noticed when I copied the values and pasted them somewhere else as numbers, the ones that aren't recognised in the SUM are left justified, meaning that they could be text although they are formatted as general. Is there any way to ensure that the numbers that look like numbers and are either formatted as Numbers or General are treated as numbers?

    Any suggestions?

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,779

    Re: Cell not recognised as a number when using Sum function, or AutoCalc

    Do you have a sample workbook?
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Contributor
    Join Date
    07-10-2012
    Location
    Bangladesh
    MS-Off Ver
    Excel 2007
    Posts
    129

    Re: Cell not recognised as a number when using Sum function, or AutoCalc

    there must be space or non numeric character in formula result
    copy and paste(choose Value option )all formula result in one column
    try to align cell for right alignment you will find difference in cell which contain non numeric charachter

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Cell not recognised as a number when using Sum function, or AutoCalc

    Quote Originally Posted by Origin528 View Post
    =LEFT(E16, LEN(E16)-3)
    The LEFT function returns a TEXT value even if it looks like a number.

    One way to convert the text number to a numeric number:

    =--LEFT(E16, LEN(E16)-3)
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  5. #5
    Registered User
    Join Date
    03-26-2015
    Location
    Queensland, Australia
    MS-Off Ver
    2010
    Posts
    5

    Thumbs up Re: Cell not recognised as a number when using Sum function, or AutoCalc

    Thanks Tony. Problem solved by putting -- in front of the formula. Thanks.
    Haven't had enough experience to work out how to note that this is solved.

  6. #6
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Cell not recognised as a number when using Sum function, or AutoCalc

    You're welcome. Thanks for the feedback!


    If your question has been solved please mark the thread as being solved.

    In the menu bar above the very first post select Thread Tools, then select Mark this thread as solved.

+ 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. [SOLVED] Dates recognised when recording Macro, but not recognised when running it.
    By Ochimus in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-21-2015, 10:19 AM
  2. [SOLVED] Number not recognised
    By WHelp in forum Excel General
    Replies: 9
    Last Post: 03-07-2013, 12:54 PM
  3. number not recognised by Match function
    By st!ngray in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 01-28-2013, 05:57 AM
  4. Format cell to recognised UK postcode
    By Andrew-Mark in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 10-22-2012, 02:35 PM
  5. My first macro - doesnt work - function not recognised
    By James Cornthwaite in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-14-2006, 12:20 PM
  6. [SOLVED] how do i change 20050614 within in a cell to a recognised date
    By daiblackburn in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-06-2005, 06:05 AM
  7. how do i change 20050614 within in a cell to a recognised date
    By Richard carpenter @ uniq in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 01:05 AM

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