Jinshan WPS Form Proofing Date of birth and identity card is a simple way to match

Source: Internet
Author: User

We use the Jinshan WPS form input ID information, sometimes also need to enter the date of birth, in order to check the ID card information and birthday information is consistent, we need to check, but the workload is still more trouble. Today, small make up to share with you Jinshan WPS form proof ID number and birth date is consistent with the simple method!

A is an identity card number (before entering, please set the column cell format uniformly to "text"), B as a formula from the ID number of the date of birth, take B2 as an example, the formula is:

=text (IF (Len (A2) =15, "a",) &mid (A2,7,if (Len (A2) =18,8,6)), "####-##-##"

Using the text function, the formula can intelligently judge 18-bit and 15-digit numbers, and extract the birth date from them.


We found that due to an input error, the date of the extracted birth date was "1988-13-1" (B3) and "2005-02-29" (B5) that were not possible in practice. So, how do we find them quickly?

We copy the date of birth in column B (e.g. B2:B5), then place the cursor in cell C2, click the small arrow to the right of the Paste button, select value from, and copy all dates to column C, at which point the birth date of column C is all selected, and A smart cue symbol appears on the left side of cell C2, with the mouse click on the prompt to select Convert to Number (C).


In this way, the data in column C is converted from a text format to a real "date" format. However, careful you should have found that only the correct date can be successfully converted, its alignment automatically turned to "right", and the wrong date is not converted, is still text formatting, alignment is still "left", The column column of C to adapt to increase, on the "right, wrong to the left"! All you have to do is proofread the wrong ID numbers and correct them.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.