IMSECH Function

Returns the hyperbolic secant of a complex number.

Category

Engineering

Available in

Excel 2013+, Microsoft 365

Returns

Complex number text

Want to practice IMSECH in a real spreadsheet? Open a blank sheet in our Practice Sandbox and try it with live data, with the AI Excel tutor beside you. No Excel needed — just a free account.Try it free in the Sandbox

Overview

IMSECH returns sech(z) = 1 ÷ cosh(z).

The result is text, shown to 15 significant digits. Wrap it in IMREAL or IMAGINARY to get a number you can format or round.

Syntax

=IMSECH(inumber) Explain

Arguments

ArgumentRequired?What it does
inumberYesA complex number as text, like "3+4i" — or a plain number.

Examples

Example 1 — Worked examples

Each row applies the function to the value in column A.

B2fx=IMSECH(A2)
AB
1Complexsech(z)
24+3i-0.0362534969158689-0.00516434460775318i
301
410.648054273663885
5i1.85081571768093
=IMSECH(A2) Explain

Common mistakes

  • #NUM! The text isn't a valid complex number — for example a space ("3 + 4i"), a capital I, or a letter other than i or j.

Notes

Kyle Stott

Author

Kyle Stott

Certified Microsoft Excel Expert

Kyle has worked professionally with Microsoft Excel for over a decade and has consulted on and taught Excel best practices to over 400 companies across 30+ countries.