跳到主要内容

如何验证工作表列中的电子邮件地址?

众所周知,有效的电子邮件地址由三部分组成,即用户名,“ at符号”(@)和域。 有时,您只允许其他人在工作表的特定列中仅输入电子邮件地址格式的文本。 是否可以在Excel中完成此任务?

使用“数据验证”功能只能在列中输入仅验证电子邮件地址

具有出色功能的列仅可验证电子邮件地址

简单的演示


使用“数据验证”功能只能在列中输入仅验证电子邮件地址

在Excel中,强大的功能 数据验证 可以帮助您快速验证仅在单元格列中输入的电子邮件地址,请执行以下操作:

1。 选择只允许使用电子邮件地址格式键入的单元格,然后单击“确定”。 时间 > 数据验证 > 数据验证,请参见屏幕截图:

2.数据验证 对话框中的 个人设置 标签,选择 定制版 来自 下拉菜单,然后输入以下公式: = ISNUMBER(MATCH(“ *@*.?*”,A2,0))公式 文本框,请参见屏幕截图:

备注:在以上公式中, A2 是您要验证单元格的列的第一个单元格。

3。 然后点击 OK 按钮,现在,当您输入非电子邮件地址格式的文本时,将弹出一个警告消息框提醒您,请参见屏幕截图:


具有出色功能的列仅可验证电子邮件地址

在这里, Kutools for Excel 提供有用的功能- 验证电子邮件地址,这可以帮助您防止输入其他文本,但是只能快速,轻松地键入电子邮件地址。

提示:申请这个 验证电子邮件地址 功能,首先,您应该下载 Kutools for Excel,然后快速轻松地应用该功能。

安装后 Kutools for Excel,请这样做:

1。 选择您只想输入电子邮件地址的单元格。

2。 然后,点击 库工具 > 防止打字 > 验证电子邮件地址,请参见屏幕截图:

3。 然后,当输入非电子邮件地址格式的文本时,将弹出一个提示框提醒您,请参见屏幕截图:

点击下载Kutools for Excel并立即免费试用!


简单的演示


仅验证可以在列或多个范围中输入的电子邮件地址

Kutools for Excel's 验证电子邮件地址 实用程序可以帮助您设置数据验证,仅一次单击即可将只有电子邮件地址输入到一系列单元格中。 点击下载Kutools for Excel!

Kutools for Excel:具有300多个方便的Excel加载项,可以在60天内免费试用,没有任何限制。 立即下载并免费试用!


更多相关数据验证文章:

  • 应用数据验证以强制Excel中的电话号码格式
  • 键入Excel工作簿时,也许可以使用各种电话号码格式。 但是,如何只允许在工作表的一栏中输入一种电话号码格式? 例如,我只希望允许将此格式为123-456-7890的电话号码输入工作表中。
  • 在Excel中的一个单元格中应用多个数据验证
  • 在Excel工作表中,对一个单元格应用一次数据验证可能对我们很常见,但是,您是否曾经尝试过在一个单元格中使用多个数据验证? 本文中,我将讨论一些用于解决Excel中此任务的不同示例。
  • 数据验证Excel工作表中当年的日期
  • 在Excel中,数据验证对我们来说是一个有用的功能,它可以防止重复的单元格,允许输入特定的日期,等等。 本文,我将讨论如何通过使用Excel工作表中的数据验证功能仅允许输入当年的日期。

最佳办公生产力工具

🤖 Kutools 人工智能助手:基于以下内容彻底改变数据分析: 智能执行   |  生成代码  |  创建自定义公式  |  分析数据并生成图表  |  调用 Kutools 函数...
热门特色: 查找、突出显示或识别重复项   |  删除空白行   |  合并列或单元格而不丢失数据   |   不使用公式进行四舍五入 ...
超级查询: 多条件VLookup    多值VLookup  |   跨多个工作表的 VLookup   |   模糊查询 ....
高级下拉列表: 快速创建下拉列表   |  依赖下拉列表   |  多选下拉列表 ....
列管理器: 添加特定数量的列  |  移动列  |  切换隐藏列的可见性状态  |  比较范围和列 ...
特色功能: 网格焦点   |  设计图   |   大方程式酒吧    工作簿和工作表管理器   |  资源库 (自动文本)   |  日期选择器   |  合并工作表   |  加密/解密单元格    按列表发送电子邮件   |  超级筛选   |   特殊过滤器 (过滤粗体/斜体/删除线...)...
前 15 个工具集12 文本 工具 (添加文本, 删除字符,...)   |   50+ 图表 类型 (甘特图,...)   |   40+ 实用 公式 (根据生日计算年龄,...)   |   19 插入 工具 (插入二维码, 从路径插入图片,...)   |   12 转化 工具 (小写金额转大写, 货币兑换,...)   |   7 合并与拆分 工具 (高级组合行, 分裂细胞,...)   |   ... 和更多

使用 Kutools for Excel 增强您的 Excel 技能,体验前所未有的效率。 Kutools for Excel 提供了 300 多种高级功能来提高生产力并节省时间。  单击此处获取您最需要的功能...

产品描述


Office Tab 为 Office 带来选项卡式界面,让您的工作更加轻松

  • 在Word,Excel,PowerPoint中启用选项卡式编辑和阅读,发布者,Access,Visio和Project。
  • 在同一窗口的新选项卡中而不是在新窗口中打开并创建多个文档。
  • 每天将您的工作效率提高50%,并减少数百次鼠标单击!
Comments (12)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
=ISNUMBER(MATCH("*@*.?*",A2,0)) is not septable pls send me solution via email
This comment was minimized by the moderator on the site
I did not getting Microsoft code
This comment was minimized by the moderator on the site
Bei meinem Excel müssen die deutschen Funktionsbezeichnungen verwendet werden.
statt ISNUMBER > ISTZAHL
statt MATCH > VERGLEICH
This comment was minimized by the moderator on the site
Does not work at all !

correct regexp is : ^[\w-\.]+@([\w-]+\.)+[\w-]{2,4}$
however, with Kutools, I can still put 1 letter TLD or accents or comas etc.
so this is considered a valid email address : p,rô-u.t;é@eee.e
I am immediately uninstalling.
This comment was minimized by the moderator on the site
It`s great you can validate straightly in Excel, however, it doesn`t always work properly. So, I would recommend using online services for that. There is a lot to choose from, I, for example, use proofy.io.
This comment was minimized by the moderator on the site
You must work for proofy.io? $.006 for 1,000,000 records = $6,000 = CRAZY EXPENSIVE.
This comment was minimized by the moderator on the site
It`s great to be able to validate emails straight in Excel, however, it doesn`t work out effectively sometimes. So, I think that the online tools may help. For example, proofy.io, which I, personally use.
This comment was minimized by the moderator on the site
This doesn't validate emails at all.... I am still able to place spaces and returns in the field (in the middle and at the end) which negates the point for me.
This comment was minimized by the moderator on the site
To correct this so it works for all domains, use: =ISNUMBER(MATCH("*@*.?*",A2,0)). Then it supports 2-letter domains such as ".ca" as well as complex domains such as ".co.uk" and "server1.company.com".
This comment was minimized by the moderator on the site
Wow ! Great this works best
This comment was minimized by the moderator on the site
Thanks - I also had an issue with 2-letter domains that this fixes.
This comment was minimized by the moderator on the site
Will not work for .uk, and for 2015+ domains like .training
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations