Finding the @ character within a text, cell range

Closed
Jaye - 31 Aug 2016 à 00:03
TrowaD Posts 2921 Registration date Sunday 12 September 2010 Status Contributor Last seen 27 December 2022 - 1 Sep 2016 à 11:19
Hello,

I can't seem to find anything that's specific to what I'm looking for.

I'm trying to find a formula that will tell me the following:

1. Whether the character '@' exists within cell range A1 or A2 or both.
2. IF YES, return result 1, 2 or Both.

COLUMN A | COLUMN B
***@*** | xxxxxx

Appreciate the assistance.

1 response

TrowaD Posts 2921 Registration date Sunday 12 September 2010 Status Contributor Last seen 27 December 2022 555
1 Sep 2016 à 11:19
Hi Jaye,

Try this:
=IF(ISERROR(FIND("@",A1)),"",1& " " ) & IF(ISERROR(FIND("@",A2)),"",2)

Best regards,
Trowa