LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Validating email address formatting

Hi,

Could you please explain how to enter your results within a cell to validate
for inputting correct address. I would really appreciate an email response,
candid, I know but I am really stuck on this one.

Kind Regards,

Gerry

"BethP" wrote:

Hi Scott,
Thanks again. With your help and a couple other posts in this board, I was
able to hack this together! Here is what I have:

1. Test that it's a text string
ISTEXT(A2)
2. Test for the position of "@" in the text string (A)
FIND("@",A2)
3. Count occurrences of "@" in test string (nullify if <1)
AND((SUMPRODUCT(--(LEN(A2)-LEN(SUBSTITUTE(A2,"@","")))))=1)
4. Test for the position of "." in the text string (B)
FIND(".",A2,C2+1)
5. Test that neither A or B are NA#
SUM(C2:E2)
6. Test that there is text before A
C21
7. Test that there is text between A and B
E2-C21
8. Test that there is text after B
LEN(A2)E2
9.Does not contain a space
ISERR(NOT(FIND(" ",A2)))
a result of False means that at least one of the tests has failed
IF(ISERR(AND(B2:J2)),"",(AND(B2:J2)))

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Some cells do not recognize email address Coachstan New Users to Excel 3 April 25th 05 01:18 AM
email address hyperlink Ulti Excel Worksheet Functions 1 March 1st 05 03:18 AM
Help me Please!! Need hyperlinks to show actual email address! dustin New Users to Excel 1 January 13th 05 08:59 PM
how do I make make my hyperlinks show the email address they are . Dustin Excel Discussion (Misc queries) 0 January 13th 05 01:39 AM
Shut off email address from linking to email program? Java Jake Excel Worksheet Functions 6 December 31st 04 04:05 PM


All times are GMT +1. The time now is 03:58 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"