+ Reply to Thread
Results 1 to 4 of 4

Check if Filtered Data is Identical

  1. #1
    Registered User
    Join Date
    11-15-2015
    Location
    Ireland
    MS-Off Ver
    Office 365
    Posts
    2

    Check if Filtered Data is Identical

    Hi I have a large amount of data that was copied from a scanned document (OCR).

    Some of the data is repeated several times (which is correct).

    I want a method of filtering the data and then checking if the visible cells are all identical.

    So looking at the attached file, for example if I filter on a "1" Column A and a "1" in column B then I want to check that column C contains exactly the same data (case sensitive).

    The attachment is obviously very simple and the real data is much more complex but the concept is the same. when I filter the sheet.
    I don't necessarily need to know which cell is different as I can manually check but I just want to know, for example, if column C contains identical data when multiple filters are used.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,947

    Re: Check if Filtered Data is Identical

    In D2, enter the formula

    =COUNTIFS(A:A,A2,B:B,B2,C:C,C2)=COUNTIFS(A:A,A2,B:B,B2)

    And copy down to match your data in A:C. Then filter to show FALSE values - those will be the rows where two or more entries in C don't match for identical values in A and B. It won't flag which is the incorrect entry since there is no logic that will tell you that.
    Bernie Deitrick
    Excel MVP 2000-2010

  3. #3
    Registered User
    Join Date
    11-15-2015
    Location
    Ireland
    MS-Off Ver
    Office 365
    Posts
    2

    Re: Check if Filtered Data is Identical

    Thanks Bernie........that worked perfectly. Now I just need to apply it to a more complicated scenario but it should work.

    As you said there's no easy logic to determine which cells are wrong but that's pretty simple to do manually, if not tedious. Your answer has cut out a lot of manual effort so thanks for that.

    Update: worked perfectly. Some of the cells in the real data were blank so I had to add a dummy character into them. It caught a fair number of mistakes and saved me a lot of time.
    Last edited by stockdam; 05-06-2021 at 08:27 AM.

  4. #4
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,947

    Re: Check if Filtered Data is Identical

    Great! Thanks for letting us know that my suggestion worked for you.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Identical Formulas from Identical Data Sets Return Different Results
    By EverClever in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-28-2018, 06:56 PM
  2. How to check if a row is identical to another row?
    By saintdevil8 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-25-2013, 12:01 PM
  3. Check if data in first 3 columns are identical in 3 different sheets?
    By stevnb in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-14-2013, 05:25 AM
  4. Identical worksheets, identical data, different arrangements
    By Hooty in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-21-2012, 05:02 PM
  5. Replies: 4
    Last Post: 01-25-2012, 05:49 PM
  6. Replies: 1
    Last Post: 01-20-2012, 12:52 AM
  7. Check for identical cell and do something
    By francisco in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-20-2008, 01:30 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1