Skip to content

How to Use Excel SEC Function?

Ads
Listen to this article.
SEC FunctionPin
SEC Function

Excel is a powerful tool that helps to perform various mathematical calculations on its spreadsheet. It offers built-in formulas and functions for performing mathematical operations. You can also use graphic tools, pivot tables, and a macro programming language called Visual Basic for Applications (VBA).

In this post, you will learn how to use Excel SEC Function in Office 365 with its syntax, explanation, and examples. Get an official version of MS Excel from the following link:

https://www.microsoft.com/en-in/microsoft-365/excel

Excel SEC FunctionPin
Excel SEC Function

Explanation of SEC Function

  • It is one of the built-in functions in Microsoft Excel.
  • This function returns the Secant values (ratio) of the given (angle) radians.
  • To convert the degree value into radians, use RADIANS(number) function.
  • For example, RADIANS(0.785) returns the secant value as 1.41365

Syntax

  • Here, you will see the syntax of the SEC function.
  • To apply this function on your spreadsheet, you have to select a cell and enter the formula in the following format.
  • Once you enter the formula, just click on the Enter button to get the result.

=SEC(number)

Argument Explanation

Number – The angle in radians to which you need to find the secant value.

Note: If the argument is a non-numeric value (letters and special characters) and then it returns #VALUE! Error.

Examples

Let’s see an example to know how SEC Function works in the Excel spreadsheet.

  • Initially, you have to open your Excel workbook on your PC and launch a worksheet that has data.
  • For example, we have given the degree values in Column B, and their corresponding radians in Column C.
  • Here, we will get the secant value of the given radians in Column E using the SEC function.
Input ValuesPin
Input Values
  • Then, you have to enter the formula in the cell as shown below to get the result.
Enter the formulaPin
Enter the formula
  • After entering the formula, you need to click the Enter button to get the output, as shown below. You can drag down the cell to fill the remaining cells.
ResultPin
Result

Input that Causes Error

  • If the argument is a non-numeric value (letters and special characters) and then it returns #VALUE! Error.
Value ErrorPin
Value Error

Wrap-Up

To sum up, hope this article helped you to understand the concept of Excel SEC Function with its syntax, explanation, and examples. Give your feedback in the below comment section. To learn more about Excel functions, then visit our webpage Aawexcel.com.

Video Tutorial

The following video will show you how to apply the SEC function in the Excel worksheet.

Read Ahead:

Tags:

Leave a Reply

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

Share to...