+ Reply to Thread
Results 1 to 6 of 6

compare values multiple columns

  1. #1
    Registered User
    Join Date
    07-12-2011
    Location
    Sydney
    MS-Off Ver
    Excel 2003
    Posts
    5

    compare values multiple columns

    I would like to compare values in name columns A, C, E, G,where at least 1 match is found add the name, associated value in the visits column(s) to a table in new sheet. Please see the attached xls. Any suggestions would be greatly appreciated.
    Attached Files Attached Files
    Last edited by allaud; 07-12-2011 at 09:58 PM. Reason: mark it solved

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: compare values multiple columns

    It is not clear what you want here.

    What do you mean by "where at least 1 match is found add the name..."? A match to what?

    What are some expected results based on your sample data?
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    07-12-2011
    Location
    Sydney
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: compare values multiple columns

    Quote Originally Posted by NBVC View Post
    It is not clear what you want here.

    What do you mean by "where at least 1 match is found add the name..."? A match to what?

    What are some expected results based on your sample data?
    Thank You NBVC.

    would like to compare names in col A, C, E & G and display results found in the col to the right of name cell in a new worksheet in table named result. Where there were no records in visits col add "0" in the results cell. I have included expected results in "expected results" tab in updated ver of the example spreadsheet. Hope this clarifies. Appreciate your help.
    Attached Files Attached Files
    Last edited by allaud; 07-12-2011 at 08:43 AM.

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: compare values multiple columns

    After listing the Unique names in column A (starting at A3), try:

    Please Login or Register  to view this content.
    copied down and across

    This looks at every group of 2 columns in the data sheet and compares to values in column A and extracts corresponding numbers...

  5. #5
    Registered User
    Join Date
    07-12-2011
    Location
    Sydney
    MS-Off Ver
    Excel 2003
    Posts
    5

    Solved: compare values multiple columns

    Quote Originally Posted by NBVC View Post
    After listing the Unique names in column A (starting at A3), try:

    Please Login or Register  to view this content.
    copied down and across

    This looks at every group of 2 columns in the data sheet and compares to values in column A and extracts corresponding numbers...
    Thank you worked.

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: compare values multiple columns

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

+ 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