+ Reply to Thread
Results 1 to 3 of 3

compare cell and insert vaalue in column Q

  1. #1
    sal21
    Guest

    compare cell and insert vaalue in column Q


    http://www.GSSITALY.COM/compare.ZIP

    i have this 2 wbook in c:\verifiche\

    Note: i open for this work the wbook MASTER, and i would want to
    maintain into dir the wbook USER

    i would want to compare ad copy value of USER column R, into column R
    of MASTER in this mode and with 2 condition (in VBA):

    condition number 1)
    the value of column R of USER is present into same column R of MASTER,
    copy the value of column Q of USER into column Q of MASTER...

    condition number 2)
    the value of column R of USER is not present into same column R of
    MASTER, insert into column Q of MASTER the value "NEW"

    Tthat its all...


  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259
    Hello Sal21,

    This macro will do what you asked based on the information and worksheets you provided. If you have any problems, you can reach me by email at [email protected].

    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

  3. #3
    Forum Contributor
    Join Date
    10-28-2003
    Location
    Italy
    MS-Off Ver
    11
    Posts
    134
    Quote Originally Posted by Leith Ross
    Hello Sal21,

    This macro will do what you asked based on the information and worksheets you provided. If you have any problems, you can reach me by email at [email protected].

    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross
    Hi, Leith Ross
    Tks for code. It work well....
    But, why not insert the value "new" in other cell of sheet MASTER, when not exist correpondence from USER to MASTER?
    I attache my sheet master with my idea...Your macro put the value new only in cell 408 of MASTER
    Sorry for my english but sure you have understand me, you have posted me a good code.
    Coffe a nd pizza are for you...

  4. #4
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259
    Hello Sal21,

    This code should put "New" into the Master cell if there is no correspondce with the User cell or the Master cell has a number, but no description.

    Please Login or Register  to view this content.
    By the way, if you have trouble writing something in English, feel free to write it in Italian. I am part Italian and can read it pretty well.

    Ciao,
    Leith Ross

+ 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