+ Reply to Thread
Results 1 to 6 of 6

find text before specific text

  1. #1
    Registered User
    Join Date
    04-14-2015
    Location
    India
    MS-Off Ver
    2013
    Posts
    127

    find text before specific text

    Hi,

    I wanna find text before fixed text in cell D2.

    File attached.

    Regards,
    Vikas
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: find text before specific text

    put formula in b2 and fill down
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Forum Contributor
    Join Date
    03-11-2014
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    379

    Re: find text before specific text

    Hi Vikas,

    Try this =IFERROR(LEFT(A2,SEARCH($D$2,A2)-1),"")

    Even if the data is case-sensitive; SEARCH function will take care of.

    Cheers!

    Regards,
    AM

  4. #4
    Forum Contributor
    Join Date
    01-28-2014
    Location
    Turkey
    MS-Off Ver
    Excel 2013
    Posts
    159

    Re: find text before specific text

    For B2 cell

    Please Login or Register  to view this content.
    then pull down

  5. #5
    Registered User
    Join Date
    04-14-2015
    Location
    India
    MS-Off Ver
    2013
    Posts
    127

    Re: find text before specific text

    Thanks to all humdingaling, ashishmehra2010 & Ali Kırksekiz 3 of you

    I got the solution.

    Learnt the difference between SEARCH & FIND function. Thanks again.

    Vikas
    Last edited by kisanvikas2015; 05-06-2015 at 01:49 AM.

  6. #6
    Forum Contributor
    Join Date
    03-11-2014
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    379

    Re: find text before specific text

    Hi Vikas,

    I am happy for you that you learn some thing new today.

    Please take a moment & mark the thread as SOLVED.

    Regards,
    AM

+ 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] VBA to Find Specific Text, then Copy range to next open cell under specific text
    By Remotruker in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-24-2015, 10:59 AM
  2. [SOLVED] Search through columns and find specific text and replace that text with header column
    By adamzee in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-09-2014, 11:59 PM
  3. InStr function doesn't find specific text, but finds any text in column and runs code
    By mikey3580 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-27-2014, 03:50 AM
  4. Replies: 2
    Last Post: 08-05-2013, 07:32 PM
  5. [SOLVED] Find Specific Text in Text String and Return Value in Adjacent Column
    By watchouse in forum Excel General
    Replies: 2
    Last Post: 07-11-2012, 03:53 PM

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