# CEILING Function

> Round a number up to the nearest multiple of a significance with CEILING in TX Sheet Control: negative numbers, negative significance, #NUM! and an example.

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

---

Round a number up, away from zero, to the nearest multiple of a significance. `significance` is the multiple to round to, 1 when omitted. A negative number with a positive significance is rounded up toward zero (`CEILING(-4.2,1)` returns -4), and with a negative significance away from zero (-5). A positive number with a negative significance returns `#NUM!`, and a significance of 0 returns 0. The third argument, `mode`, has no effect.

### Syntax

```text
CEILING(number, significance, mode)
```

Category: Math. Minimum arguments: 1. Maximum arguments: 3.

Available for supported offline calculation.

### Examples

```text
=CEILING(4.2,1)
```

The formula returns 5.

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:** [CALL Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/call/llms-full.txt)
- **Next:** [CEILING.MATH Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/ceiling-math/llms-full.txt)
