Forum Discussion
EdnaJohnson
Jan 10, 2024Copper Contributor
Match part of a cell and return value
I need to see if a cell matches any part of another cell in another sheet and return values based on if it's true or not. I have tried XLookup, CountIF, If, and many others. I believe it should ...
HansVogelaar
Jan 10, 2024MVP
Is TableName both a sheet and a table on another sheet?
Perhaps
=IF(COUNTIF(TableName!B:B, TableName[@ColumnName]), "Y", N")
or
=IF(COUNTIF(TableName!B:B, "*"&TableName[@ColumnName]&"*"), "Y", N")
- EdnaJohnsonJan 10, 2024Copper Contributorbetween the two sheets in the same spreedsheet
- HansVogelaarJan 10, 2024MVP
I'm afraid I don't understand.
- EdnaJohnsonJan 11, 2024Copper Contributor
It's two tables in two sheets HansVogelaar