+ Reply to Thread
Results 1 to 7 of 7

Remove a List of Persons from a Larger List

  1. #1
    Registered User
    Join Date
    09-06-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    3

    Remove a List of Persons from a Larger List

    Hello all,

    I have a large list of customers, first and last names. I have another list of customer who need to be removed from the first list. Everyone on the second list is on the first list, but I can't figure out a good way to remove them from the main list of people.



    Any ideas? I looked into using VLOOKUP, is that the right direction?

  2. #2
    Valued Forum Contributor
    Join Date
    04-03-2012
    Location
    East Sussex, UK
    MS-Off Ver
    Excel 2003:2010
    Posts
    893

    Re: Remove a List of Persons from a Larger List

    Personally I'd use COUNTIF to check which of the first list are also on the second list then filter the data to anything that isn't zero and delete those rows.
    If I've been of help, please hit the star

  3. #3
    Registered User
    Join Date
    09-06-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Remove a List of Persons from a Larger List

    Quote Originally Posted by Spencer101 View Post
    Personally I'd use COUNTIF to check which of the first list are also on the second list then filter the data to anything that isn't zero and delete those rows.
    That sounds like exactly what I want! I'm a sorry excuse of an excel user, so I've never used COUNTIF. From what I see, it only identifies weather or not a thing exists in a range, not where/what it is. Would you mind explaining your idea a little further? I really appreciate your help.

  4. #4
    Valued Forum Contributor
    Join Date
    04-03-2012
    Location
    East Sussex, UK
    MS-Off Ver
    Excel 2003:2010
    Posts
    893

    Re: Remove a List of Persons from a Larger List

    Have a look at the attached.

    Sheet 1 is your "main list"
    Sheet 2 is your list to check against.

    Column A on Sheet 1 holds the main list of names
    Column A on Sheet 2 holds the list of names to be checked against.
    Column B on Sheet 1 holds the results of the COUNTIF

    So the COUNTIF formula compares the value in column A against the whole list on Sheet 2. If it finds any instances it will show how many. If it doesn't it will show zero.

    So all you have to do is apply the auto filter on column B of Sheet 1 to show anything other than zero and delete those rows.

    On your workbook you will obviously have to alter the ranges to fit your dataset.

    Let me know if you need anything more on this
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    09-06-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Remove a List of Persons from a Larger List

    Yes! That's it! Thank you, you saved me so much headache!

  6. #6
    Valued Forum Contributor
    Join Date
    04-03-2012
    Location
    East Sussex, UK
    MS-Off Ver
    Excel 2003:2010
    Posts
    893

    Re: Remove a List of Persons from a Larger List

    Not a problem. Glad to help!

  7. #7
    Registered User
    Join Date
    01-10-2024
    Location
    Calgary, Alberta, Canada
    MS-Off Ver
    Excel 2019
    Posts
    1

    Re: Remove a List of Persons from a Larger List

    Thank you!! This helped me too.

+ 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