KM Formula require

Ketan_ashiyani

New Member
Joined
Sep 12, 2024
Messages
14
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
Dear Team,

We need to City to City KM formula require and we have Latitude & Longitude data is available.

Rajkot to Jamnagar = 90.9 KM show as per google
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Hello! I hope this will help.
Book1.xlsm
FGHIJKL
25location_1latitude_1longitude_1location_2latitude_2longitude_2distance
26Rajkot22,2805670,88909Jamnagar22,4939970,0538889,09
Sheet1
Cell Formulas
RangeFormula
L26L26=ACOS(SIN(RADIANS(G26))*SIN(RADIANS(J26))+COS(RADIANS(G26))*COS(RADIANS(J26))*COS((RADIANS(K26-H26))))*6371

6371 In the formula - the radius of the Earth
 
Upvote 0

Forum statistics

Threads
1,223,991
Messages
6,175,821
Members
452,672
Latest member
missbanana

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top