Hi,
I was hoping that I could come up with a formula to solve this but no luck so far.
I have a list of names and I want to compare each one to a list of 'part names' and return the 'part name' that matches, if there is one.
I have this:
which will return the cell content of Sheet1!A22 if it exists within A2 but I want to do that check across a range.
What I want to achieve is akin to having the above as an array formula, like:
but that doesn't work, of course. Also, I haven't considered what would happen if there was more than one match - but in that case it would be fine to return the 'first' match only.
Any advice would be welcome!
Thanks
I was hoping that I could come up with a formula to solve this but no luck so far.
I have a list of names and I want to compare each one to a list of 'part names' and return the 'part name' that matches, if there is one.
I have this:
Code:
=IF(ISNUMBER(FIND(Sheet1!A22,A2,1)),Sheet1!A22,"can't find")
What I want to achieve is akin to having the above as an array formula, like:
Code:
{=IF(ISNUMBER(FIND(Sheet1!A1:A22,A2,1)),Sheet1!A1:A22,"")}
Any advice would be welcome!
Thanks