Forum Discussion
sumitctm
Oct 05, 2017Copper Contributor
how to validate that email address format is correct or not in xls
Actually, I want to validate the below-given email address format in xls. if the format is correct which means yes then I have to update the value with respect to the email id as true else fals...
SergeiBaklan
Oct 05, 2017MVP
Hi,
It depends on how do you consider if the format is correct. If
- it shall be "@" AND
- at least one dot (".") after the "@"
when
=ISNUMBER(SEARCH("@",A1))*ISNUMBER(SEARCH(".",A1,SEARCH("@",A1)))
which returns 1 or 0 (other words TRUE of FALSE)