Returns the arctangent, or inverse tangent, of the specified x-coordinates and y-coordinates. The arctangent is the angle from the x-axis to a line containing the origin (0, 0) and a point with the specified coordinates. The angle is given in radians between (-π…π].
Syntax Copy Code |
---|
ATAN2( Number x, Number y ) → Number |
To express the arctangent in degrees, multiply the result by 180/PI or use the DEGREES function.
Formula Copy Code |
---|
=ATAN2(1,1) |
Function Reference
ATAN Function
TAN Function
PI Function
RADIANS Function
DEGREES Function