1

I have many email in excel file, but i have problem, many email must be validate, because missing @, . , and in the email there is a space or quote, and others, i want in my right cell i can add false or true for right email, so i can filter or sort for fix that or you can gift me options to use others software

thanks before sorry if my english language is bad

for example :

  1. test@mail.com true
  2. test @mail.com false
  3. test@mail false
  4. test.mail false
  5. test@mail.com' false
chaky
  • 13
  • 2

1 Answers1

1

=AND(ISERROR(MATCH("?*@?*.?*";A1;0))=FALSE;ISERROR(FIND(" ";A1))) will match your examples correctly (for cell A1).

Will validate any string which has no spaces and has 1/+ characters, then "@", then 1/+ characters, then ".", then 1/+ charaters.

Not perfect, but very lightweight!

LS_ᴅᴇᴠ
  • 10,823
  • 1
  • 23
  • 46