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
ISODD
Checking if a number is odd
Learn moreCOUPDAYBS
Calculating the days from the beginning of the coupon period to the settlement date
Learn moreLOOKUP
Finding an approximate match in a sorted range or two arrays
Learn moreROWS
Counting the number of rows in a range for dimension analysis
Learn moreSECH
Calculating the hyperbolic secant for exponential modeling
Learn moreTANH
Calculating the hyperbolic tangent for bounded exponential modeling
Learn moreFACTDOUBLE
Calculating the double factorial for specialized combinatorial problems
Learn moreYEAR
Extracting the year component from a date value
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.