+ Reply to Thread
Results 1 to 5 of 5

Trouble correctly identifying duplicates across worksheets

  1. #1
    Registered User
    Join Date
    10-16-2016
    Location
    UK
    MS-Off Ver
    2016 (MAC)
    Posts
    5

    Trouble correctly identifying duplicates across worksheets

    Hi, I'm trying to use a text field to exactly match duplicate data from one worksheet where the data is stored horizontally with another where the data is stored vertically using conditional formatting.

    I have used the COUNTIF method, MATCH, XMATCH ... Nothing works. Conditional formatting recognises it should be finding something, but it highlights the wrong fields, including items that aren't even in the second list.

    Here's the formula entered into conditional formatting on the range 4:4 in sheet 1 that should work, but doesn't: "=countif('sheet 2'A:A, G4)"

    What is returned is a sequence of red shaded cells that do not correlate with the data in sheet 2. It seems random, but it is the same shaded cells however I approach it. Some values are in sheet 2, some arent. I just want to see what isn't in sheet 2 so that I can add it without checking each and every one between sheets.

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,168

    Re: Trouble correctly identifying duplicates across worksheets

    Hi jrryan,

    I think you need to put some dollar signs in your formula. See the attached that uses random numbers in two sheets. Press F9 a few times to recalculate and see what matches. Hope this example helps.
    Countif Rows vs Cols.xlsx
    If I remember correctly, Conditional Formatting doesn't work on multiple sheets. It only works on a single sheet.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Registered User
    Join Date
    10-16-2016
    Location
    UK
    MS-Off Ver
    2016 (MAC)
    Posts
    5

    Re: Trouble correctly identifying duplicates across worksheets

    Hi, you can use conditional formatting across worksheets, (or are supposed to be able to) by using a formula that references the worksheets in the classic mode. I have done this with the example workbook you provided and it demonstrates the same issue I am experiencing. See attached.
    Attached Files Attached Files

  4. #4
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,168

    Re: Trouble correctly identifying duplicates across worksheets

    Hi jrryan,

    Good Job!! You taught the old guy something. It looks like CF across multiple sheets now works in Excel 2010 and beyond. See:
    https://contexturesblog.com/archives...fferent-sheet/

    Did my answer solve your problem? Did putting the Absolute Reference (the dollar signs) in the formula solve your problem??

  5. #5
    Registered User
    Join Date
    10-16-2016
    Location
    UK
    MS-Off Ver
    2016 (MAC)
    Posts
    5

    Re: Trouble correctly identifying duplicates across worksheets

    Quote Originally Posted by MarvinP View Post

    Did my answer solve your problem? Did putting the Absolute Reference (the dollar signs) in the formula solve your problem??
    Sadly, no. I had already tried TBF. If you take a look at my attachment, you'll see I used your formula in the CF.

+ 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. Help Identifying Duplicates
    By jengilliece in forum Excel General
    Replies: 4
    Last Post: 10-13-2021, 11:24 AM
  2. [SOLVED] Macro not identifying ranking values correctly
    By Ochimus in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-03-2021, 08:00 PM
  3. Having trouble identifying where data is populating from
    By DRTFlo in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 10-19-2020, 03:46 PM
  4. [SOLVED] Conditional formatting_based on percentage_arrows not identifying correctly
    By Brapp2Smokin in forum Excel General
    Replies: 3
    Last Post: 04-22-2019, 01:30 PM
  5. Identifying Duplicates
    By WillBoyce in forum Excel General
    Replies: 2
    Last Post: 10-01-2016, 08:02 AM
  6. [SOLVED] Create a Function that has several lines of if then - trouble identifying the Row
    By CRIMEDOG in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 05-09-2012, 11:29 AM
  7. identifying duplicates
    By sevil_gp in forum Excel General
    Replies: 2
    Last Post: 02-27-2008, 01:10 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