Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • Get column index in Excel Table
  • Example of COUNTIFS with variable table column in Excel
  • Conditional Formatting Rules in Excel
  • How To Compare Two Lists in Excel
  • How to conditionally sum numeric data in an Excel table using SUMIFS

References

  • To count total rows in a range in Excel
  • Vlookup Examples in Excel
  • Count rows that contain specific values in Excel
  • VLOOKUP function: Description, Usage, Syntax, Examples and Explanation
  • How to get address of named range in Excel

Data Validations

  • Data validation must not exist in list
  • Excel Data validation date in specific year
  • Excel Data validation must begin with
  • How To Create Drop-down List in Excel
  • Excel Data validation allow weekday only

SEC function: Description, Usage, Syntax, Examples and Explanation

by

What is SEC function in Excel?

SEC function is one of the Math and Trig functions in Microsoft Excel that returns the secant of an angle.

Syntax of SEC function

SEC(number)

The SEC function syntax has the following arguments.

Number: Number is the angle in radians for which you want the secant.

SEC formula explanation

  • The absolute value of number must be less than 2^27.
  • If the angle is in degrees, either multiply the angle by PI()/180 or use the RADIANS function to covert the angle to radians.
  • If number is outside of its constraints, SEC returns the #NUM! error value.
  • If number is a non-numeric value, SEC returns the #VALUE! error values.

Example of SEC function

Steps to follow:

1. Open a new Excel worksheet.

2. Copy data in the following table below and paste it in cell A1

Note: For formulas to show results, select them, press F2 key on your keyboard and then press Enter.

You can adjust the column widths to see all the data, if need be.

Formula Description Result
=SEC(45) Returns the secant of a 45 degree angle. 1.90359
=SEC(30) Returns the secant of a 30 degree angle. 6.48292

Post navigation

Previous Post:

TRUE function: Description, Usage, Syntax, Examples and Explanation

Next Post:

Excel Pie Chart

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • IF with wildcards in Excel
  • Check multiple cells are equal in Excel
  • How to return blank in place of #DIV/0! error in Excel
  • Extract multiple matches into separate rows in Excel
  • FALSE function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • Calculate days remaining in Excel
  • Check If Two Dates are same month in Excel
  • Count dates in current month in Excel
  • How to calculate project start date based on end date in Excel
  • How to calculate next scheduled event in Excel

Grouping

  • Group times into unequal buckets in Excel
  • How to randomly assign people to groups in Excel
  • Group arbitrary text values in Excel
  • Map text to numbers in Excel
  • How to randomly assign data to groups in Excel

General

  • Find Most Frequently Occurring Word in Excel Worksheet
  • Create dynamic workbook reference to another workbook in Excel
  • Check if multiple cells have same value in Excel
  • Transpose: Switch ‘Rows to Columns’ or ‘Columns to Rows’ in Excel
  • How to add sequential row numbers to a set of data in Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning