# How to Use Excel TAN Function?

Microsoft Excel is a powerful data visualization and analysis program used all around the world. It uses spreadsheets to store, organize, or perform operations with formulas and functions. This application is developed for WindowsMacAndroid, and iOS. The TAN function is a Mathematical function to calculate the tangent of the angle of the triangle.

In this tutorial, we will guide you to know how to use Excel TAN Function. Get an official version of MS Excel from the following link:

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

## Explanation of TAN Function

• It is one of the built-in functions in Microsoft Excel.
• The TAN function returns the tangent of the angle of the triangle.

## Syntax

• Here, you will see the syntax of the TAN 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 button to get the result.

=TAN(number)

Argument Explanation:

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

## Examples

Here, we come up with some examples to know how to use the TAN function 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 TAN value of the given radians in Column E using the TAN 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 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.