Excel: Finding data within a row within another row

Syringer

Lifer
Aug 2, 2001
19,333
2
71
That was confusing but hopefully this makes it clear..

Say I have two columns, in column A is:

a
d
f

And in column B is:

a452
b1914
c391
d481
e011
f9444

Basically I want to create a column C that will search all the values within col A that's contained with col B, so the end result would look like this:

a a452 TRUE
d b1914 FALSE
f c391 FALSE
d481 TRUE
e011 FALSE
f9444 TRUE

The 1st, 4th, and 6th columns are true because they contain either an "a", "d", or "f".

Is there formula that can do this?
 

imported_Dhaval00

Senior member
Jul 23, 2004
573
0
0
=IF(ISNUMBER(SEARCH(A1,B1)), TRUE, FALSE)

SEARCH is not case sensitive - if you want to perform a case sensitive search, replace SEARCH with FIND. As a side note, ISNUMBER is used because SEARCH and FIND return the starting index of the search term [if found].
 

Syringer

Lifer
Aug 2, 2001
19,333
2
71
That only compares the cell with the cell next to it though.

What I want is to compare each cell in col B to ALL the cells in A, so f9444 will be TRUE because there's an 'f' in Col A.

I tried this but it didn't work: =IF(ISNUMBER(SEARCH(B1,$A$1:$A$3)), TRUE, FALSE)
 

jersiq

Senior member
May 18, 2005
887
1
0
=SUM(IF(ISERROR(SEARCH($A$1:$A$3,B1)),,1))

And enter it as an array formula - Press Ctrl-Shift-Enter while in the formula bar. This will give the curly braces around the formula. You can enter it and drag fill and it will appear in the subsequent cells as an array formula already, provided you entered it the first time as an array formula.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |