Reputation: 3
I'm not sure if this is doable with Excel functions or if VBA must be used. Column A contains multiple values, all have duplicates (incident numbers). Column B contains alphanumeric text (email subjects).
Going off a list of unique IDs (those incident numbers), the formula should return if column B contains "resolved" in any row where column A matches the value in the list.
Example:
100 kangaroo problem
101 koala uprising
100 still kangaroo problem
101 koala leader captured
101 [resolved] koalas defeated
102 penguin riot
Here, 100 and 102 should return a "No" and 101 should return a "Yes".
Upvotes: 0
Views: 66
Reputation: 152505
Use COUNTIFS()
=IF(COUNTIFS(A:A,D1,B:B,"*resolved*"),"Yes","No")
Upvotes: 0