+ Reply to Thread
Results 1 to 3 of 3

Extract certain numbers from a column of text cells

  1. #1
    Registered User
    Join Date
    07-05-2012
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    1

    Extract certain numbers from a column of text cells

    Dear community, thank you for helping me. I tried "Text to columns". It works, but I'm trying to automate this so I can finish faster.

    I'm trying to extract the "slide number" and "section number" out of the following cells in a column, and count the number of sections on each slide
    From this column of cells:

    90 ChAT slide 3 section 3 40x1
    90 ChAT slide 3 section 4 40x1
    90 ChAT slide 3 section 4 40x2
    90 ChAT slide 4 section 3 40x1
    90 ChAT slide 4 section 4 40x2

    Get this output:

    slide # Section #
    3 3
    3 4
    3 4
    4 3
    4 4

    The ideal output I want is counts:

    section # slide 3 slide 4
    3 1 1
    4 2 1

    I know this is asking a lot, but any part you can help would be really appreciated. If I can only get the slide and section # in 2 columns, that would be great.

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Extract certain numbers from a column of text cells

    hi yangliu2, does this solve your problem? there are also formulas to find out unique values from your list if you have more than just 3 & 4
    Attached Files Attached Files

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Extract certain numbers from a column of text cells

    Welcome to the forum, yangliu2.

    If all you want is the final output then:

    Your sample data in A2:A6
    In G1: 3 (slide #)
    In H1: 4 (slide #)
    In F2: 3 (section #)
    In F3: 4 (section #)
    In G2:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    dragged over and down

+ 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