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
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.
- Then, you have to enter the formula in the cell as shown below to get the result.
- 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.
Input that Causes Error
- If the argument is a non-numeric value (letters and special characters) and then it returns #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:
- How to Use Excel FLOOR.MATH Function?
- How to Use Excel FLOOR Function?
- How to Use Excel CEILING.PRECISE Function?
- How to Use Excel CEILING Function?
- How to Use Excel GCD Function?
Hi there, I’m Sridhar – an Excel enthusiast with over 10 years of experience working with software. I’m passionate about using Excel to solve complex problems and streamline business processes. Over the years, I have helped businesses of all sizes to improve their operations and save time and money.
Aside from working with Excel, I also enjoy writing and sharing my knowledge with others. You’ll often find me contributing to the AAW Excel blog, where I provide tips, tricks, and tutorials that are easy to understand for readers of all skill levels.