+ Reply to Thread
Results 1 to 4 of 4

Left/right find

  1. #1
    Forum Contributor
    Join Date
    07-17-2013
    Location
    Birmingham, England
    MS-Off Ver
    Excel for O365
    Posts
    197

    Left/right find

    Hi all,

    I have a range of text cells in A1:A6, formatted as such:

    (1)2080(2)Main Building(3)045(4)General Teaching(5)Basic Teaching(6)Basic Teaching
    (1)2080(2)Main Building(3)116(4)Circ/Anc(5)Other(6)Other
    (1)2080(2)Main Building(3)031(4)Science(5)Specialist Practical(6)Specialist Practical
    (1)2080(2)Main Building(3)060(4)Hall(5)Halls(6)Halls
    (1)2080(2)Main Building(3)128(4)Teaching Storage(5)Teaching Storage(6)Teaching Storage

    What I would like is for a formula to go in Column B that extracts the text found between (3) & (4) from the correspoding cell in Column A.

    Although in this instance the position of (3) is the same in every cell, this WILL move so was hoping to incorporate a FIND into whatever formula used.

    Expected Results...

    045
    116
    031
    060
    128


    Many thanks,

    Jason

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,941

    Re: Left/right find

    =MID(A1,SEARCH("(3)",A1)+3,SEARCH("(4)",A1)-SEARCH("(3)",A1)-3)
    try this formula
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Forum Contributor
    Join Date
    07-17-2013
    Location
    Birmingham, England
    MS-Off Ver
    Excel for O365
    Posts
    197

    Re: Left/right find

    Quote Originally Posted by nflsales View Post
    =MID(A1,SEARCH("(3)",A1)+3,SEARCH("(4)",A1)-SEARCH("(3)",A1)-3)
    try this formula
    Perfect, thank you very much!

  4. #4
    Valued Forum Contributor Hawkeye16's Avatar
    Join Date
    02-27-2013
    Location
    Holland
    MS-Off Ver
    ├•┤ Pew Pew
    Posts
    441

    Re: Left/right find

    Try
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    ninja'd, haha
    Despite the high cost of living, it remains very popular.

    Don't forget to mark threads SOLVED when you get an answer and rep all the geniouses that helped you today!

+ 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] Left with find?
    By namluke in forum Excel General
    Replies: 7
    Last Post: 06-14-2014, 02:51 PM
  2. [SOLVED] Left with Find vba
    By redmarko in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-22-2013, 05:01 PM
  3. IF FIND LEFT help
    By ScabbyDog in forum Excel General
    Replies: 5
    Last Post: 03-17-2013, 12:56 PM
  4. =FIND from right instead of left?
    By mewingkitty in forum Excel General
    Replies: 3
    Last Post: 11-27-2008, 04:16 AM
  5. Left, Right, Mid, Find...
    By Petitboeuf in forum Excel General
    Replies: 4
    Last Post: 02-27-2007, 11:12 AM

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