跳到主要內容

如何驗證工作表列中的電子郵件地址?

眾所周知,有效的電子郵件地址由三部分組成,即用戶名,“ at符號”(@)和域。 有時,您只允許其他人在工作表的特定列中僅輸入電子郵件地址格式的文本。 是否可以在Excel中完成此任務?

使用數據驗證功能只能在列中輸入僅驗證電子郵件地址

具有出色功能的列僅可驗證電子郵件地址

簡單的演示


使用數據驗證功能只能在列中輸入僅驗證電子郵件地址

在Excel中,強大的功能 數據驗證 可以幫助您快速驗證僅在單元格列中輸入的電子郵件地址,請執行以下操作:

1。 選擇只允許使用電子郵件地址格式鍵入的單元格,然後單擊“確定”。 數據 > 數據驗證 > 數據驗證,請參見屏幕截圖:

2.數據驗證 對話框中的 設定 標籤,選擇 習俗 來自 下拉菜單,然後輸入以下公式: = ISNUMBER(MATCH(“ *@*.?*”,A2,0))公式 文本框,請參見屏幕截圖:

備註:在以上公式中, A2 是您要驗證單元格的列的第一個單元格。

3。 然後點擊 OK 按鈕,現在,當您輸入非電子郵件地址格式的文本時,將彈出一個警告消息框提醒您,請參見屏幕截圖:


具有出色功能的列僅可驗證電子郵件地址

在這裡, Excel的Kutools 提供有用的功能- 驗證電子郵件地址,這可以幫助您防止輸入其他文本,但是只能快速,輕鬆地鍵入電子郵件地址。

提示:要應用此 驗證電子郵件地址 功能,首先,您應該下載 Excel的Kutools,然後快速輕鬆地應用該功能。

安裝後 Excel的Kutools,請這樣做:

1。 選擇您只想輸入電子郵件地址的單元格。

2。 然後,點擊 庫工具 > 防止打字 > 驗證電子郵件地址,請參見屏幕截圖:

3。 然後,當輸入非電子郵件地址格式的文本時,將彈出一個提示框提醒您,請參見屏幕截圖:

點擊下載Kutools for Excel並立即免費試用!


簡單的演示


僅驗證可以在列或多個範圍中輸入的電子郵件地址

Excel的Kutools's 驗證電子郵件地址 實用程序可以幫助您設置數據驗證,僅一次單擊即可將只有電子郵件地址輸入到一系列單元格中。 點擊下載Kutools for Excel!

Excel的Kutools:具有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選項卡為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