+ Reply to Thread
Results 1 to 3 of 3

Compare two cells in many workbooks

  1. #1
    Registered User
    Join Date
    05-15-2007
    Posts
    35

    Compare two cells in many workbooks

    I've been asked to help out with an issue we had in our group. Basically there's been a group of files created where the number on one tab is supposed to equal a number on another tab. There's roughly 300 of these files but I can break them into set of say 20.

    What I thought I would put together is a workbook that has a main page where I can add in the file names of the files that need to be analysed. After I hit a consolidate button it would pull all the necessary data into a second tab where there's three columns... the file name, # from first cell (i.e, ws #1) and the # from the second tab (i.e, ws #2). So it would need to do a comparison of two cells, in two different worksheets in many workbooks.

    Can anyone help out with this one?

    Thanks,
    Bill

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    The code here loops through all workbooks in a specific folder & cold be adapted to check the two cells, if they don't match either amend it or list the workbook name for later use.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    05-15-2007
    Posts
    35
    Thanks for the response but the code didn't post.

+ 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