+ Reply to Thread
Results 1 to 6 of 6

Comparing rows in excel

  1. #1
    Registered User
    Join Date
    10-23-2009
    Location
    Singapore
    MS-Off Ver
    Excel 2003
    Posts
    34

    Comparing rows in excel

    Hi, I'm having difficulties comparing rows from two different worksheet.
    I have one worksheet that holds person specification, another being the job application database.

    And in the this 3rd worksheet - shortlisted worksheet, I'm trying to use a tool to compare rows between those 2 worksheets, and results should only be displayed if the values in entire row for person specification matches the values in job application database.

    I'm trying to use macro, and was wondering if there are any easier method.

    I tried writing the codes, but how do i compare the values for both worksheets.

    Please take a look at my attached to better understand my problem.

    Thanks. Any help would be appreciated.

    Please Login or Register  to view this content.
    Attached Files Attached Files

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Comparing rows in excel

    You could get your code to set the value of autofilters on your person sheet to the values in the job specification.

    e.g.

    Please Login or Register  to view this content.
    Martin

  3. #3
    Registered User
    Join Date
    10-23-2009
    Location
    Singapore
    MS-Off Ver
    Excel 2003
    Posts
    34

    Re: Comparing rows in excel

    Thanks for the reply. What does the line do? Care to explain more =)

    Cause i need to do comparison of rows between two worksheets before auto-filtering.
    Last edited by ChalkerL; 11-20-2009 at 04:10 PM.

  4. #4
    Registered User
    Join Date
    10-23-2009
    Location
    Singapore
    MS-Off Ver
    Excel 2003
    Posts
    34

    Re: Comparing rows in excel

    I'm not really good with VBA. Sorry abt that.
    Last edited by ChalkerL; 11-20-2009 at 04:57 PM.

  5. #5
    Registered User
    Join Date
    10-23-2009
    Location
    Singapore
    MS-Off Ver
    Excel 2003
    Posts
    34

    Re: Comparing rows in excel

    Hi, i thought of using Vlookup for comparing of rows. Could i sort it based on the dropdown box, say if user were to choose adminstrator, the vlookup will be based on that results, likewise for other job specification.

  6. #6
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Comparing rows in excel

    Try

    Please Login or Register  to view this content.
    This should set all the appropriate filters on the database sheet with single or multiple criteria where the criteria are comma separated in the person spec sheet. You will need to be careful that you use exactly the same terms otherwise the subtle variations in spelling will cause the routine to give unexpected results.

    Select any cell in the person spec row of choice and run the macro.

+ 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