Hello, i am trying to figure out how to calculate the distance between set sets of lat / longs. In excel i would use the following formula. C2,G2 (Y Coord), D2,H2 (X Coord) are cell references, and i'm calculating distance in nautical miles hence the 3440.65.
=ACOS(COS(RADIANS(90-C2))*COS(RADIANS(90-G2))+SIN(RADIANS(90-C2))*SIN(RADIANS(90-G2))*COS(RADIANS(D2-H2)))*3440.65
How would i go about doing this in alteryx?
Thanks in advance!