+ Reply to Thread
Results 1 to 7 of 7

Separating information from a single cell

  1. #1
    Registered User
    Join Date
    12-06-2006
    Posts
    13

    Separating information from a single cell

    I have a column with the information like the following: 20016ConsumerHD

    I'm trying to separate the number (20016) from the name (ConsumerHD), is there any way to do this? The number is always 5 characters long, maybe pull the first 5 characters?

  2. #2
    Forum Contributor snasui's Avatar
    Join Date
    07-15-2007
    Location
    Songkhla, Thailand
    MS-Off Ver
    2010, 365
    Posts
    167
    Quote Originally Posted by rofl
    I have a column with the information like the following: 20016ConsumerHD

    I'm trying to separate the number (20016) from the name (ConsumerHD), is there any way to do this? The number is always 5 characters long, maybe pull the first 5 characters?
    Try this:

    Suppose your data is in A1

    B1

    =Left(A1,5)

    Enter

    Hope this helps.

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

    =Left(A1,5)+0 to get the number

    and =Mid(A1,6,255) to get the text
    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.

  4. #4
    Registered User
    Join Date
    12-06-2006
    Posts
    13
    Wow, thanks guys! I wish I knew what to search for in the excel help so I can find these commands myself... I need a help file for the help file.

  5. #5
    Forum Contributor wmorrison49's Avatar
    Join Date
    09-25-2007
    Posts
    267
    Text To Columns is always a helpful item for me. You can find it under the Data option in the main toolbar. This gives a more visual way of doing the same thing.

  6. #6
    Registered User
    Join Date
    11-27-2012
    Location
    Michigan
    MS-Off Ver
    Excel 2010
    Posts
    66

    Re: Separating information from a single cell

    This function will not work for me (I am using a date). I referenced a cell with a date AND a time and I only need the date (the first 12 characters). That formula is giving me a weird output. =LEFT('Qualtrics Output'!I3,12)+0 changes nothing and =LEFT('Qualtrics Output'!I3,12) gives me 41239.525601. The referenced cell is 11/26/2012 12:36.

  7. #7
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Separating information from a single cell

    its a matter of formatting.
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

+ 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