+ Reply to Thread
Results 1 to 10 of 10

Correct text number to excel number format?

  1. #1
    Forum Contributor
    Join Date
    10-11-2012
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    358

    Correct text number to excel number format?

    I want to correct text number to an excel format number. The number is text and has dollar currency text symbol in front of it.

    Please see attached example sheet.
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    45,150

    Re: Correct text number to excel number format?

    Do two Replace Alls. The first, replace spaces with nothing; the second, replace $ sign with nothing.


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


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

    Re: Correct text number to excel number format?

    there are a couple ways. If you want you can use =--A2 and drag down. That'll convert them.
    another is to format as number then do a find and replace with one number at a time going from 0 through 9, that will fix them in the same column they are in now.
    if you use the first way you can also do a copy and paste special values over the original set and they should now be numbers.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    45,150

    Re: Correct text number to excel number format?

    @Sambo kid: =--A2 won't convert them; you'll just get #Value!

    Replace 0 through 9? Not sure how that would work

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

    Re: Correct text number to excel number format?

    @Sambo kid: =--A2 won't convert them; you'll just get #Value!

    Replace 0 through 9? Not sure how that would work
    Interesting, it worked on his attached sample.

    And the zero through nine replacement, I used to do that a lot when I was a novice. If you highlight the column and do a find and replace where you don't click on match entire cell contents then do find and replace >> find what 0, replace with 0, if they are text you'll see them immediately change to numbers. I've used it when I've had no luck changing formats from text to general to number, if they still won't change then I do that and you can see them change FWIW.

  6. #6
    Forum Contributor
    Join Date
    10-11-2012
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    358

    Re: Correct text number to excel number format?

    Ha...

    That Replace All trick worked! Awesome little trick, thank you!

  7. #7
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    45,150

    Re: Correct text number to excel number format?

    You're welcome.



    If you are satisfied with the solution(s) provided, please mark your thread as Solved.


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save


    You may also want to consider thanking those people who helped you by clicking on the little star at the bottom left of their reply to your question.

  8. #8
    Registered User
    Join Date
    07-10-2013
    Location
    Texas
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Correct text number to excel number format?

    I never knew that little replace trick! It's genius. I have been double clicking in each individual cell to change the formatting for YEARS! I am so happy you shared this trick, wish I would have learned about it sooner!

  9. #9
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    45,150

    Re: Correct text number to excel number format?

    @Carla: you're very welcome

  10. #10
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Correct text number to excel number format?

    This will convert the "numbers" to numbers. Enter in B2 and fill down.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Another way:
    Notice the little green triangles on the upper left of each cell which indicates that there is something to note about the cells. Select all the cells, click on the yellow rectangle and click on Convert to Number.
    Last edited by newdoverman; 09-11-2015 at 05:43 PM.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

+ 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. Chart not displaying correct number format?
    By Aland2929 in forum Excel General
    Replies: 6
    Last Post: 10-14-2012, 01:26 PM
  2. How do i format a 5 to 6 digit number into the correct date?
    By Arvi Laanemets in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 09-06-2005, 07:05 AM
  3. [SOLVED] How do i format a 5 to 6 digit number into the correct date?
    By Arvi Laanemets in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-06-2005, 06:05 AM
  4. How do i format a 5 to 6 digit number into the correct date?
    By Arvi Laanemets in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 09-06-2005, 04:05 AM
  5. How do i format a 5 to 6 digit number into the correct date?
    By date cell configuration in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 AM
  6. How do i format a 5 to 6 digit number into the correct date?
    By date cell configuration in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM
  7. [SOLVED] How do i format a 5 to 6 digit number into the correct date?
    By date cell configuration in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 PM
  8. [SOLVED] convert text-format number to number in excel 2000%3f
    By Larry in forum Excel General
    Replies: 1
    Last Post: 07-29-2005, 04:05 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