View Poll Results: how to identify the text?

Voters
1. This poll is closed
  • i appreciate immediate response

    1 100.00%
  • formula is best choice

    0 0%
Results 1 to 16 of 16

get the text from one string

Threaded View

  1. #7
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: get the text from one string

    Not sure that works Martin

    Best I can see at the moment is
    =LEFT(SUBSTITUTE(SUBSTITUTE( A2,IF(LEFT(A2,6)="ZG_HU_","ZG_HU_","ZG_HA_"),""),"ECC_",""),FIND("_",SUBSTITUTE(SUBSTITUTE( A2,IF(LEFT(A2,6)="ZG_HU_","ZG_HU_","ZG_HA_"),""),"ECC_",""),1)-1)

    Or to simplify use two columns
    B2
    =SUBSTITUTE(SUBSTITUTE( A2,IF(LEFT(A2,6)="ZG_HU_","ZG_HU_","ZG_HA_"),""),"ECC_","")
    C2
    =LEFT(B2,FIND("_",B2,1)-1)

    But I'm pretty sure there will be more wobblies yet.

    [EDIT]
    Where the Check list shows FALSE the source string was changed for testing for errors.
    And
    Some of the business roles have more than 5 characters
    Last edited by Marcol; 02-09-2011 at 06:10 AM. Reason: Added attachment

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