+ Reply to Thread
Results 1 to 2 of 2

Comparing cell values of different workbooks

  1. #1
    Forum Contributor
    Join Date
    11-06-2012
    Location
    New Jersey, US
    MS-Off Ver
    Excel 2016
    Posts
    182

    Comparing cell values of different workbooks

    Hello -

    I have three files already opened. One to execute macro from, the other two I want to:
    1) select from A2 to the last cell in the wm file and sort by prog in column G
    2) Basically compare columns G and I in req file and wm file....if there is
    a match, store the value in column A from wm file in arr

    Here is the code I have - a lot I know is missing:
    Please Login or Register  to view this content.
    Thank you -
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    11-06-2012
    Location
    New Jersey, US
    MS-Off Ver
    Excel 2016
    Posts
    182

    Re: Comparing cell values of different workbooks

    Hello -

    Just realized my description is probably not so good.

    1) Sort Column G in the wm file.
    2) Start with the second row in the file named req...Is there a match with anything in the wm file in columns G and I in both files?
    If so, pick up the value in column A in the wm file and store in arr.
    If not go to the next row in the req file

    Hope that helps

    Thank you!

+ 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. Comparing Cell Values
    By darkblueblood in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-28-2014, 08:34 AM
  2. Replies: 1
    Last Post: 10-01-2013, 02:41 AM
  3. Comparing values in 2 workbooks - Subscript out of range error
    By workmohit in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-03-2013, 09:58 AM
  4. Comparing two multisheet workbooks, copy single cell same row to other workbook
    By Doxie13 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-02-2011, 04:36 PM
  5. Excel 2007 : [SOLVED!] Comparing values in workbooks
    By mistie89 in forum Excel General
    Replies: 5
    Last Post: 03-02-2011, 02:51 PM
  6. [SOLVED] Comparing Cell Data! in two workbooks?
    By Thrux in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-05-2010, 06:27 PM
  7. Comparing values in the same cell
    By Litstone in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 03-16-2010, 02:41 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