+ Reply to Thread
Results 1 to 2 of 2

How do I select the top 10 of something based on distance from a city

  1. #1
    Registered User
    Join Date
    12-13-2011
    Location
    Regina, Saskatchewan
    MS-Off Ver
    Excel 2007
    Posts
    3

    How do I select the top 10 of something based on distance from a city

    Hello,

    I need to reduce a large list in an Excel workbook to just the top 10 insurance brokers for a city based on the distance from the city. I need this done for multiple cities.

    For example:

    City Broker Distance (km)
    A Smith 0.5
    A Jack 0.7
    A Joe 1.0
    .
    .
    .
    A Kirk 18.6
    B Jackie 0.9
    B Joe 1.5

    this keeps going. I have the list sorted by City then distance.

    The broker could repeat as there are a limited number but the distance of that broker will change depending on how far away the broker is from that city.

    Is there a way to do this efficiently?

    I tried Top 10 in Pivot Tables but because I need the top 10 brokers for each city it didn't work.

    Thanks

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

    Re: How do I select the top 10 of something based on distance from a city

    If I understood correctly it can be done with a Pivot table for each city. See attached.
    Attached Files Attached Files
    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.

+ 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