+ Reply to Thread
Results 1 to 3 of 3

Extracting text and numbers into their own columns

  1. #1
    Registered User
    Join Date
    05-17-2017
    Location
    Finland
    MS-Off Ver
    Microsoft Office 2010
    Posts
    1

    Extracting text and numbers into their own columns

    Hello,

    I have a set of data in one cell which I want to extract into their own columns.
    An example of the data I have is here:

    (row 1) Cats 546,6 9,8 % 110,0 31,3 %
    (row 2) Cars and Airplanes 111,0 11,5 % 569,0 0,9 %

    I want to extract the data from each cell into 5 separate columns like this: text, number, percentage number, number, percentage number (the percentage mark can be included).
    The text might contain one or multiple words and "-" signs as well. Numbers and percentage marks will be presented in the same way always.

    I guess this could be done by recognizing the first number of each set but I was unable to do it.
    Appreciate your help!

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Extracting text and numbers into their own columns

    Hi excelentt and welcome to the forum,

    Have you tried Text to Columns?

    https://support.office.com/en-us/art...A-7A3E9C363ED7
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,935

    Re: Extracting text and numbers into their own columns

    Assume you have string in A1 then Try

    B1
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.

    C1
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Drag towards the cell.

    Check the attached file.
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

+ 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. [SOLVED] separating or extracting numbers between two strings into two columns
    By paradise2sr in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-13-2014, 07:54 AM
  2. [SOLVED] Extracting numbers from text?
    By shiftyspina in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 01-15-2014, 11:10 AM
  3. [SOLVED] extracting numbers from a string of text and numbers
    By ScottLor in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-05-2013, 04:47 PM
  4. Extracting numbers and text from inconsistent text/number formatted string
    By Brandivil in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-25-2013, 01:46 PM
  5. [SOLVED] Extracting Numbers from text
    By hoventim in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 12-11-2012, 09:08 AM
  6. Extracting numbers from columns
    By svdkruis in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-03-2012, 07:41 AM
  7. Replies: 17
    Last Post: 03-03-2010, 06:55 PM

Tags for this Thread

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