+ Reply to Thread
Results 1 to 3 of 3

Formula for manipulating text (delimited)?

Hybrid View

  1. #1
    Forum Contributor tangcla's Avatar
    Join Date
    06-04-2008
    Location
    Melbourne, Australia
    MS-Off Ver
    2010
    Posts
    136

    Formula for manipulating text (delimited)?

    So, I have a number of text strings which look something like this, but many more of them:

    13wk Full Outcome Brokered Stream 2 0-12
    13wk Pathways Outcome Brokered Stream 3 13-60
    13wk Full Outcome Assisted Stream 4 60+


    I want to create a new column which will identify if the cells contain the word "Brokered", and the difficulty is that the character reference is not consistent across various fields.

    Is there a formula which can basically look at a text string and get me the information I need?

    edit: I ended up using this, which is a bit crude...
    =IF(TRIM(LEFT(RIGHT(B3,23),9))="e Brokere","Brokered",IF(TRIM(LEFT(RIGHT(B3,23),9))="e Assiste","Assisted",TRIM(LEFT(RIGHT(B3,23),9))))
    Last edited by tangcla; 04-27-2010 at 03:19 AM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Formula for manipulating text (delimited)?

    would something along the lines of:

    =LOOKUP(2,1/SEARCH({"@"," Brokered "," Assisted "},B3&"@"),{"","Brokered","Assisted"})

    work for you ?
    (above assumes @ never appears within the strings)

  3. #3
    Forum Contributor tangcla's Avatar
    Join Date
    06-04-2008
    Location
    Melbourne, Australia
    MS-Off Ver
    2010
    Posts
    136

    Re: Formula for manipulating text (delimited)?

    I'm not sure. I'll have to try it tomorrow

+ 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