+ Reply to Thread
Results 1 to 3 of 3

Numbers that are not treated as numbers

  1. #1
    Registered User
    Join Date
    05-08-2007
    Posts
    1

    Numbers that are not treated as numbers

    I have a problem with a report which is generated using another business reporting tool.
    In the column that displays amounts, not all the numbers are treated as such. There is a space acting as a 1000 separator, and in order to have these amonts act like numbers I need to remove this space. If I try to use the Replace function and substitute space for nothing, there is no change.
    Does anybody know what causes some of the numbers to be displayed correctly as numbers and other incorrectly, and hopefully how to fix this?
    I'd be grateful for any and all tips!

    RE

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,454
    Hi.

    Try this;

    =VALUE(SUBSTITUTE(A1," ",""))

    to remove the space and convert to a number.

    Excel is treating the imported information as text, probably because of the space. The VALUE function converts this "numerical text" back into a number.
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

  3. #3
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326
    Welcome to the board
    Using XL2003 replacing a space with nothing worked perfectly.
    Could you past a sample of your data?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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