How to Perform Route Optimization in Excel (2 Easy Ways)

Get FREE Advanced Excel Exercises with Solutions!

Fortunately, many of us use Excel in our business organizations. In any business organization, we use Excel to organize data as per need and make databases for the future. Moreover, one interesting thing is that we need to perform route optimization in Excel to better represent the data. But there are no direct methods to do so.  In this article, I will show you 2 suitable methods to perform route optimization in Excel. Hence, read through the article to learn more and save time.

However, I have used Microsoft Office 365 for the purpose of demonstration, and you can use other versions according to your preferences.


How to Perform Route Optimization in Excel: 2 Suitable Methods

In this tutorial, I will show you how to perform route optimization in Excel. Here, I have used 2 different methods to make you understand the scenario properly. For the purpose of demonstration, I have used the following sample dataset. Here, the dataset includes the Names of the customers and Locations with Zip codes.

Route Optimization in Excel Dataset


1. Sort by Zip Code to Optimize Route in Excel

First of all, I will use the Sort feature to optimize routes in Excel. However, the process is quite easy and simple.  In this part, I will sort the Zip Code of the locations in order to optimize the given routes. Hence, follow the steps below in order to complete the operation properly.

📌 Steps:

  • Initially, create another column and insert the Zip codes of the location.

Sort by Zip Code to Optimize Route in Excel

  • Then, select the dataset headings and go to the View tab.
  • Next, select the Freeze Panes However, you have to freeze them in order to keep the heading at the top after the sorting process.

  • After that, select the Zip Code column and move to the Data tab.
  • Now, select the sort sheet by A → Z from Sort & Filter command.

  • Afterward, check to Expand the selection and press Sort.

  • Finally, you will get your optimized route because it is better to start the route from the first location and end it serially.

Sort by Zip Code to Optimize Route in Excel


2. Combine Excel and Google Maps for Route Optimization

Furthermore, you can make the optimization better with the help of Google Maps. In this part, I will combine Microsoft Excel and Google Maps in order to perform route optimization. However, this method will show you not only the route and distance but also the traffic of the route. Moreover, it will show you multiple routes so that you can choose according to your preference. Hence, read through the below part to understand the process.

📌 Steps:

  • Firstly, open the active worksheet and hit the F12 key to open the Save As dialog box.

Combine Excel and Google Maps for Route Optimization

  • Secondly, select .CSV from the Save as type and click on Save.

  • Thirdly, press OK from the dialog box. Here, the workbook contains multiple worksheets, but you have to save all sheets individually to .CSV.

  • Fourthly, go to the following link and click on +CREATE A MAP.

  • Afterward, hit the Import button from the top left corner.

Combine Excel and Google Maps for Route Optimization

  • Now, drag and drop the CSV file into the box. However, you can Select a file from your device.

  • After that, select the columns which contain location and press Continue.

  • Similarly, select the column which contains the title for the locations and hit Finish.

  • However, it will show all the locations on the map.

Route Optimization in Excel

  • In addition, select a stop and click on the arrow icon from the bottom right corner of the window.

  • Add all the destinations from the map.

  • Lastly, you will get your desired route optimization.

Route Optimization in Excel


Download Practice Workbook

You can download the workbook used for the demonstration from the download link below.


Conclusion

These are all the steps you can follow to perform route optimization in Excel. Overall, in terms of working with time, we need this for various purposes. I have shown multiple methods with their respective examples, but there can be many other iterations depending on numerous situations. Hopefully, you can now easily create the needed adjustments. I sincerely hope you learned something and enjoyed this guide. Please let us know in the comments section below if you have any queries or recommendations.


Related Articles


<< Go Back to Optimization in Excel | Solver in Excel | Learn Excel

What is ExcelDemy?

ExcelDemy - Learn Excel & Get Excel Solutions Center provides online Excel training , Excel consultancy services , free Excel tutorials, free support , and free Excel Templates for Excel professionals and businesses. Feel free to contact us with your Excel problems.
Mehedi Hasan
Mehedi Hasan

Mehedi Hasan, a BSc graduate in Naval Architecture & Engineering from Bangladesh University of Engineering and Technology, plays a pivotal role as an Excel & VBA Content Developer at ExcelDemy. Fueled by a profound passion for research and innovation, he actively engages with Excel. In his capacity, Mehedi not only adeptly tackles intricate challenges but also showcases enthusiasm and expertise in navigating tough situations with finesse, underscoring his unwavering dedication to consistently delivering exceptional and high-quality content. He... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo