SOLVED

Excel Formula Help

Copper Contributor

Hello, I am looking for a specific formula to find if a value found in 1 cell is present in another cell that may have multiple values in it, separated by comma.

 

Example. In cell B2, the value says "Finance", and in cell C2, the value reads "Cancer, Finance, Food"... I would like to run this on a list of 5,000 rows, to see if the value found in B2 is found somewhere in C2. 

 

Thank you!

3 Replies
best response confirmed by asripinyo (Copper Contributor)
Solution

@asripinyo 

It could be

image.png

with

=IF(COUNTIF(C2, "*"&B2&"*"), "here", "not here")

 

Thank you very much, that worked!

@asripinyo , glad it helped

1 best response

Accepted Solutions
best response confirmed by asripinyo (Copper Contributor)
Solution

@asripinyo 

It could be

image.png

with

=IF(COUNTIF(C2, "*"&B2&"*"), "here", "not here")

 

View solution in original post