The basic hyperbolic functions, cosh, sinh and tanh are related to the equilateral hyperbola, x^{2}y^{2}=1.
If the area between a line through the origin, the xaxis, and the hyperbola x^{2}y^{2}=1 has area α/2, then:
The equation used to calculate the hyperbolic tangent is therefore:
The Excel Tanh function calculates the hyperbolic tangent (tanh) of a supplied number.
The syntax of the function is:
Where the number argument is the real number that you want to calculate the hyperbolic tangent of.
The following spreadsheet below shows the Excel Tanh Function, used to calculate the hyperbolic tangent of three different values:
Formulas:

Results:

For further details and examples of the Excel Tanh function, see the Microsoft Office website.
If you get an error from the Excel Tanh Function, this is likely to be the #VALUE! error:
#VALUE!    Occurs if the supplied number argument is not recognized as a numeric value. 