+ Reply to Thread
Results 1 to 26 of 26

Automatic route planner?

  1. #1
    Registered User
    Join Date
    07-27-2012
    Location
    Oslo, Norway
    MS-Off Ver
    Excel 2010
    Posts
    32

    Automatic route planner?

    Every day I get a list from my customer with 100-150 customers on 6-8 different routes I need to deliver.

    For now I manually sort them via cut & paste, and an hours work to do so.

    Is there any way to make life easier for me? I've made an example file with how I get the route from my customer, and how it looks after I sort it.

    I'm thinking, if I maybe make a "master" list with the correct order to drive in, and make some formula to sort it?

    Thanks!

    File attachment: Sorting_problem.xlsx

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Automatic route planner?

    Unable to understand the logic Pls explain


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    07-27-2012
    Location
    Oslo, Norway
    MS-Off Ver
    Excel 2010
    Posts
    32

    Re: Automatic route planner?

    Short story:

    1. I get an unsorted list from my customer with deliveries I need to make

    2. I now manually sort this to a new list in the correct order to drive these deliveres in the fastes/shortest route possible.

    3. I would like to have some magic happen so I don't need to spend an hour cutting and pasting the different routes into order.

    Did that help?

  4. #4
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Automatic route planner?

    On what basis you sorted data
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  5. #5
    Registered User
    Join Date
    07-27-2012
    Location
    Oslo, Norway
    MS-Off Ver
    Excel 2010
    Posts
    32

    Re: Automatic route planner?

    Based on where the stores are placed geographically to make the most efficient route.

    So if possible I can sort it based on the company name?

  6. #6
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Automatic route planner?

    As per your example all are in the same route, then why r u sorting the Data

  7. #7
    Registered User
    Join Date
    01-07-2013
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    65

    Re: Automatic route planner?

    You need a master list with all the possible routes in right order then when you get your daily routes from your customers you can sort them automatically.

    If you make a master list and post it here we can help.

  8. #8
    Registered User
    Join Date
    07-27-2012
    Location
    Oslo, Norway
    MS-Off Ver
    Excel 2010
    Posts
    32

    Re: Automatic route planner?

    In the example file I posted.

    The first list is the alphabetically sorted one. The second on is the "master list" in which it is supposed to be sorted.

  9. #9
    Registered User
    Join Date
    01-07-2013
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    65

    Re: Automatic route planner?

    In master routes I created column I to number the routes from 1 to however many you have and added a a simple formula to give you the order in the list you get from your customers. Also added a filter for you to sort based on this information.
    Attached Files Attached Files

  10. #10
    Registered User
    Join Date
    06-18-2014
    Location
    New Delhi
    MS-Off Ver
    2013
    Posts
    18

    Re: Automatic route planner?

    Hi,

    I think it would be much better if you create a list of keywords which would have names of areas with it's priority as per your near by location.. By this through keywords, the area column will be updated by looking address details and based upon the near by locations it can be priortized which will let you know that how you should plan to deliver.

  11. #11
    Forum Contributor
    Join Date
    12-30-2012
    Location
    Israel
    MS-Off Ver
    2007, 2016
    Posts
    642

    Re: Automatic route planner?

    @tk - If I understand you need to sort alphabetically? In the sample I attached copy sheet Ark1 A3:H19 to sheet Sorting (don't erase row 1 and 2, hence A3:H19). Then push the button Sorting. The copied range is sorted by company name (alphabetically).
    Attached Files Attached Files
    Last edited by GIS2013; 06-27-2014 at 09:25 AM. Reason: Typo
    Please * if you like the answer

  12. #12
    Forum Contributor
    Join Date
    12-30-2012
    Location
    Israel
    MS-Off Ver
    2007, 2016
    Posts
    642

    Re: Automatic route planner?

    See modified version attached.
    Attached Files Attached Files

  13. #13
    Registered User
    Join Date
    06-18-2014
    Location
    New Delhi
    MS-Off Ver
    2013
    Posts
    18

    Re: Automatic route planner?

    Can you post the file which has actual data on it. I think that will make more sense to understand and fix it.
    Best Regards,
    Shaurya

  14. #14
    Registered User
    Join Date
    07-27-2012
    Location
    Oslo, Norway
    MS-Off Ver
    Excel 2010
    Posts
    32

    Re: Automatic route planner?

    Quote Originally Posted by spriyatam View Post
    Can you post the file which has actual data on it. I think that will make more sense to understand and fix it.
    Unsorted_list_received_from_my_customer.xlsx
    - This is the list exacly as I receive it.

    Sorted_list_manually_sorted_by_me.xlsx
    - This is the list after I've sorted the stores manually via ctrl+x and ctrl+v

  15. #15
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Automatic route planner?

    You're doing this in some intuitive way by your knowledge of the local geography, or looking at a map, but it is a very difficult problem to solve for the general case. With just those 16 destinations, the route could be arranged in 10 trillion (=fact(16)/2) ways.

    Google traveling salesman problem

    I would guess that FedEx has some nifty software to help route planning.
    Last edited by shg; 06-28-2014 at 06:08 PM.
    Entia non sunt multiplicanda sine necessitate

  16. #16
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Automatic route planner?

    I have only seen one route planner and the basis of the logic behind it was the area codes used by the postal system. The addresses were entered into the system and the postal codes were returned for those addresses. A sort on the postal codes gave an order of the addresses for the delivery. At least this arranged the addresses of a small area together.

    For what I understand, a driver with a good knowledge of the area is likely to be better at the route planning than the software.

    There is software available for route planning for deliveries (Google search for "route planner software for addresses +Norway"

    Here is one of the sites that I found. https://www.viamente.com/
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  17. #17
    Registered User
    Join Date
    07-27-2012
    Location
    Oslo, Norway
    MS-Off Ver
    Excel 2010
    Posts
    32

    Re: Automatic route planner?

    You are overcomplicating this I think (or I am terrible in explaining thus) . The routes have only small changes from day to day/week to week. Recurring customers and 2-5 variations.

    I dont want it to sort the best route by itself. I will make the master list/best route. I jsut need excel to sort it based on my knowledge/predetermined best route.

    I do not need a software to tell me the shortest way, I will do that better because of knowledge of traffic/roadworks/etc.

    Sent fra min GT-I9300 via Tapatalk

  18. #18
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Automatic route planner?

    There was nothing the matter with your explanation. I just gave you too much for an answer.

    That is why I said in message #16 "For what I understand, a driver with a good knowledge of the area is likely to be better at the route planning than the software."

    If you list the stops on the route, that your experience says is the best order, for the route then in a neighbouring column number the list from 1 to whatever the end is. These numbers will then be your "sort order".
    Last edited by newdoverman; 06-28-2014 at 08:21 PM.

  19. #19
    Registered User
    Join Date
    07-01-2014
    Location
    Canada
    MS-Off Ver
    2007
    Posts
    1

    Re: Automatic route planner?

    shg is right - if you need to actually visit these locations, sorting them out with excel will get you so far. once your route is sorted, you can enter each county to google maps and see if your route is makes sense geographically. if your route doesn't change much, you can do this once and just move the stops around when you have a new one. good luck.

  20. #20
    Registered User
    Join Date
    07-27-2012
    Location
    Oslo, Norway
    MS-Off Ver
    Excel 2010
    Posts
    32

    Re: Automatic route planner?

    I'd just like a formula or somethibg to sort the stops I input based on a master list I set. I don't need it to actually look at the geography and determine it for me. How can I do this?

    Sent fra min GT-I9300 via Tapatalk

  21. #21
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Automatic route planner?

    Driver knowledge of the geography is better than any software package (that is in any way affordable to most). Unless you are using an automatic scanning system to enter the data to be sorted, it can most likely be done faster and more accurately manually.

  22. #22
    Registered User
    Join Date
    07-27-2012
    Location
    Oslo, Norway
    MS-Off Ver
    Excel 2010
    Posts
    32

    Re: Automatic route planner?

    You are overcomplicating this by a mile.

    I know the geography and I know the best route to drive based on gepgraphy and customer demands.

    I do NOT need software to determine this for me, nor do I want it to if it could.

    I want to make a list of all the stops in the correct order for one city. Also known as: the best route.

    Problem is, there are 100-200 stops every day (out of a total of around 400), and I do NOT get the daily list of deliveries sorted as "the best route".

    So I have to cut and paste 100-200 cells daily to manually sort those deliveries to be able to print out the best route for my drivers (who does NOT know the best route by experience, so I need to provide it.

    I am looking for a way to not have to do this manually, but instead:
    1. Give Excel "the best route" of all the 400 stops.
    2. When I receive my daily list of 100-200 stops I want excel to compare these stops to my already predetermined "best route".
    3. Excel will then do two things. The first is to sort it in the correct order (which I have already set) and then remove all the stops from the list with 400 stops which is not in my list received for that given day.
    (if stop Customer A is not on the schedule for thursday, it will then remove it and put stop B there as the first stop for the route for thursday)

    This will give me the correct list for thursday.

    Again, I am NOT looking for a sofware to look at map/distance/traffic. I'm only hoping to remove the 1000-1200 cut and paste operations every week I have to do manually.

    Hope this has clarified things a bit...


    Sent fra min GT-I9300 via Tapatalk
    Last edited by tk240381; 07-09-2014 at 08:02 PM.

  23. #23
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Automatic route planner?

    I'm not complicating this at all. All I am saying is that you are better off doing the sorting manually based you your experience.

  24. #24
    Registered User
    Join Date
    07-27-2012
    Location
    Oslo, Norway
    MS-Off Ver
    Excel 2010
    Posts
    32

    Re: Automatic route planner?

    I know that, and I am doing that. But that was not the question/problem now was it?

    Sent fra min GT-I9300 via Tapatalk

  25. #25
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Automatic route planner?

    You're looking for an easy solution to a well-known, long-studied problem that is NP-complete. If you have a simplified algorithm in mind, you should describe it, and someone would likely help. Telling people that they don't get it doesn't advance your cause or suggest you have any clue how to solve it.
    Last edited by shg; 07-10-2014 at 12:48 AM.

  26. #26
    Registered User
    Join Date
    07-27-2012
    Location
    Oslo, Norway
    MS-Off Ver
    Excel 2010
    Posts
    32

    Re: Automatic route planner?

    I did tell him he didn't get it AND followed up by a very detailed explanation of what I needed/what he wasn't getting...

    English is not my main language, but it eludes me how I can explain this in any other way.

    Sent fra min GT-I9300 via Tapatalk

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Route planner
    By observ in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-09-2014, 08:09 AM
  2. Help making a route planner
    By tk240381 in forum Excel General
    Replies: 6
    Last Post: 05-01-2014, 06:16 AM
  3. Fill planner table relying on data from another table winery planner
    By pleb in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-10-2013, 04:54 AM
  4. Excel Route Planner - Working slooow
    By tk240381 in forum Excel General
    Replies: 3
    Last Post: 12-18-2012, 05:49 AM
  5. Route formula
    By SentientParadox in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-01-2009, 11:35 PM

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