+ Reply to Thread
Results 1 to 2 of 2

match values between tables

  1. #1
    Forum Contributor
    Join Date
    02-20-2007
    MS-Off Ver
    2003 & 2007
    Posts
    299

    match values between tables

    I have 2 tables in the attached sheet. table 1 is C3:K368 and table 2 is C371:L384.
    I'm looking for a macro that will highlight cells in columns d-k of table one whose values match columns d-k of table 2. Each column is individual, in other words, i wouldn't want the code to match a value in col d of table 1 to col e of table 2. Its d to d, e to e, etc.
    Attached Files Attached Files

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: match values between tables

    The values aren't all the same (rounding in table2) but couldn't you just use Conditional Formatting, eg: highlight D4 to K368 and apply a Conditional Format rule of:

    =INDEX(D$372:D$383,MATCH($C4-DAY($C4)+1,$C$372:$C$383,0))=ROUND(D4,0)
    set format as required

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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