+ Reply to Thread
Results 1 to 12 of 12

Number from text

  1. #1
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,592

    Number from text

    How to get number if text is separated with space on several places:

    For example, number can be:

    0
    1 000
    10 000
    100 000
    1 000 000
    10 000 000

    (no need over 100 000 000, number can be any.. (like 23 429 332) but always separated as shown
    Last edited by zbor; 03-27-2009 at 09:30 AM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Number from text

    How about?

    =SUBSTITUTE(A1," ","")+0
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,592

    Re: Number from text

    Doesn't work... Give me an error.. if I remove +0 and leave only =SUBSTITUTE(G555;" ";"") it give me that number (with spaces)

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Number from text

    Maybe it is not a real space and a special character...

    try:

    =Clean(A1)+0

  5. #5
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,592

    Re: Number from text

    Nope
    Can you look here.. different problem... same workbook... (sheet 1, G)

    http://www.excelforum.com/excel-gene...ml#post2066157

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Number from text

    I don't see anything that looks like what you are describing above.

  7. #7
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Number from text

    Try this:
    Please Login or Register  to view this content.
    Does that help?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  8. #8
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Number from text

    Looks like CHAR(160) ...

    =0+SUBSTITUTE(cell reference,CHAR(160),"")

  9. #9
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,592

    Re: Number from text

    Works great

  10. #10
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Number from text

    Quote Originally Posted by DonkeyOte View Post
    Looks like CHAR(160) ...

    =0+SUBSTITUTE(cell reference,CHAR(160),"")
    Where did you see that?

  11. #11
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Number from text

    From the file zbor had uploaded to the other thread he/she referenced in post # 5

  12. #12
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Number from text

    Quote Originally Posted by DonkeyOte View Post
    From the file zbor had uploaded to the other thread he/she referenced in post # 5
    Yes, I know.. but I didn't see the cells in column G that had those numbers... maybe I am blind.

+ 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