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
VALUE
Converting text that represents a number to a numeric value
Learn moreHEX2OCT
Converting a hexadecimal number to octal format for specific numerical system transformations
Learn moreDOLLAR
Formatting a number as currency text
Learn moreREPLACE
Replacing a portion of text with new text
Learn moreCONVERT
Converting a measurement from one unit to another
Learn moreNOW
Retrieving the current date and time that updates when the workbook recalculates
Learn moreIMLOG2
Calculating the base-2 logarithm of a complex number
Learn moreLEFT
Extracting characters from the start of a text string
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.