# IMTAN Function

> Return the tangent of a complex number with the IMTAN formula function of TX Sheet Control: x+yi and x+yj text input, the result as text and the #NUM! error.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Function
- **Path:** TX Sheet Control > API Reference > Formula Functions > IMTAN Function
- **195 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/imtan/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/imtan/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/imtan/llms-full.txt

---

Return the tangent of a complex number. `inumber` is the complex number, as text in the form `x+yi` or `x+yj`, or a real number, and the result is a complex number as text. Text that is not a valid complex number returns `#NUM!`.

### Syntax

```text
IMTAN(inumber)
```

Category: Engineering. Minimum arguments: 1. Maximum arguments: 1.

Available for supported offline calculation.

### Examples

```text
=IMTAN("2+3i")
```

The formula returns `-0.003764025641504152+1.00323862735361i`, the tangent of 2+3i.

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

### See Also

- [Formulas](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/formulas/llms-full.txt)
- [Custom Functions and Formula Data](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/custom-functions/llms-full.txt)

---

## Nearby

- **Previous:** [IMSUM Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/imsum/llms-full.txt)
- **Next:** [INDEX Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/index-function/llms-full.txt)
