+ Reply to Thread
Results 1 to 7 of 7

Highlight duplicate based on a different columns contents

Hybrid View

  1. #1
    Registered User
    Join Date
    05-04-2017
    Location
    United States
    MS-Off Ver
    2016
    Posts
    4

    Question Highlight duplicate based on a different columns contents

    I'm still learning about a lot of the excel functions, but am stumped on how to do this.

    We have an excel spreadsheet which on one sheet has a ODBC MS query pulling data into a sortable list.

    On the second sheet we have a list of “outstanding payments” from the court, for cases not paid for.


    What I’d like to do, is be able to highlight column E (or the row), on sheet 1 (last name), where an identical name is found in column B of sheet 2 (case name).
    Since both columns are the last name of the person only, this SHOULD be able to match quite a few items, and highlight them.
    Our ultimate goal is to be able to identify cases where the case name is the same, and we’ve already made/paid what the court feels to be an outstanding balance.
    Ideally I’d like to make sure not to have to modify the layout of either sheet, as the business users still need to utilize the data extract on sheet 1 routinely.

    any help would be great!

    Thanks

  2. #2
    Forum Expert Tsjallie's Avatar
    Join Date
    09-15-2012
    Location
    NL
    MS-Off Ver
    2010, 2013, 2016
    Posts
    2,077

    Re: Highlight duplicate based on a different columns contents

    You can add conditional formating to column E of sheet 1.
    Formula should look something like this
    Formula: copy to clipboard
    =IFERROR(MATCH($Ex,Sheet2!Bx:By,0),0)>0

    $Ex is the cell holding the Lastname and Sheet2!Bx:By is the range in Sheet2 holding the case names.
    Cheers!
    Tsjallie




    --------
    If your problem is solved, pls mark the thread SOLVED (see Thread Tools in the menu above). Thank you!

    If you think design is an expensive waste of time, try doing without ...

  3. #3
    Registered User
    Join Date
    05-04-2017
    Location
    United States
    MS-Off Ver
    2016
    Posts
    4

    Re: Highlight duplicate based on a different columns contents

    I attempted to input the formula as you'd suggested
    Formula: copy to clipboard
    =IFERROR(MATCH(E:E,'Court PERS'!B:B,0),0)>0

    Although it took the formula into the conditional format section without an error... NOTHING HAPPENED, nothing highlighted.
    So now... I'm confused.

  4. #4
    Registered User
    Join Date
    05-04-2017
    Location
    United States
    MS-Off Ver
    2016
    Posts
    4

    Re: Highlight duplicate based on a different columns contents

    Also tried this coding, but it too fails as it only shows a single amount for EVERY SINGLE line, (attempting to show the "amount owed" for a particular case name)... so two fails in a row, with no ability to help the users reconcile.
    Formula: copy to clipboard
    =IFERROR(VLOOKUP(E1:E2311,'Court PERS'!A1:F1361,4),"Not Found")

  5. #5
    Forum Expert Tsjallie's Avatar
    Join Date
    09-15-2012
    Location
    NL
    MS-Off Ver
    2010, 2013, 2016
    Posts
    2,077

    Re: Highlight duplicate based on a different columns contents

    Can you upload your workbook (or sample) so I can have a look.

  6. #6
    Registered User
    Join Date
    05-04-2017
    Location
    United States
    MS-Off Ver
    2016
    Posts
    4

    Re: Highlight duplicate based on a different columns contents

    Here's a "sample" file with a majority of (sensitive information) removed... except the pertinent fields we'd discussed.
    Attached Files Attached Files

  7. #7
    Forum Expert Tsjallie's Avatar
    Join Date
    09-15-2012
    Location
    NL
    MS-Off Ver
    2010, 2013, 2016
    Posts
    2,077

    Re: Highlight duplicate based on a different columns contents

    We have an excel spreadsheet which on one sheet has a ODBC MS query pulling data into a sortable list.
    On the second sheet we have a list of “outstanding payments” from the court, for cases not paid for.
    Which of the two sheets holds the MS Query connection?

    What I’d like to do, is be able to highlight column E (or the row), on sheet 1 (last name), where an identical name is found in column B of sheet 2 (case name).
    Since both columns are the last name of the person only, this SHOULD be able to match quite a few items, and highlight them.
    I think this is done with the conditional formatting. See attached workbook. Conditional formatting is in sheet 1 column C

    Our ultimate goal is to be able to identify cases where the case name is the same, and we’ve already made/paid what the court feels to be an outstanding balance.
    How would you identify payments related to outstanding balances?
    Attached Files Attached Files

+ 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. Compare duplicate values in two columns and highlight if match
    By JEKF in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-18-2015, 12:32 PM
  2. want to highlight duplicate values from other columns
    By brijeshr in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 12-16-2014, 03:33 AM
  3. [SOLVED] Highlight duplicate numbers with different colors in two columns
    By 17_types in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 06-28-2013, 04:05 AM
  4. Replies: 7
    Last Post: 04-30-2012, 01:13 AM
  5. Replies: 4
    Last Post: 08-05-2010, 08:10 AM
  6. Replies: 6
    Last Post: 05-16-2008, 06:28 PM
  7. Highlight duplicate entries from 2 columns
    By GMBunk in forum Excel General
    Replies: 1
    Last Post: 05-03-2007, 03:49 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