+ Reply to Thread
Results 1 to 4 of 4

Formula to extract text

  1. #1
    Registered User
    Join Date
    02-27-2019
    Location
    Newcastle, Australia
    MS-Off Ver
    2016
    Posts
    6

    Formula to extract text

    Hi All,

    I am trying to create a formula to pull text from one cell into the next. I have attached a spreadsheet to explain in more detail:

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

    Re: Formula to extract text

    welcome to the forum. maybe something along:
    =TRIM(MID(SUBSTITUTE($I4,CHAR(10),REPT(" ",LEN($I4))),SEARCH(K$3,SUBSTITUTE($I4,CHAR(10),REPT(" ",LEN($I4))))+LEN(K$3)+2,LEN($I4)))

    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
    Registered User
    Join Date
    02-27-2019
    Location
    Newcastle, Australia
    MS-Off Ver
    2016
    Posts
    6

    Re: Formula to extract text

    That has definitely done the trick! Thank you so much

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,831

    Re: Formula to extract text

    Put this in K4:

    =IF(ISNUMBER(SEARCH("Group",I4)),MID(I4,SEARCH("group",I4)+7,FIND(CHAR(10),I4,SEARCH("group",I4)+1)-SEARCH("group",I4)-7),"")

    Hope this helps.

    Pete

+ 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] Need help with text extract formula
    By SEMMatt in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-10-2014, 01:56 PM
  2. Formula to extract text
    By nobodyukno in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-14-2014, 08:48 AM
  3. [SOLVED] Extract text from a string of text (amend formula to include new criteria)
    By robertguy in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-10-2013, 04:53 PM
  4. [SOLVED] Help with a formula to extract text
    By SEMMatt in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-23-2012, 11:10 AM
  5. Extract formula text
    By blachloch in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-11-2012, 04:14 PM
  6. I need help with text Extract Formula
    By Chirayu Amin in forum Excel General
    Replies: 2
    Last Post: 08-02-2009, 08:33 AM
  7. Can I extract text as a value from a formula?
    By Amy O in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-07-2005, 09:06 PM

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