+ Reply to Thread
Results 1 to 7 of 7

HELP! I have a list of distances and need to sort them automatically into distinct lists

  1. #1
    Registered User
    Join Date
    06-24-2013
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    4

    HELP! I have a list of distances and need to sort them automatically into distinct lists

    first time poster, and amateur excel user, so sorry if this is covered elsewhere.

    I have a series of inter-related coordinates on a grid (these are monitoring stations and sample plots...I want to be able to figure out which plots are within certain distance of the stations - we have about 100 departments (with 3-4 stations each) and literally hundreds of sample plots that change quarterly).

    So I already know how far it is from the stations to each point , but I want to then take this information and auto-build a list for each of my locations. So each year we could just plug in the new sample plot coordinates and it would auto generate a list for each station showing which plots to check.


    I've got the distance calc figured out (using a simple distance equation) like this:

    Name Dist1 / Dist2 / Dist3
    Boaz 456 / 17 / 43
    Strom 98 / 802 / 80

    so from the example I know that Boaz is 456 units away from point1, 17 from point2, 43 from point3.
    Or put in the way that we need the info, we know that station 1 is 456 units away from Boaz, and 98 units away from Strom.


    Now here's where I am stuck. I'd like to have another table/pivot(?) where I can distinctly list all points that are less than 100 units away from my stations. So for my first station table, it would only list Strom (at 98 units away); and my second station table would list Boaz (at 17 units away) as well as then Table3 would list both names (at 43 and 80 units away respectively).

    I can paste and sort, but it seems so crude (and time consuming, there are hundreds of named plots). Is there a way for me to make each distance list out on another sheet all named plot points that are less than say 100 units away?

    thanks in advance for any help!!!

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: HELP! I have a list of distances and need to sort them automatically into distinct lis

    Hi and welcome to the forum

    If you already have a table with...
    Name Dist1 / Dist2 / Dist3
    Boaz 456 / 17 / 43
    Strom 98 / 802 / 80

    for all of your points etc, would it make sense to have an identical table and then just use...
    =if(B2<100,B2,"")
    copied down and across. This would them show just those data points that are withing your 100 criteria?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    06-24-2013
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: HELP! I have a list of distances and need to sort them automatically into distinct lis

    ooh thanks so much!!!
    I am going to attempt this shortly! Much appreciated!

  4. #4
    Registered User
    Join Date
    06-24-2013
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: HELP! I have a list of distances and need to sort them automatically into distinct lis

    hmm, this isn't working for me, but maybe I just don't understand excel well enough.
    When I paste your suggestion into the sheet, it doesn't seem to capture what I want.
    So if true, then I need it to pull in the coordinates, name and distance (column A,B, are cords; column C is name; and D is distance)

    But when I try this it says too many arguments. What am i doing wrong now? lol

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: HELP! I have a list of distances and need to sort them automatically into distinct lis

    I think I forgot to add...

    =if(sheet1!B2<100,sheet1!B2,"")

    see the attached
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    06-24-2013
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: HELP! I have a list of distances and need to sort them automatically into distinct lis

    wow thanks so much!!!
    that certainly does what I asked for!!

    A great big thank you to you kind sir or madam!!!

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: HELP! I have a list of distances and need to sort them automatically into distinct lis

    Happy to help (and Im not sure about the sir part, but I am a guy lol)

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Also, as a relatively new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ 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