+ Reply to Thread
Results 1 to 6 of 6

Multiple Column Data Comparision and Output

  1. #1
    Registered User
    Join Date
    01-14-2013
    Location
    U.S.A
    MS-Off Ver
    Excel 2010
    Posts
    5

    Multiple Column Data Comparision and Output

    My scenario:
    I have 3 columns of data say A, B & C. I need to look for duplicates in Column A and compare each entry with corresponding values in column B. Now in a new table, print the entry from column A once, entry from B once and the total count A matched with duplicates in B as well as the corresponding values from C.
    Attached is the sample worksheet with Ex. input and desired output.
    I have close to 500K entries(rows) that I need to run this against. Any help will be well appreciated and thank you in advance.
    Attached Files Attached Files
    Last edited by nostra; 01-15-2013 at 01:47 AM. Reason: Attached Worksheet

  2. #2
    Valued Forum Contributor
    Join Date
    02-09-2012
    Location
    Mauritius
    MS-Off Ver
    Excel 2007
    Posts
    1,055

    Re: Multiple Column Data Comparision and Output

    Hi.

    Post an excel file please.
    Click *, if my suggestion helps you. Have a good day!!

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Multiple Column Data Comparision and Output

    Hi nostra, and welcome to the forum

    Often, a copy/paste of your data to here does not show exactly what the layout is, so it is always better to upload a sample workbook, showing what data you are working with, a few examples of what your expected outcome would be, and how you would arrive at that (remove any confidential info if necessary).
    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    01-14-2013
    Location
    U.S.A
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Multiple Column Data Comparision and Output

    Thank you and sorry about that FDibbins.
    The worksheet is attached with sample data and desired output. So just to reiterate, I want to pick the first value in column A, and print it's corresponding values in column B & C in a new table. Now the sheet has to look if the same value is ever repeated again in column A, if yes match against the value in column B and if both match to the first entry in the new table then increment counter by one otherwise just insert a new row.

    Bottom line I am trying to figure out the number of times an ID shows up in a particular room with it's time stamp.

    Thanks...
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    11-08-2012
    Location
    arity
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Multiple Column Data Comparision and Output

    Hello,

    This is my first post on the excel forum and this is the same problem that I am occuring. Is there already a solution for this?

    best regards

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Multiple Column Data Comparision and Output

    Henk welcome to the forum


    The only posts to this thread are what you see

    Also, just in case the answer to this thread does not meet your needs, you need to start your own thread (reference this 1 if it is relevant). Based on forum rules, you are not allowed to post your own questions on some-one elses thread

    Thanks

+ 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