Compatibility Excel 2007 (Compatibility) ◉ 42 views

=SEC()

Returns the secant of an angle.

Applies To: Excel for Microsoft 365Excel for Microsoft 365 for MacExcel 2024Excel 2024 for MacExcel 2021Excel 2021 for MacExcel 2019Excel 2016
=SEC(number)
Hover argument names in the table for details.
Output typeNumber
Popularity19 / 100
VolatileNo
Dynamic ArrayNo
Download sample .xlsx ▦ Try in Playground Dedicated file for this function — safe & lightweight · sample data + live formulas
Share:

⬇ Download Sample Workbook

A dedicated .xlsx for =SEC() 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)
Download SEC.xlsx ~ 8–12 KB · No macros

⇪ Share

Send this function to friends

Quiz this function

%d questions — syntax, example & errors — test yourself!

◧ Arguments

ArgumentTypeRequiredDescription
number Number Required Number is the angle in radians for which you want the secant.

▣ Examples

Returns the secant of a 45 degree angle. =SEC(45)
Result: 1.90359
Returns the secant of a 30 degree angle. =SEC(30)
Result: 6.48292

§ Remarks

  • The absolute value of number must be less than 2^27.
  • If the angle is in degrees, either multiply the angle by PI()/180 or use the RADIANS function to covert the angle to radians.
  • If number is outside of its constraints, SEC returns the #NUM! error value.
  • If number is a non-numeric value, SEC returns the #VALUE! error values.

✦ Tips

  • The absolute value of number must be less than 2^27.
  • If the angle is in degrees, either multiply the angle by PI()/180 or use the RADIANS function to covert the angle to radians.

⚠ Common Errors

#NUM! If number is outside of its constraints, SEC returns the #NUM! error value.
Fix: مطمئن شوید قدر مطلق number کمتر از 2^27 باشد؛ مقدار زاویه را کاهش دهید یا ورودی را بررسی کنید.
#VALUE! If number is a non-numeric value, SEC returns the #VALUE! error values.
Fix: برای آرگومان number یک مقدار عددی وارد کنید و مطمئن شوید سلول ارجاعی حاوی متن نیست.

💬 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!

✍️ Add comment / question

captcha
🔒 Your comment will be published after review.