+ Reply to Thread
Results 1 to 3 of 3

Extracting text from a cell.

  1. #1
    Registered User
    Join Date
    09-06-2012
    Location
    New York
    MS-Off Ver
    Excel 2003
    Posts
    28

    Extracting text from a cell.

    Hi There. I was given a speadsheet that contains multiple lines of text in one cell. See below for an example.

    A1
    IB008
    IT003
    IT135

    Is there a formula I could use where I would be able to extract any text that begins with "I". So in this instance, the output would be:

    A1 B1 C1
    IB008 IT003 IT135
    IT003
    IT135


    Thanks!

  2. #2
    Forum Contributor
    Join Date
    01-17-2012
    Location
    Canada
    MS-Off Ver
    Excel 365
    Posts
    221

    Re: Extracting text from a cell.

    transpose.xlsx

    Hi sujithr254,

    Does this help? I found transposing the cell value first then searched for LEFT, MID & RIGHT text in separate cells helped extract the required values.
    Regards,

    jeversf

  3. #3
    Forum Expert icestationzbra's Avatar
    Join Date
    01-07-2004
    MS-Off Ver
    2007, 2010
    Posts
    1,421

    Re: Extracting text from a cell.

    if your multi-line data are in A1, put this in cell B1 and drag-fill right:

    Please Login or Register  to view this content.
    you will see all the words (IB008, IT003, IT135) being split out into separate cells (in this case, B1, C1 and D1). however, if you intend to only fetch words starting with the letter "I", then, this formula will not do. revert here in case that is what you are looking to do.
    - i.s.z -
    CSE, aka Array aka { }, formulae are confirmed with CONTROL+SHIFT+ENTER.
    Replace commas ( , ) with semicolons ( ; ) in formulae, if your locale setting demands.
    All good ideas are courtesy resources from this forum as well as others around the web.
    - e.o.m -

+ 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