I have this formula which validates the email address for Excel:
=AND(ISERROR(FIND(" ",[Send Report To],1)),IF(ISERROR(FIND("@",[Send Report To],2)),FALSE,AND(ISERROR(FIND("@",[Send Report To],FIND("@",[Send Report To],2)+1)),IF(ISERROR(FIND(".",[Send Report To],FIND("@",[Send Report To],2)+2)),FALSE,FIND(".",[Send Report To],FIND("@",[Send Report To],2)+2)<LEN([Send Report To])))))
But fails when I enter this email id: sandy,rocks@gmail.com
or sandy.rocks@gmail,co.uk
.
Can anyone amend the validation formula above so that it avoids the special characters like commas within the email address?