Excel 16.0 build 20430
Windows, 64-bit, CPU not recorded
1,209 captured inputs are indexed for this environment. Capture dates: 2026-09-29 to 2026-09-29. This is a reading count, not a comparison with another build.
Engineering functions
Matches all 1,212 recorded answers
Recorded: 1,209 in the answer bank and 3 workbook cells. How we measure this · See the Rust code
| Language | Name in Excel |
|---|---|
| Arabic | IMCOT |
| Bulgarian | IMCOT |
| Czech | IMCOT |
| Danish | IMAGCOT |
| German | IMCOT |
| Greek | IMCOT |
| English (Australia) | IMCOT |
| English (United Kingdom) | IMCOT |
| English (United States) | IMCOT |
| Spanish | IM.COT |
| Estonian | IMCOT |
| Finnish | KOMPLEKSI.COT |
| French | COMPLEXE.COT |
| Hebrew | IMCOT |
| Croatian | IMCOT |
| Hungarian | KÉPZ.COT |
| Indonesian | IMCOT |
| Italian | IMCOT |
| Japanese | IMCOT |
| Korean | IMCOT |
| Lithuanian | IMCOT |
| Latvian | IMCOT |
| Norwegian | IMCOT |
| Dutch | C.COT |
| Polish | COT.LICZBY.ZESP |
| Portuguese (Brazil) | IMCOT |
| Portuguese (Portugal) | IMCOT |
| Romanian | IMCOT |
| Russian | МНИМ.COT |
| Slovak | IMCOT |
| Slovenian | IMCOT |
| Serbian (Latin) | IMCOT |
| Swedish | IMCOT |
| Thai | IMCOT |
| Turkish | SANCOT |
| Ukrainian | IMCOT |
| Vietnamese | IMCOT |
| Chinese (Simplified) | IMCOT |
| Chinese (Hong Kong) | IMCOT |
| Chinese (Traditional) | IMCOT |
Names from Microsoft's support site.
IMCOT(inumber)
IMCOT(inumber) returns the complex cotangent. Real and imaginary coefficients use radians where a circular angle is involved. The denominator vanishes at zero; the current function gives #NUM! there.
=IMCOT("i") gives about "-1.31303528549933i". On this axis it is mathematically -i*coth(1). =IMCOT("0") has a zero denominator and the current function returns #NUM!.
The result is complex text and lowercase i or j is supported. Malformed complex text gives #NUM! in the current parser; a logical argument gives #VALUE! in the wrapper. Zero is a pole.
For exactly real input the current helper takes a stored reciprocal of scalar tangent. It returns text zero at the finite circular-domain boundary where IMTAN gives #NUM!. For non-real inputs it uses a doubled-angle formula, whose denominator can vanish or overflow. These are separate compatibility branches.
Parse the two coefficients and suffix before doing arithmetic; use the common complex formatter afterward. Retain suffix consistency, suppress a zero component and omit the coefficient one before the imaginary unit. Formatting and parsing have their own fifteen-significant-digit rules, so testing only the algebra misses observable behaviour.
For z=a+bi, the mathematical component formula is sin(2*a)/(cosh(2*b)-cos(2*a)) - i*sinh(2*b)/(cosh(2*b)-cos(2*a)). Use the doubled-angle graph for non-real input. On the real axis the current tangent uses its scalar tangent leaf, while cotangent uses one stored reciprocal; their domain-boundary outputs are not identical. The formula is a derivation aid; the named runtime leaves and stores in the current source define its implementation candidate. Validate text output as well as numeric components, and keep unmeasured rounding stages open.
Quoted from the public repository DnaCalc/DnaCalc, crates calc-func and calc-fml, at commit 9e1884369a67. Comments are the source's own. A kernel shared with other functions appears once, on its module page.
IMCOT · 1 lines · calc-func/src/catalogue/engineering.rs on GitHub38 imcot "IMCOT" (1, 1) [V "inumber"] |s, a, sv| { unary_complex(s, a, |z| z.cot()) }
complex_of catalogue/engineeringcomplex_text catalogue/engineeringunary_complex catalogue/engineeringnearest_even ported/complex_decimaldecimal_pair ported/complex_decimalparse_ascii_decimal_15 ported/complex_familyParsedComplex::new ported/complex_familyParsedComplex::abs ported/complex_familynormalize_zero ported/complex_familynumber_to_excel_text ported/complex_familyformat_complex_text ported/complex_familyparse_real_number ported/complex_familyfind_real_imag_split ported/complex_familyparse_imag_coeff ported/complex_familyparse_complex_text ported/complex_familysuffix_from_operands ported/complex_familyfail catalogue/kittext catalogue/kittext_value catalogue/kitNo implementation has been published with a Handbook test suite for this function.
The recorded environments below distinguish a reading from a same-input comparison. Counts describe captured inputs in each environment; overlapping captures and comparisons are not totals of unique worksheet calls.
| Excel 16.0 build | Platform and CPU | Captured inputs |
|---|---|---|
| 20430 | Windows, 64-bit, CPU not recorded | 1,209 |
The record contains no same-input comparison between these environments. Reading different inputs on different builds does not establish either a version change or cross-build agreement.
Recorded environments and comparison details.
Windows, 64-bit, CPU not recorded
1,209 captured inputs are indexed for this environment. Capture dates: 2026-09-29 to 2026-09-29. This is a reading count, not a comparison with another build.
IMTAN returns tangent. IMDIV handles general complex division, while COT accepts a real angle.
No named variants are recorded yet.
Suggest a correction or contribute an implementation · For agents