+ Reply to Thread
Results 1 to 5 of 5

Text Seperator

  1. #1
    Forum Contributor
    Join Date
    02-10-2007
    Location
    Manchester, England
    MS-Off Ver
    2013
    Posts
    133

    Text Seperator

    I want to extract text from cell A into cell B, have tried text to columns option, but the names in A are not in a straight line, so cannot use fixed length and when i use the delimited option i don't want spaces.

    i have got the latest football fixtures and they are like this


    Saturday, 09 August 2008
    Birmingham v Sheff Utd, 15:00
    Blackpool v Bristol City, 15:00
    Cardiff v Southampton, 15:00
    Charlton v Swansea, 15:00
    Coventry v Norwich, 15:00
    Crystal Palace v Watford, 15:00
    Derby v Doncaster, 15:00
    Ipswich v Preston, 15:00
    Nottm Forest v Reading, 15:00
    Plymouth v Wolverhampton, 15:00
    QPR v Barnsley, 15:00
    Sheff Wed v Burnley, 15:00

    i want to be able to put the away team in cell B, how can i do this

  2. #2
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile

    Good afternoon Sheepkin_Coat

    Assuming your values in column A start at cell A1, does this work OK for you :

    =MID(A1,FIND("v ",A1)+2,FIND(",",A1)-FIND("v ",A1)-2)

    HTH

    DominicB
    Please familiarise yourself with the rules before posting. You can find them here.

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    I assume you mean the second team in each entry:

    Try,

    =MID(A1,FIND(" v ",A1)+3,FIND(",",A1)-FIND(" v ",A1)-3)
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  4. #4
    Forum Contributor
    Join Date
    02-10-2007
    Location
    Manchester, England
    MS-Off Ver
    2013
    Posts
    133
    Quote Originally Posted by NBVC
    I assume you mean the second team in each entry:

    Try,

    =MID(A1,FIND(" v ",A1)+3,FIND(",",A1)-FIND(" v ",A1)-3)
    yes i do mean the second team, thanks

    and how do i get rid of the second team and the v and the time from cell A

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Try:

    =LEFT(A1,FIND(" v ",A1)-1)

+ 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