ATAN2 function

Category: Math and trigonometry
Introduced: Excel 2003

Summary

Returns the arctangent from x- and y-coordinates

Syntax

ATAN2(x_num, y_num) The ATAN2 function syntax has the following arguments:
• X_num Required. The x-coordinate of the point.
• Y_num Required. The y-coordinate of the point.

Example

=ATAN2(1, 1)
=ATAN2(-1, -1)
=ATAN2(-1, -1)*180/PI()
=DEGREES(ATAN2(-1, -1))

Microsoft Support Page

https://support.microsoft.com/en-us/office/atan2-function-c04592ab-b9e3-4908-b428-c96b3a565033

Back to Functions