+ Reply to Thread
Results 1 to 3 of 3

Question about sorting two lists

  1. #1
    Registered User
    Join Date
    09-21-2006
    Posts
    35

    Question about sorting two lists

    I have two very long lists. Each has lists contains names and a corresponding number. Some names appear in each list.

    I am looking for a way to search through the lists, find the names that are common to each list and then add the two numbers that go with that name.

    I tried using the MATCH function and can use it to find which names appear in each list but cannont figure out how to do the addition part.

    Any suggestsions?

    Thanks!

  2. #2
    Registered User
    Join Date
    08-15-2006
    Posts
    22
    Something like this.....


    A B C D E
    (totals)
    Adam 6 Adam 9
    Eve 7 Steve 8


    D1+IF(ISNA(VLOOKUP(C1,$A$1:$B$2,2,FALSE)),0,VLOOKUP(C1,$A$1:$B$2,2,FALSE))

  3. #3
    Registered User
    Join Date
    08-15-2006
    Posts
    22
    looks like my spacing got all screwed up but names are in A and C columns, numbers in B and D. Your totals are in E

+ 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