Home > Topics > excel > body text

How to check the plagiarism of ID number in Excel

卡哇伊
Release: 2020-07-14 15:59:24
Original
22359 people have browsed it

How to check the identity card number in Excel: first enter the ID number, and all numbers after 15 digits will be changed to 0 and displayed in scientific notation; then use the counting function, the calculation formula is "COUNTIFS( B:B,B3)", the displayed result is 2; the final count equals 2 is a repeated result.

How to check the plagiarism of ID number in Excel

#1. Correctly enter the ID number

When manually inputting pure numbers greater than 15 digits in Excel, the numbers after 15 digits All become 0 and displayed in scientific notation. There are two ways to enter correctly

. The first method is: before entering the number, enter a single quotation mark in English

The second method is: adjust the format of the entire column to text format in advance, and then enter the numbers normally

How to check the plagiarism of ID number in Excel

2. Duplicate check of ID card data

There is an employee form. At first, we wanted to check whether there were duplicate entries through the ID number. Then we used the conditional format to highlight duplicate values. As a result, there was a pair of twins. The ID numbers were obviously different, but they were Marked with the same color, as shown below:

How to check the plagiarism of ID number in Excel

Then when we use the counting COUNTIF function to count:

=COUNTIFS(B:B,B3 ), there is only 1, and the displayed result is 2

How to check the plagiarism of ID number in Excel

##. This is because Excel only looks at the first 15 digits when counting lengths of more than 15 digits. If the first 15 If the digits are the same, just treat the two numbers as the same. This is obviously not the result we want

If we need to count correctly for numbers with more than 15 digits, we must add a wildcard symbol , use the formula:

=COUNTIFS(B:B,B2&"*")

How to check the plagiarism of ID number in Excel

In order to count the wildcards, the result equal to 2 is the real duplicate

3. Prohibit entry of duplicate ID numbers

In order to prohibit entry of duplicate ID numbers, we need to select Custom in the data verification, and then enter the formula: =countif (b:b,b1&"*")=1

How to check the plagiarism of ID number in Excel

After setting this, if you enter the same number again, an error message will pop up, prohibiting input:

How to check the plagiarism of ID number in Excel

Have you learned this skill? Try it yourself~

The above is the detailed content of How to check the plagiarism of ID number in Excel. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!