Written by Allen Wyatt (last updated August 2, 2025)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, 2021, 2024, and Excel in Microsoft 365
Excel includes many built-in functions that allow you to use a wide range of trigonometric functions. If you need to determine either the secant or cosecant of an angle, you can use the SEC and CSC functions:
=SEC(A1) =CSC(A1)
The value in A1 must be the angle expressed in radians.
Both the SEC and CSC functions were introduced in Excel 2013. If you are using an older version of Excel you can use a simple formula to derive the values. Let's assume that an angle value, in radians, is stored in cell B7. To derive the secant of the angle, you can use the following formula:
=1/COS(B7)
Likewise, if you need to know the cosecant of the angle, the following formula will do the trick:
=1/SIN(B7)
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (10084) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, 2021, 2024, and Excel in Microsoft 365. You can find a version of this tip for the older menu interface of Excel here: Deriving a Secant and Cosecant.
Create Custom Apps with VBA! Discover how to extend the capabilities of Office 365 applications with VBA programming. Written in clear terms and understandable language, the book includes systematic tutorials and contains both intermediate and advanced content for experienced VB developers. Designed to be comprehensive, the book addresses not just one Office application, but the entire Office suite. Check out Mastering VBA for Microsoft Office 365 today!
If you need a formula to change spaces to some other character, the SUBSTITUTE function fits the bill. Here's how to use it.
Discover MoreIf you have a lot of values in a single row, you might want to pull the last non-zero value from that row. There are a ...
Discover MoreFormulas are the heart of using Excel, and formulas often refer to ranges of cells. How you insert cells into the ...
Discover MoreFREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)
Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2025 Sharon Parq Associates, Inc.
Comments