Wauvel

Excel like a finance pro.

← The library

Engineering function

IMSEC

Returns the secant of a complex number.

Rarely usedDifficulty 1550 · AdvancedUsage rank #508 of 520
Practice · 2 questions →

When to use it

The secant of a complex number.

The shape of it

Syntax
=IMSEC(inumber)

Worked examples

  • Typical

    =IMSEC("4+3i") -0.0652940278579471+0.0752249603027732i

    A typical result.

  • Zero

    =IMSEC("0") 1

    At zero.

  • Pure imaginary

    =IMSEC("i") 0.648054273663885

    sec(i) is 1/cosh(1).

Worth knowing

  • 1/IMCOS.
  • Introduced in Excel 2013.
  • Result is text.

Where it goes wrong

  • #NUM! where cosine is zero.
  • #NAME? in Excel 2010 and earlier.

Related

Learn the moves here — or let Wauvel run them on your numbers.

Meet your AI CFO →

One CFO-grade Excel tip a week

A short, practical email for finance operators — functions, shortcuts, and the moves that save an afternoon. Free, unsubscribe anytime.