• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Return text from within the text by matching certain keyword

Hi,

I am looking for a formula which searches for a particular text from a column and return the desired text into column C.

For example, the formula will look for text "Submitted" in column A, and wherever it finds the text, then it will exclude the text "Submitted" and just return the date in adjacent cell of column C.

As an example, when the formula searches through column A for text "Submitted", then it will find the first cell with text "Submitted" in cell A6, then it will just return the date from that cell to C6 as "July 26 2006". It will repeat the same exercise for all the cells.

Regards,
Manish
 

Attachments

  • Data.xlsx
    14.9 KB · Views: 13
In C3 copied down:

=IFERROR(IF(SEARCH($C$2,A3)=1,SUBSTITUTE(A3,"Submitted ",""),""),"")
 
Back
Top