Hi guys,
I hope you can help me, as I've tried many different options and am out of options (excel will not accept my formula).
I am trying to construct data validation *custom*, where user can only insert phone number OR email address; this is what I have figured out so far:
=OR(A1=ISNUMBER(MATCH("*@*.?*",A1,0))),(A1=(ISNUMBER(A1),LEN(A1)=10))
Could anyone point me where I am making the mistake? I've been trying to figure this out for the past 2 hours.
Thanks a million in advance!
I hope you can help me, as I've tried many different options and am out of options (excel will not accept my formula).
I am trying to construct data validation *custom*, where user can only insert phone number OR email address; this is what I have figured out so far:
=OR(A1=ISNUMBER(MATCH("*@*.?*",A1,0))),(A1=(ISNUMBER(A1),LEN(A1)=10))
Could anyone point me where I am making the mistake? I've been trying to figure this out for the past 2 hours.
Thanks a million in advance!