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
DSUM
Adding up values in a database column that match specific criteria
Learn moreCLEAN
Removing non-printable characters from text for cleanup
Learn moreMONTH
Extracting the month number from a date value
Learn moreROW
Returning the row number of a reference for position-based calculations
Learn moreATANH
Finding the inverse hyperbolic tangent for logarithmic or statistical analysis
Learn morePI
Inserting the value of π for circular or trigonometric calculations
Learn moreROWS
Counting the number of rows in a range for dimension analysis
Learn moreROUND
Rounding a number to a specified decimal place for precision control
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.