IMCOT Function

Excel 2013+, Excel 2016+, Excel 2019+, Excel 365+

Summary

The Excel IMCOT function calculates the cotangent of a complex number entered in x+yi or x+yj format. This trigonometric function handles complex number mathematics that standard COT cannot process.

Syntax

IMCOT(inumber)

Parameters

Parameter Type Required Description
inumber Complex Number Yes The complex number (x+yi or x+yj format) for cotangent calculation

Using the IMCOT Function

IMCOT extends trigonometric capabilities to complex numbers, vital for electrical engineering, physics, and advanced mathematics where real-number trig functions fail. Use COMPLEX() to create inputs from real/imaginary components.

Common IMCOT Examples

Basic Complex Cotangent

=IMCOT("4+3i")

Calculates cotangent of 4+3i, returning approximately 0.0049-0.9993i

Using COMPLEX Helper

=IMCOT(COMPLEX(4,3))

Creates complex number from real(4) and imaginary(3) parts then finds cotangent

Frequently Asked Questions

Accepts x+yi or x+yj text format, or references created by COMPLEX() function.

Returns #NUM! error if format is incorrect.

Common Errors and Solutions

#NUM!

Cause: inumber not in valid x+yi or x+yj format

Solution: Verify complex number syntax or use COMPLEX(real_num,imag_num)

#VALUE!

Cause: inumber contains logical values

Solution: Ensure input is numeric complex format

Notes

  • Use COMPLEX() to build complex numbers from separate real/imaginary values
  • Result is always complex number format
  • Part of Excel's 50+ complex math functions

Compatibility

Available in: Excel 2013+, Excel 2016+, Excel 2019+, Excel 365+

Not available in: Excel 2010 and earlier

Content last reviewed: December 9, 2025
Update frequency: As needed
Excel versions tested: Excel 2013+, Excel 2016+, Excel 2019+, Excel 365+