I am hoping I am on the right track, but the formula below does not work when entering this in custom data validation. I am attempting to create a code that will notify the user if they have entered multiple email address's in one cell without separating them out with a semicolon. I have entered the input message advising the user to do this, but I want to create an error if the user failed to do this. I want my formula to recognize if there are two ".com" or two email addresses (I figured the formula could just check if there are two ".com" would be the easiest solution) and if there is without a ; in between them then the following error message appears: Each email address must be separated with a semicolon ( ; )
=if(countif(V5,".com")>1,substitute(".com",".com;"))
I am not sure how to successfully se countif and substitute together. Any help is greatly appreciated.
=if(countif(V5,".com")>1,substitute(".com",".com;"))
I am not sure how to successfully se countif and substitute together. Any help is greatly appreciated.