search
HomeCommon ProblemHow to use ifcountif function to find duplicates in two columns

Use the ifcountif function to find two duplicate columns: first open the table file that needs to be filtered; then enter the formula "=countif (C:C, B:B)" in the blank box and press the Enter key; finally Press the shortcut key "ctrl shift L" to open the filter.

How to use ifcountif function to find duplicates in two columns

Recommended: "excel tutorial"

The countif function filters duplicate data. The advantage is that it can quickly filter huge data. At the same time, the two columns of data can correspond one-to-one through sorting, making it more accurate and convenient for inspection.

As shown in the figure, we now need to filter out the data in data A that is duplicated in data B. If we use conditional formatting to filter, the data in column A will be confused by the repeated data, so the data will be inaccurate.

How to use ifcountif function to find duplicates in two columns

So we use the function "countif". As shown in the figure, take another column "Filter". Enter "=countif (C:C,B:B)" in the blank box and press Enter. Here we need to pay attention to the order of selecting the sequence, because we want to filter out "data A", so we need to give priority to "data B", that is, "C:C" in the brackets comes first.

How to use ifcountif function to find duplicates in two columns

Then move the mouse to the lower right corner of the grid and double-click the left mouse button. This way the function will be copied automatically. as the picture shows.

How to use ifcountif function to find duplicates in two columns

How to use ifcountif function to find duplicates in two columns

Then move the mouse to the leftmost serial number "1" and quickly select the first row. Then press the shortcut key "ctrl shift L" to open filtering. as the picture shows.

How to use ifcountif function to find duplicates in two columns

Then click the "little triangle" in the filter column. As shown in the picture, check off option "0" and press the confirm key.

How to use ifcountif function to find duplicates in two columns

The last filtered out options are the duplicate options of "Data A" and "Data B". Here you will see that the number "2" is displayed because the "data B" of the corresponding row has two identical data. If there are three identical ones, "3" will be displayed.

How to use ifcountif function to find duplicates in two columns

The above is the detailed content of How to use ifcountif function to find duplicates in two columns. For more information, please follow other related articles on the PHP Chinese website!

Statement
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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

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

Hot Tools

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

mPDF

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),

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function