Searching for Duplicate Data Across Different Column Fields

  • Last update:November 13, 2025
  • Overview

    You can use the IF function to find duplicate data and assign values. You can also use the EXACT function to determine whether values are duplicated and then use the IF function to assign new values to strings returned by the EXACT function.

    Problem

    Sometimes you may need to find the same data across different column fields (duplicate values appearing in different columns) when processing and cleaning data.

    For example, to find out the lost users on a website, you can assume that if Registration Time and Last Access Time are the same, the users are considered Lost User. Otherwise, they are considered Normal User, as shown in the following figure.

    1.png

    Solution

    You can use the EXACT function to check if two sets of text are the same.

    You can use the IF function to return the desired value.

    Procedure

    Example data: User Login and Registration Information.xlsx

    1. Create an analysis subject and upload the downloaded table User Login and Registration Information (All fields are selected by default.), as shown in the following figure.

    2. Click Formula Column, name the new column User Type, and enter the formula IF(EXACT(Registration Time, Last Access Time), "Lost User", "Normal User"), as shown in the following figure.

    2.png

    The following table describes the formula.

    Formula

    Description

    EXACT(Registration Time, Last Access Time)

    If the values of the two fields are exactly the same, the system will return TRUE. Otherwise, the system will return FALSE.

    IF(EXACT(Registration Time,Last Access Time),"Lost User","Normal User")


    You can use the IF function to assign new values to TRUE and FALSE.

    The system will return Lost User if TRUE is returned. Otherwise, the system will return Normal User.

    The following figure shows the result of the operation.

    4.png

    Notes

    The EXACT function is case-sensitive. 

    附件列表


    主题: System Management
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    10s後關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy