A plan marks a point four units right and three units up from the origin. To find its direction, use both offsets and measure the angle from positive X.
Enter X first and Y second in the spreadsheet formula
Put X in A2 and Y in B2. Excel’s ATAN2 uses this order. Wrap it in DEGREES to convert the result from radians.
=DEGREES(ATAN2(A2,B2))With (4, 3), expect approximately 36.87°.

Illustrated coordinate example. Measure the angle from positive X.
Test known directions before using unfamiliar ones
Use (1, 0) and expect 0°. Use (0, 1) and expect 90°. Positive angles turn counterclockwise from positive X. The pair (0, 0) has no direction and produces a division-by-zero error in Excel.

Illustrated checks. These two inputs catch swapped arguments.
If your source uses image coordinates, where Y may increase downward, convert the sign first if your report uses upward-positive Y. Microsoft’s ATAN2 argument order and angle conventions.



