The ATAN2 function in Excel calculates the arctangent (inverse tangent) of a given set of x and y coordinates and returns an angle in radians between -/2 and +/2.
Syntax :
=ATAN2(x num, y num)
Parameters:
The x num and y num parameters are the x- and y-coordinates of the point whose arctangent you wish to compute.
Example :
It is important to note that the angle returned by the Atan2 function might be positive (indicating a counterclockwise angle from the x-axis) or negative (representing a clockwise angle from the x-axis). This outcome is presented in radians. It is worth noting that the Excel Degrees function is used in the example in cell A4 to convert the computed angle from radians to degrees.
Ask Your Query