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
REPT
Repeating text a specified number of times for patterns or formatting
Learn moreMINUTE
Extracting the minute component from a time value
Learn moreFALSE
Returning the logical value FALSE for conditional formulas
Learn moreMINA
Finding the smallest value including text and logicals for broader lows
Learn moreFACTDOUBLE
Calculating the double factorial for specialized combinatorial problems
Learn moreATAN
Finding the angle (in radians) from a tangent value for trigonometric analysis
Learn moreAVERAGEA
Finding the mean including text and logical values for broader averaging
Learn moreVARP
Calculating population variance for full datasets
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.