DEV Community

Andrews
Andrews

Posted on • Originally published at geekexcel.com on

How to use the TANH Function in Excel office 365?

TANH function is a Mathematical function to calculate the hyperbolic Tangent of the value , and it is a built-in Excel function. The hyperbolic function of TANH is defined using the exponential function. In this tutorial, we will guide you on how to use the TANH Function In Excel Office 365. Let’s get them below!! Get an official version of MS Excel from the following link: https://www.microsoft.com/en-in/microsoft-365/excel

TANH Function Syntax

= TANH ( number )
Enter fullscreen mode Exit fullscreen mode

Syntax Explanation:

number: input number you want the hyperbolic Tangent of.

Example1

  • You have to create a sample data with values which will be input to the function.

Sample data

  • Then, you need to find its hyperbolic Tangent value.
  • Now, you have to use the following formula given below.
=TANH ( A2 )
Enter fullscreen mode Exit fullscreen mode

A2: the number is given as cell reference.

TANH Function

  • After that, the value will calculate ** using the **mathematical formula.
TANH (x) = (e1- e-1) / (e1+ e-1)
Enter fullscreen mode Exit fullscreen mode
  • You need to copy the formula to other cells using the Ctrl + D shortcut key.

Copy to other cells

  • Finally, Excel calculates the Hyperbolic Tangent of a number using the TANH.

Example2

  • You have to create a sample data with values which will be input to the function.

Sample data

  • Then, you need to find its hyperbolic Tangent value.
  • Now, you have to use the following formula given below.
=TANH ( A2 )
Enter fullscreen mode Exit fullscreen mode

A2: the number is given as cell reference.

TANH Function

  • After that, the value will calculate ** using the **mathematical formula.
TANH (x) = (e1- e-1) / (e1+ e-1)
Enter fullscreen mode Exit fullscreen mode
  • You need to copy the formula to other cells using the Ctrl + D shortcut key.

Copy to other cells

  • Finally, Excel calculates the Hyperbolic Tangent of a number using the TANH function.

Check this too:

NOTE:

  • The function returns #VALUE! Error if the argument to the function is non – numeric.
  • The input number is the angle in radians.
  • If you want the result in degrees , multiply the result by 180/PI ().
  • If the argument provided is in degrees , first multiply the number in degrees by PI ()/180 to convert it into radians.

Closure

We hope that this short tutorial gives you guidelines to use the TANH Function In Excel Office 365. ** Please leave a comment in case of any **queries, and don’t forget to mention your valuable suggestions as well. Thank you so much for Visiting Our Site!! Continue learning on Geek Excel!! *Read more on Excel Formulas *!!

Keep Reading:

Top comments (0)