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

Data Analysis

  • Calculate Conditional Percentile ‘IF’ in table in Excel
  • Filter Data Based on Date in Excel
  • Conditional Formatting Color Scales Examples in Excel
  • How to Create Gantt Chart in Excel
  • How to create dynamic reference table name in Excel

References

  • How to use Excel COLUMN Function
  • Two-way lookup with VLOOKUP in Excel
  • How to get last row in text data in Excel
  • CHOOSE function: Description, Usage, Syntax, Examples and Explanation
  • Excel Advanced Lookup using Index and Match Functions

Data Validations

  • Prevent invalid data entering in specific cells
  • Excel Data validation must contain specific text
  • Excel Data validation must not contain
  • Excel Data validation only dates between
  • Excel Data validation no punctuation

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

  • IFS function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel FALSE Function
  • SWITCH function: Description, Usage, Syntax, Examples and Explanation
  • IFNA function: Description, Usage, Syntax, Examples and Explanation
  • SWITCH function example in Excel

Date Time

  • Add days exclude certain days of week in Excel
  • Convert Unix time stamp to Excel date
  • Add days to date in Excel
  • How to get same date next year or previous year in Excel
  • Get fiscal quarter from date in Excel

Grouping

  • If cell contains one of many things in Excel
  • Calculate conditional mode with criteria in Excel
  • Group times into 3 hour buckets in Excel
  • How to randomly assign data to groups in Excel
  • Running count group by n size in Excel

General

  • Select, Insert, Rename, Move, Delete Worksheets in Excel
  • How to calculate percentage of total in Excel
  • Print Excel Sheet In Landscape Or Portrait
  • How to create dynamic worksheet reference in Excel
  • How to count total number of cells in a rectangular range in Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning