ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Excel. My Cell Must Contain An '@' (https://www.excelbanter.com/excel-programming/296596-excel-my-cell-must-contain-%40.html)

Karl Gibbon

Excel. My Cell Must Contain An '@'
 
I was just wondering if there was any kind of formula i could use to
ensure that the data someone enters into a specific cell contains
an'@' sign. I want to make sure that when that person enters an e-mail
address they don't just type 'adfsdfsfdsdf' or something and if they
do they the cell won't accept it.

Frank Kabel

Excel. My Cell Must Contain An '@'
 
Hi
select the cell and goto 'Data - Validation'. Choose 'custom' and enter
the following formula (for cell B1):
=ISNUMBER(FIND("@",B1))

--
Regards
Frank Kabel
Frankfurt, Germany

"Karl Gibbon" schrieb im Newsbeitrag
om...
I was just wondering if there was any kind of formula i could use to
ensure that the data someone enters into a specific cell contains
an'@' sign. I want to make sure that when that person enters an

e-mail
address they don't just type 'adfsdfsfdsdf' or something and if they
do they the cell won't accept it.




All times are GMT +1. The time now is 09:51 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com