Compatibility
Excel 2007 (Compatibility)
◉ 32 views
=COT()
Return the cotangent of an angle specified in radians.
Applies To:
Excel for Microsoft 365Excel for Microsoft 365 for MacExcel 2024Excel 2024 for MacExcel 2021Excel 2021 for MacExcel 2019Excel 2016
=COT(number)
Hover argument names in the table for details.
Output typeNumber
Popularity10 / 100
VolatileNo
Dynamic ArrayNo
Download sample .xlsx ▦ Try in Playground
Dedicated file for this function — safe & lightweight · sample data + live formulas
⬇ Download Sample Workbook
A dedicated .xlsx for =COT() with Persian sample data & live formulas — open in Excel and practice.
- Sheet “Sample” — data table + formula in place
- Sheet “Guide” — syntax, arguments & tips from this page
- Instant & secure (token + rate limit)
Quiz this function
%d questions — syntax, example & errors — test yourself!
◧ Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
number |
Number | Required | The angle in radians for which you want the cotangent. |
▣ Examples
Returns the cotangent of 30 (-0.156).
=COT(30)
Result:
-0.156
1
=COT(A5)
§ Remarks
- The absolute value of Number must be less than 2^27.
- If Number is outside its constraints, COT returns the #NUM! error value.
- If Number is a non-numeric value, COT returns the #VALUE! error value.
- COT(0) returns the #DIV/0! error value.
✦ Tips
- The absolute value of Number must be less than 2^27.
⚠ Common Errors
#NUM!
If Number is outside its constraints, COT returns the #NUM! error value.
Fix: مقداری وارد کنید که قدرمطلق آن کوچکتر از 2^27 باشد.
#VALUE!
If Number is a non-numeric value, COT returns the #VALUE! error value.
Fix: برای Number یک مقدار عددی وارد کنید و مطمئن شوید سلول مرجع متن نیست.
#DIV/0!
COT(0) returns the #DIV/0! error value.
Fix: A nonzero angle
💬 Comments & Q&A 0 approved
🔒 Your comment will be published after review.Share your thoughts — visible after admin approval
No comments yet — be the first!