Results 1 to 14 of 14

Macro based on Primary key

Threaded View

aniletc37 Macro based on Primary key 04-09-2014, 09:17 AM
jaslake Re: Macro based on Primary key 04-10-2014, 10:32 AM
aniletc37 Re: Macro based on Primary key 04-12-2014, 09:22 AM
jaslake Re: Macro based on Primary key 04-12-2014, 11:17 AM
aniletc37 Hi jaslake, Can you... 04-12-2014, 11:29 AM
jaslake Re: Macro based on Primary key 04-12-2014, 11:35 AM
jaslake Re: Macro based on Primary key 04-12-2014, 12:19 PM
aniletc37 Re: Macro based on Primary key 04-13-2014, 02:31 AM
jaslake Re: Macro based on Primary key 04-13-2014, 02:57 PM
jaslake Re: Macro based on Primary key 04-13-2014, 06:06 PM
aniletc37 Re: Macro based on Primary key 04-14-2014, 06:41 AM
jaslake Re: Macro based on Primary key 04-14-2014, 08:57 AM
aniletc37 Hi jaslake , I'm ok with... 04-14-2014, 06:56 PM
jaslake Re: Macro based on Primary key 04-15-2014, 04:32 PM
  1. #1
    Registered User
    Join Date
    03-06-2014
    Location
    india
    MS-Off Ver
    Excel 2010
    Posts
    47

    Macro based on Primary key

    Hi,


    I have data in sheet1 and sheet2.It will comparesheet1 data with sheet2 data based on empid.If empid matches
    with sheet2 then chcek all the data for the empid whether it is matching or not.If any column values is mismatching for that particular id in sheet1 and sheet2
    then highlight those unmatched columns with red background in both the sheets.If empid not present in any sheet then highlight that entire record with red color background color.Output Highlighted in bold color below.Sheet1 and sheet2 have more number of columns not only 4 columns .but sheet1 and sheet2 have same number of columns.

    sheet1

    Empid name loc age
    1 a d 23
    2 b e 21
    3 c f 20
    4 d g 22
    5 e h 24
    6 f i 25

    sheet2
    Empid name loc age
    1 a d 23
    2 b e 21
    3 c f 20
    4 f g 22
    5 e k 24
    7 f j 26
    Last edited by aniletc37; 04-09-2014 at 09:19 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Macro for primary and secondary Y axes based on cell values in another worksheet
    By jjtrip in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-04-2013, 03:21 PM
  2. Macro or VBA code to update non primary sheets based on checkbox
    By jbpar5s in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-02-2013, 06:19 PM
  3. [SOLVED] Combine multi-value rows into a single row based on a Primary Key
    By bocrad75 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-21-2013, 05:20 PM
  4. Updating two worksheets based on one primary one
    By tanj92 in forum Excel General
    Replies: 0
    Last Post: 07-07-2011, 10:15 PM
  5. macro help: click button to update value of primary cell
    By uthminister in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-24-2009, 10:46 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