Question

i have to columns in excel.

a      d
b      f
c      c
d      e
x
y
z
e

the secong list is a subset of first list.

i want to search the 1st list for the valus present in the 2nd and put it in 3rd column like

a      d   present
b      f   absent
c      c   present
d      e   present
x
y
z
e
Était-ce utile?

La solution

Use this formula.

=IF(ISERROR(MATCH(B4,$A$1:$A$8,0))=TRUE,"Absent","Present")
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top