+ Reply to Thread
Results 1 to 2 of 2

List Consolidation

  1. #1
    Registered User
    Join Date
    12-21-2011
    Location
    Cambridge
    MS-Off Ver
    Excel 2010
    Posts
    1

    List Consolidation

    Hi

    I wonder if anyone can help me please.

    I have a list 240 countries in column A. In column B, the number of people in each country is populated by an automated process done on a separate workbook. 90% of the countries will always be zero 90% of the time but I can never predict.

    I need this list of 240 countries consolidated to just a list of those counties who's population is greater than zero.

    My first list looks like this.
    Country A 10
    Country B 0
    Country C 0
    Country D 3
    Country E 0

    And I need it consolidated to this.

    Country A 10
    Country D 3

    Is this possible to do? Don't mind if its done via formula or VBA.

    Thanks

    Alex.

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,887

    Re: List Consolidation

    Hi Alex, welcome to the forum. Going the macro route there are several options:

    1. Filter the list in place (hide the rows with countries having 0 people)
    2. Filter the list to another location, then clear the original info and paste the filtered list in its place
    3. Delete the rows in which people is 0.

    2 and 3 produce the same results, just different methods of doing so. Here are examples of all 3:

    1. Filter the list in place:
    Please Login or Register  to view this content.
    2. Advanced Filter, overwrite original list with filtered data. This uses columns C, D and E to hold the temporary criteria and filtered data.
    Please Login or Register  to view this content.
    3. Delete rows containing 0's in column B:
    Please Login or Register  to view this content.
    Hope that helps!

+ 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