## What is SEC function in Excel?

The **SEC **function is one of the math functions of Excel.

It returns the secant of an angle.

We can find this function in **Math & trig** category of insert function Tab.

## How to use SEC function in excel

- Click on an
**empty**cell (like F5 )

2. Click on the **fx icon **(or press shift+F3)

3. In the **insert function tab** you will see all functions

4. Select **math and trig** category

5. Select **SEC **function

6. Then select **ok**

7. In the function arguments Tab you will see ** SEC **function

8. Number section is the **angle in radians** for which you want the secant

9. You will see **results **in formula result section

## Examples of **SEC** function in excel

**Example 1:**

**How to use SEC function in** **excel**

You can see examples of SEC function below:

**sec**(A2) ----->>>>answer is -1
**sec**(A3) ----->>>>answer is 1.414
**sec**(A4) ----->>>>answer is -1
**sec**(A5) ----->>>>answer is 2
**sec**(A6) ----->>>>answer is 1

## What is the purpose of **SEC** function?

**SEC**

It returns the secant of an angle.

## What is the Return value of **SEC** function?

**SEC**

It returns a positive number.

## How many arguments does **SEC** function have?

**SEC**

This function has just **1** Argument.

The **argument **of SEC function is **number**.

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

The argument of SEC function is **required **and not optional.

```
SEC(number) = number
```

## Which version of excel supports **SEC** function?

**SEC**

This function is available for all excel **versions **(2003-2019)

## Errors in **SEC** function

**SEC**