SEC Google Sheet Formula
Generate Google Sheet SEC Formulas in seconds
Interactive Formula Generator
Formula Generator
Create complex Google Sheets formulas with natural language. Simply describe what you want to calculate.
Upgrade to Sheet Alchemy Pro
Get advanced formulas, batch processing, and priority support
Input
Result
Your formula will be displayed here:
Your formula will appear here
Describe what you want to calculate and click Generate
Pro Features Available
Sheet Alchemy Pro includes additional advanced features to enhance your formula generation.
Advanced Formulas
Complex array formulas and dynamic ranges
Batch Processing
Generate multiple formulas at once
Unlimited History
Save and organize all your formulas
SEC Formula Syntax
Example Use Case
Calculating the secant of an angle for advanced trigonometric analysis
Understanding the SEC Formula
The SEC function in Excel returns the secant of an angle (in radians), defined as 1/cosine. It’s a lesser-used trigonometric function, but vital in specific contexts like optics, wave mechanics, or advanced geometry.
SEC(0) returns 1, since cos(0) = 1. It requires radian inputs (use RADIANS for degrees), and errors at angles where cosine is 0 (like π/2). It’s a niche tool for reciprocal trig calculations.
Why Use SEC?
SEC supports specialized trig—think lens design or harmonic analysis. Its reciprocal nature complements COS, offering a different angle (pun intended) for technical users needing full trig coverage.
Example with Sample Data
| Angle (radians) | Formula | Result |
|---|---|---|
| 0 | =SEC(0) | 1 |
| 1.0472 | =SEC(1.0472) | 2 |
| 0.7854 | =SEC(0.7854) | 1.41421 |
SEC flips cosine: 0 is 1, 1.0472 (60°) is 2. It’s a trig rarity.
Explore More Google Sheet Formulas
DATE
Creating a date value from year, month, and day components
Learn moreIMARGUMENT
Calculating the argument (theta) of a complex number in radians
Learn moreDSUM
Adding up values in a database column that match specific criteria
Learn moreWORKDAY
Calculating a date that is a specified number of working days away
Learn morePPMT
Calculating the principal payment for a specific period of a loan
Learn moreIMTAN
Calculating the tangent of a complex number for complex analysis
Learn morePMT
Calculating the payment for a loan based on constant payments and interest rate
Learn moreIMPRODUCT
Multiplying complex numbers together
Learn moreUnlock the Full Power of Sheet Alchemy
Get access to all our formula generators, script generators, and conversion tools with a free Sheet Alchemy account.
