+ Reply to Thread
Results 1 to 5 of 5

Comparing Data Across 2 sheets

  1. #1
    Registered User
    Join Date
    10-04-2013
    Location
    OKC
    MS-Off Ver
    Excel 2010
    Posts
    3

    Comparing Data Across 2 sheets

    Hello,

    I have a small project im working on and require some help seeing i know nothing about VBA. I have spreadsheet with document numbers and versions. I have to make sure every day before i use them that they are the correct versions. I import listings on the documents to the second sheet that has the correct versions each day. How can i make a search button that checks the second sheets and lets me know maybe by coloring the document title red or green if my versions on sheet 1 are good or bad. Attached a small example

    So I have document 1 and its version is A and i need to check sheet 2. If document 1 on sheet 2 is a different version then that document description on sheet 1 needs to be flagged.

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Comparing Data Across 2 sheets

    Hi,

    You don't need VBA just use A conditional format in A4 on sheet1 with the 'Use a Formula ' option

    First create a dynamic range name for your version log on sheet 2. The name is 'VersionLog' and defined as
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Now the CF in B4 on sheet 1 is
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    and apply it to $A$4:$C$n
    where n is the last row.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    10-04-2013
    Location
    OKC
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Comparing Data Across 2 sheets

    I have done both of those and changed it to fill red. However i manipulated the data on sheet 2 and nothing happens. Attached my example
    Attached Files Attached Files

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Comparing Data Across 2 sheets

    Hi,

    You'd also changed a sheet name without adjusting the dynamic range name.

    See attached
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    10-04-2013
    Location
    OKC
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Comparing Data Across 2 sheets

    Thanks a bunch

    Edit (did not realize I can't download files yet. Will try and fix it until I am able to download your example.)

    Thanks again

+ 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] Comparing data in 2 sheets
    By JakeMann in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-14-2013, 04:13 AM
  2. comparing data in two sheets -reg
    By A S Hemanthkumar in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-22-2013, 03:27 AM
  3. comparing data between 2 sheets
    By pengwin in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-01-2010, 04:19 PM
  4. Comparing data of two sheets
    By shenlingstyle in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-29-2005, 01:57 PM
  5. Comparing Data between two sheets
    By AChesley in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-18-2005, 10:06 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