J
J
jazzus2019-12-25 05:34:20
excel
jazzus, 2019-12-25 05:34:20

How to check if a cell contains data from a column?

It is necessary to check if the cell contains a text value from the adjacent column (a range of filled cells) and if it contains, return 1 in the third column in the cell opposite. An example of the result on the screen.
5e02ca7b5fda7895837888.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
B
Bcoon, 2019-12-25
@jazzus

Try this:
It is assumed that Petya, Kolya, Vasya are in the range E2:E4, and Kolya Petrov is in B2 The
formula must be entered by pressing Ctrl+Shift +Enter (this is an array formula) Normal
input version of the formula:
=--(SUMPRODUCT(--ISNUMBER(SEARCH($E$2:$E$4;B2)))>0)

E
Elvis, 2019-12-25
@Dr_Elvis

SEARCH, POISKB

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question