+ Reply to Thread
Results 1 to 11 of 11

Convert Text to Number - Large Database

Hybrid View

  1. #1
    Registered User
    Join Date
    08-30-2009
    Location
    U.S
    MS-Off Ver
    Excel 2007
    Posts
    7

    Convert Text to Number - Large Database

    Hello All,

    I need help! I've researched everyway to convert text t numbers. I'm running a database of inventory numbers. The format of the numbers are:

    ####-##-###-####

    I have 2000+ numbers is coloumn B.

    There are a lot of sets of numbers that are still text! It's highly annoying and I need to analyze the data in Access.

    I tried the paste special advice and the 3 ways microsoft suggests. I have a feeling its not working because of the required format that I need.

    I need to do this project tonight!

    Background: these are imported numbers, I had to combine other excel databases... By the way, is their an easier way to combine excel sheets into 1?


    THANKS SO MUCH!!
    Last edited by supplychain.dan; 08-30-2009 at 05:56 PM. Reason: give thanks

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Convert Text to Number - Large Database

    Assuming you want the numeric value of the number sans dashes,

    =substitute(a1, "-", "") + 0
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    08-30-2009
    Location
    U.S
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Convert Text to Number - Large Database

    No, there are numbers there like

    1234-01-123-1234

    like one of the rows has:

    1234 01 123 1234 as text

    and I need to convert it to it shows as:

    1234-01-123-1234 as a number

    I'd say there are a 500 mixed over the database

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Convert Text to Number - Large Database

    1234 01 123 1234 as text

    and I need to convert it to it shows as:

    1234-01-123-1234 as a number
    =substitute(a1, " ", "") + 0 and format as ####-##-###-####

  5. #5
    Registered User
    Join Date
    08-30-2009
    Location
    U.S
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Convert Text to Number - Large Database

    Sorry, I'm not sure how that's going to fix it...

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Convert Text to Number - Large Database

    It corrects your example, Dan.

    If your example doesn't encompass the problem, post a workbook.

+ 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