+ Reply to Thread
Results 1 to 2 of 2

Macro to compare Sheet2 values with Sheet1 cells range (combined with Name Manager)

  1. #1
    Forum Contributor
    Join Date
    08-12-2013
    Location
    India
    MS-Off Ver
    Office 365
    Posts
    147

    Macro to compare Sheet2 values with Sheet1 cells range (combined with Name Manager)

    Hello guys,

    I need help in creating a macro.

    There are 2 sheets in the attached file. In Sheet1, the range from column A2 to A12 has been Named as "Yes" through Name Manager and the range from B2 to B8 has been Named as "No" through Name Manager.

    I need a Macro which first compare the all values of Column A in Sheet2 with Sheet1 "Yes" Name range and if found then enter the value as Yes in Column B in Sheet2, after this all Sheet1 Column A values should get compare with "No" Name range of Sheet1 and if found then enter the value as No in Column B.

    The range in Sheet1 is dynamic that's why we had used Name manager so we do not need enter in to the Macro if the range increased.

    Any help will be appreciated.

    Thanks
    MG
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Macro to compare Sheet2 values with Sheet1 cells range (combined with Name Manager)

    Maybe:

    Please Login or Register  to view this content.

+ 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. Replies: 8
    Last Post: 12-22-2013, 01:16 PM
  2. Replies: 3
    Last Post: 10-09-2013, 02:29 PM
  3. Macro to compare two sheets and insert new sheet from Sheet1 to Sheet2
    By kmccarty in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-21-2012, 03:40 PM
  4. [SOLVED] Compare 2 cells in 2 sheets, if both match append data in Sheet2 to Sheet1
    By furious0331 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-29-2012, 01:05 AM
  5. Compare 2 cells on sheet1 with 2 cells on sheet2 and copy unmatched rows to sheet3
    By drewship in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-08-2010, 07:56 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