跳到主要內容

如何從Excel中的ID號獲取出生日期?

如果您有一個ID號列表,其中每個ID中都包含出生日期,那麼如何從這些ID號中獲取生日,如Excel中顯示的屏幕截圖所示? 實際上,您可以使用公式快速提取出生日期。

使用公式從ID號獲取生日

使用Kutools for Excel獲取基於生日的年齡好主意3


使用公式從ID號獲取生日

假設ID號顯示為7908050074059,前兩個數字表示出生年份,第三個和第四個數字表示出生日期,然後以下兩個數字表示出生月份,則可以使用此公式: =MID(A2,5,2)&"/"&MID(A2,3,2)&"/"&MID(A2,1,2), 按 Enter 鍵,然後向下拖動填充手柄以使用公式填充單元格。
doc從id 1出生

小提示:

在公式中,您可以根據需要更改引用。 例如,如果顯示的ID號為797198909230072,生日是19890923,則可以將公式更改為 =MID(A7,8,2)&"/"&MID(A7,10,2)&"/"&MID(A7,4,4) 以獲得正確的結果。
doc從id 2出生


使用Kutools for Excel獲取基於生日的年齡

如果有生日清單,您如何從出生日期獲得年齡? 用 Kutools for Excel,有一個實用程序可以根據日期快速計算年齡。

Excel的Kutools, 與以上 300 方便的功能,使您的工作更加輕鬆。 

免費安裝 Kutools for Excel,請執行以下操作:

1.選擇要放置年齡的單元格,然後單擊 Kutools > Formula Helper > Date & Time helper.
doc從id 3出生

2。 在裡面 Date & Time Helper 對話框,檢查 年齡 選項 類別 部分,然後單擊以選擇要基於其計算年齡的日期,然後檢查 今天 選項或 指定日期 根據需要,在 輸出結果類型 下拉列表,選擇要顯示的一種年齡類型。
doc kutools日期時間助手2

3.Click Ok,然後顯示年齡,向下拖動填充手柄以使用公式填充單元格。
doc kutools日期時間助手3
doc kutools日期時間助手4

最佳辦公生產力工具

🤖 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 (11)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Can I get my date month and year of birth using my I'd number
This comment was minimized by the moderator on the site
Find the birthday
This comment was minimized by the moderator on the site
Hi there. Thank so much for this very helpful and useful formula. How do I include leading zeros in the calculation, for example, if someone was born in Feb of 2000? 000207578xxxx
This comment was minimized by the moderator on the site
Please how to check I'd in that way execel,I want the I'd of this date of birth 19180910
This comment was minimized by the moderator on the site
I need this I'd of this birthday 1980910
This comment was minimized by the moderator on the site
I need this date of birth nic number for female 1976.09.19
This comment was minimized by the moderator on the site
Please assist me to get real birth date from this ID 28892412
This comment was minimized by the moderator on the site
Hi, Gladys Ekasi, I would like to help you, but firstly I need to know wihch numbers indicate year, month and day of the birthday. After knowing the regular rule, maybe I can help you to get birth date from the ID.
This comment was minimized by the moderator on the site
This formula =MID(A2,5,2)&"/"&MID(A2,3,2)&"/"&MID(A2,1,2) is not working.
This comment was minimized by the moderator on the site
Hi, Isabela, the formula does not work maybe is your data is not in the right order. Could you show how you data display and how the reuslt show?
This comment was minimized by the moderator on the site
Hi. I’ve put the formula mentioned above and it didn’t work, l had to do it manually. Thank you for your interest but l don’t longer need it Maybe some other time, if needed..
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations