+ Reply to Thread
Results 1 to 2 of 2

Need a macro to compare workbooks and highlight names according to criteria

  1. #1
    Registered User
    Join Date
    08-13-2014
    Location
    Washington, DC
    MS-Off Ver
    2007
    Posts
    1

    Need a macro to compare workbooks and highlight names according to criteria

    Hello,

    First time posting here and hoping that someone can figure out how to get a macro to do what I need. The amount of hours line by line parsing this massive document would be immense. Whoa! In advance I must say any and all help in getting this accomplished is hugely appreciated and thanks. The following is what I need to get accomplished and examples of the two (2) books I am attempting to compare and highlight names in.

    I have two (2) workbooks (HR - Example and Reconciliation - Example) with a single sheet in each that I need to compare and identify last, first names that appear in both. The goal is to highlight the names in the Reconciliation - Example document that meet the following criteria.

    - Identify Last, First names that appear in the Reconciliation document with names that duplicate in the HR document that are identified with the status shown Action column by Seperation.
    - It is possible as shown in the example that a person could be listed as both Hire and Seperation under the action column. In this case I need the newest date identified in the "Action EFF Date" for all instances of this persons name. At that time if the newest date in that row is indicated as Seperation highlight the name accordingly in the Reconciliation document or if the row is indicated as Hire then do not highlight the name in the reconciliation document. The name Williams, Robin J in the example demonstrates what I am talking about. If this case does happen and I know it will is it possible to have that name in the reconciliation document highlight a diffrent color to indicate folllow up checks on that person.

    I know this is a crap shoot and I hope it pays off. Either way for taking the time to read the post and think about it means alot. Thanks for your time and hopefully your massive assitance in making this happen.
    Attached Files Attached Files

  2. #2
    Forum Contributor Jack7774's Avatar
    Join Date
    08-31-2012
    Location
    Georgia, US
    MS-Off Ver
    Excel 2010
    Posts
    576

    Re: Need a macro to compare workbooks and highlight names according to criteria

    Lets give this a try. Be weary of any bugs as I tested it myself several times but I could have missed a possible scenario that wasn't there.

    Please Login or Register  to view this content.
    Thank those who have helped you by clicking the Star * below their name and please mark your post [SOLVED] if it has been answered satisfactorily.

+ 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] Compare Two Workbooks and Highlight Differences
    By mab1284 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-07-2014, 07:35 PM
  2. Macro that can compare sheets between 2 workbooks, highlight the difference
    By jeffboy29 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-19-2013, 11:31 AM
  3. Compare Cells from 2 WorkBooks and Highlight matches in current.
    By CRIMEDOG in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-31-2011, 06:31 AM
  4. Compare 2 Workbooks and Highlight Differences
    By LabanM in forum Excel General
    Replies: 3
    Last Post: 10-19-2010, 11:34 AM
  5. Compare 2 workbooks and highlight missing cells on original
    By mptorr in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-12-2010, 11:22 AM

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