Hi All,
Trying to create an easy to use function in VBA from the complicated formula below.
but i cant seem to get it working? Any help be much appreciated!
=IFERROR(6371*ACOS(COS(RADIANS(90-Lat1)) *COS(RADIANS(90-Lat2)) +SIN(RADIANS(90-Lat1)) *SIN(RADIANS(90-Lat2)) *COS(RADIANS(Long1-Long2))),0)
![]()
Please Login or Register to view this content.
Bookmarks