+ Reply to Thread
Results 1 to 4 of 4

Combining MID, RIGHT & FIND Functions

  1. #1
    Registered User
    Join Date
    06-04-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    27

    Combining MID, RIGHT & FIND Functions

    Hey everyone,

    I'm having a few issues with a formula that I'm trying to use to extract a varying amount of text from a cell;

    10/01/2016 Property 5 (1) UK
    12/05/2011 Property 2 Reg. 003 (1) USA
    01/04/1996 Property 112 and Property 116 (1) Spain

    Basically the text between the date and "(1)" (in bold) will be what I am trying to extract, though the length of this text varies a great deal. The date will always be in the above format, with the odd exception (e.g. 12/2002, omitting the day) and the "(1) will remain constant as marking the end of the required text.

    I currently have been toying with the following formula which omits the date and returns the remaining text, but unfortunately have not been able to work out how to combine this with another formula to trim the text "(1)" onwards;

    =MID(A1,FIND(" ",A1)+1,256)

    Any help would be much appreciated!

    Thanks in advance.

    Tom

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

    Re: Combining MID, RIGHT & FIND Functions

    Perhaps:

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


    should account for varying date formats

  3. #3
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Combining MID, RIGHT & FIND Functions

    Try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  4. #4
    Registered User
    Join Date
    06-04-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    27

    Re: Combining MID, RIGHT & FIND Functions

    Fantastic!

    Thank you both v. much, both formulas worked perfectly

    Thanks,

    Tom

+ 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] Combining IF and Sum functions.
    By dowell89 in forum Excel General
    Replies: 7
    Last Post: 11-11-2013, 09:10 AM
  2. Combining 3 IF functions
    By Attrition in forum Outlook Formatting & Functions
    Replies: 6
    Last Post: 05-24-2013, 12:33 AM
  3. Combining multiple functions>lookup/sum functions
    By mush106 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-22-2013, 07:47 AM
  4. Combining IF OR and AND functions
    By andyp161 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-20-2006, 01:10 PM
  5. Combining IF AND & FIND Functions
    By Steve in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-30-2006, 10:10 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