EXCEL 2010 Check if sub string value in cell match with other string from range of cells

Posted by gotqn on Super User See other posts from Super User or by gotqn
Published on 2012-03-01T09:40:17Z Indexed on 2013/10/26 22:02 UTC
Read the original article Hit count: 284

I am stuck with this one from hours.

I have range with cells with string values:

A1 text1

A2 text2

An text3

And other column with other string values like:

B1 text1sampletext

B2 text2sampletext

B3 text3sampletext

B4 text1sampletext

B5 text1sampletext

I have to check if text in column A is sub string of text in column B. If it is, to set in column C the text from column A.

Like this:

B1 text1sampletext - C1 text1

B2 text2sampletext - C1 text2

B3 text3sampletext - C1 text3

B4 text1sampletext - C1 text1

B5 text1sampletext - C1 text1

© Super User or respective owner

Related posts about microsoft-excel

Related posts about search