EXCEL ATAN2 FUNCTION

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.

  • #DIV/0!-Occurs if both the x num and y num parameters are equal to 0.
  • #VALUE!-This error occurs if one or both of the given arguments are not numeric.

Related Functions

HLOOKUP Function

HLOOKUP Function

Explore Now

VLOOKUP Function

VLOOKUP Function

Explore Now

INDEX Function

INDEX Function

Explore Now

MATCH Function

MATCH Function

Explore Now

DATE Function

DATE Function

Explore Now

IF Function

IF Function

Explore Now

OR Function

OR Function

Explore Now

AND Function

AND Function

Explore Now

RANK Function

RANK Function

Explore Now

SUMIF Function

SUMIF Function

Explore Now

XIRR Function

XIRR Function

Explore Now

WORKDAYS Function

WORKDAYS Function

Explore Now