+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    03-16-2010
    Location
    Aberdeen, Scotland
    MS-Off Ver
    Excel 2007
    Posts
    4

    Filtering one worksheet using another

    Hello,

    Thought I'd turn here as my brain is fried.

    I'm not very skilled when it comes to Excel.

    I have a large list of postcodes for which I require addresses. I have a HUGE list of addresses, covering the postcodes I require and many many more.

    How do I rid myself of the many many more and filter the list of addresses to only cover the postcodes I want?

    Essentially I have a list of postcodes in worksheet A, and a list of addresses, including postcodes, in worksheet B. I want to filter worksheet B so it only covers the postcodes in worksheet A.

    Apologies if this is unclear!

    I have a feeling there's a simple solution out there, but I surely can't find it!

    Thanks

  2. #2
    Registered User
    Join Date
    03-16-2010
    Location
    Aberdeen, Scotland
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Filtering one worksheet using another

    Realised there may be some confusion, postcodes are the UK equivalent to zip codes!

  3. #3
    Forum Moderator romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    Alibi
    MS-Off Ver
    All
    Posts
    8,262

    Re: Filtering one worksheet using another

    Why not just use a lookup on the sheet that has the postcodes you want to retrieve the addresses?
    So long, and thanks for all the fish.

  4. #4
    Registered User
    Join Date
    03-16-2010
    Location
    Aberdeen, Scotland
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Filtering one worksheet using another

    How do I use a lookup to look up a range of values and not just one?

  5. #5
    Forum Moderator romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    Alibi
    MS-Off Ver
    All
    Posts
    8,262

    Re: Filtering one worksheet using another

    I'd need more detail to answer that.
    If you really do just want to filter sheet B based on sheet A, then add a column to sheet B using a formula like:
    =ISNUMBER(match(A2,SheetA!A:A,0))
    assuming the postcodes are in column A on both sheets. Then use autofilter on sheet B filtering for TRUE in the new column.
    So long, and thanks for all the fish.

  6. #6
    Registered User
    Join Date
    03-16-2010
    Location
    Aberdeen, Scotland
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Filtering one worksheet using another

    On sheet A all I have is postcodes, in the one column.

    On sheet B, postcodes are in column P, alongside all the other address data (number, street etc).

    In sheet B all I want is the addresses for each postcode listed in sheet A.

    Hope that makes sense!

  7. #7
    Forum Moderator romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    Alibi
    MS-Off Ver
    All
    Posts
    8,262

    Re: Filtering one worksheet using another

    Just alter that formula to:
    =ISNUMBER(match(P2,SheetA!A:A,0))
    and copy down, then filter.
    So long, and thanks for all the fish.

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.2.0