Calculate flight distance in miles between any 2 cities
Results 1 to 10 of 10
  1. #1
    Registered User
    Join Date
    10-03-2020
    Location
    Qatar
    MS-Off Ver
    365
    Posts
    7

    Calculate flight distance in miles between any 2 cities

    Hi guys,

    Is there any way to calculate distance between two international cities, when travelling by air? (say, for example between Tunis and Amman)

    I use below website to retrieve distance in miles and manually input in my reports.(cumbersome, with hundreds of rows)

    airmilescalculator(dotcom)/distance/tun-to-amm/

    Appreciate your assistance.

    Thanks,
    Alex
    Attached Files Attached Files
    Last edited by alexy2k; 04-06-2021 at 06:42 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    82,700

    Re: Calculate flight distance in miles between any 2 cities

    Yes, you can!!!

    There are instructions at the top of the page explaining how to attach your sample workbook.

    In fact, you KNOW this already!!!

    https://www.excelforum.com/excel-gen...ml#post5404321
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    10-03-2020
    Location
    Qatar
    MS-Off Ver
    365
    Posts
    7

    Re: Calculate flight distance in miles between any 2 cities

    Done. sample data added.

  4. #4
    Registered User
    Join Date
    10-03-2020
    Location
    Qatar
    MS-Off Ver
    365
    Posts
    7

    Re: Calculate flight distance in miles between any 2 cities

    Looks like a tough one, eh?

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,523

    Re: Calculate flight distance in miles between any 2 cities

    to do this, you need a table of distances / map references between multiple locations which I assume is what is behind the web calculator but available to you (or us!).

    See attached with sample formula in B34

    =INDEX($B$2:$AC$29,MATCH($B$32,$A$2:$A$29,0),MATCH($B$33,$B$1:$AC$1,0))
    Attached Files Attached Files
    Last edited by JohnTopley; 04-07-2021 at 03:02 AM.

  6. #6
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,462

    Re: Calculate flight distance in miles between any 2 cities

    How do you want to calculate? Straight line on a map (and which type of map in this case) or using the orthodromy?

  7. #7
    Registered User
    Join Date
    10-03-2020
    Location
    Qatar
    MS-Off Ver
    365
    Posts
    7

    Re: Calculate flight distance in miles between any 2 cities

    Straight line. This is for air travel.

    I normally use airmilescalculator(dotcom) to retrieve distances.
    Last edited by AliGW; 04-07-2021 at 03:49 AM. Reason: PLEASE don't quote unnecessarily!

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,427

    Re: Calculate flight distance in miles between any 2 cities

    Quote Originally Posted by alexy2k View Post
    Straight line. This is for air travel.
    Are you sure? I only ask because most (long distance) flight paths tend to follow orthodromic routes
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  9. #9
    Registered User
    Join Date
    10-03-2020
    Location
    Qatar
    MS-Off Ver
    365
    Posts
    7

    Re: Calculate flight distance in miles between any 2 cities

    Yes, you are right on the logic there. I think the web calculators use this orthodromic principle. I'm no expert on this subject though.
    Last edited by AliGW; 04-07-2021 at 04:28 AM. Reason: PLEASE don't quote unnecessarily!

  10. #10
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,462

    Re: Calculate flight distance in miles between any 2 cities

    As you can imagine this question is not a "premi�re" https://www.ic-ims.com/excel-example...-airports.html

Similar Threads

  1. Calcutate distance in km between 2 cities.
    By ALN_82 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-14-2021, 05:59 AM
  2. Distance calculator between two cities of a state
    By dineshhasija in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-26-2015, 05:13 AM
  3. Distance calculator between indian cities.
    By satputenandkumar0 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-11-2014, 04:27 AM
  4. Replies: 1
    Last Post: 10-18-2013, 03:58 PM
  5. [SOLVED] retrive the distance between any two cities from distance table
    By rksundaram in forum Excel General
    Replies: 5
    Last Post: 08-22-2013, 11:46 PM
  6. Calculating Miles, Distance & MPH
    By avidcat in forum Excel General
    Replies: 2
    Last Post: 07-07-2009, 05:24 PM
  7. Replies: 0
    Last Post: 08-25-2005, 02:58 AM

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