Use the mid function to extract the employee’s date of birth
The mid function consists of three parameters, =mid (String, starting position, number of characters) , in this formula, we want to extract the data in cell A2.
1. Take the excel2010 version as an example. As shown in the figure, first enter the formula to extract the year in cell B2, =MID(A2,7,4)&"year". After the extracted number, If adding the text year, use the "&" symbol to connect;
2. Then enter the formula to extract the month in cell B2, =MID( A2,11,2)&"month", because month is the 11th digit on the ID card, so fill in 11 for the second parameter here, and then only take two digits;
##3. Finally, enter the formula for extracting the day in cell B2, =MID(A2,13,2)&"日";
4. After entering the formula, press the Enter key to successfully extract the employee’s date of birth. Place the mouse on the lower right corner of cell B1 and pull down to fill in the formula.
Excel Tutorial Column to learn!
The above is the detailed content of Use mid function to extract employee birth date. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

SublimeText3 English version
Recommended: Win version, supports code prompts!

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

Dreamweaver CS6
Visual web development tools
