In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > IT Information >
Share
Shulou(Shulou.com)11/24 Report--
Original title: "Excel knows all the secrets hidden in ID number!"
As we all know, there is a lot of personal information hidden in the ID card number. What is the date of birth, gender, etc. are all in it. Today, Teacher Xiao Wang will use Excel to help you smooth it out!
01. Extract the last 8 digits of the seventh digit of the birth date ID card number, which is the birth date, so we can extract the birth date through the formula. The formula is as follows:
=TEXT(MID(B2,7,8),"0-00-00")
02. Get the age. In the previous step, we obtained the date of birth through the ID card number. Then, we can obtain the age through the date of birth. The formula is as follows:
=DATEDIF(C2,TODAY(),"y")
The 17th digit of the ID card number can be used to determine the gender of men and women. Odd numbers are male and even numbers are female. The formula is as follows:
=IF(MOD(MID(B2,17,1), 2),"M","F")
04, get zodiac first through the ID card number to get the date of birth, and then through the date of birth to get zodiac. The formula is as follows:
=MID("Mouse, Ox, Tiger, Rabbit, Dragon, Snake, Horse, Sheep, Monkey, Chicken, Dog, Pig",MOD(YEAR(C2)-4,12)+1,1)
This article comes from Weixin Official Accounts: Word Alliance (ID: Wordlm123), author: Wang Qi
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.