# COUNT

#### Syntax <a href="#syntax.13" id="syntax.13"></a>

**COUNT**(*range*; *orientation; option*)

* *range* - eine Reihe von Werten- ***Wertetyp**: Bereich*
* *orientation* - die Ausrichtung der Zählberechnung - ***Wertetyp**: Konstante (optional, Standardwert: <mark style="color:red;">all</mark>).* Mögliche Werte sind:
  * *<mark style="color:red;">all</mark>* - der gesamte Bereich wird gezählt und als eine einzige Zahl zurückgegeben
  * *<mark style="color:red;">horizontal</mark>* - die Zählung wird horizontal (zeilenweise) durchgeführt und als Spalte zurückgegeben
  * *<mark style="color:red;">vertical</mark>* - die Zählung wird vertikal (spaltenweise) durchgeführt und als Zeile zurückgegeben
* *option* - legt fest, ob auch leere Zellen mitgezählt werden - ***Wertetyp**: Konstante (optional, Standardwert: <mark style="color:red;">numericcells</mark>)*\
  Mögliche Werte sind:
  * *<mark style="color:red;">numericcells</mark>*
  * *<mark style="color:red;">nonemptycells</mark>*
  * *<mark style="color:red;">allcells</mark>*

#### Bemerkungen <a href="#remarks.10" id="remarks.10"></a>

* Wenn Parameter 3 definiert ist, muss auch Parameter 2 definiert sein.

#### Beispiele

<figure><img src="https://content.gitbook.com/content/UHij42nMV8tut4oUjbNm/blobs/bMw2EMfSrXmF5PraNK31/grafik.png" alt=""><figcaption></figcaption></figure>

<figure><img src="https://content.gitbook.com/content/UHij42nMV8tut4oUjbNm/blobs/gh5iuonKijT2a1GK1MTF/grafik.png" alt=""><figcaption></figcaption></figure>

<figure><img src="https://content.gitbook.com/content/UHij42nMV8tut4oUjbNm/blobs/0nuNCfTlTHAewclYikCI/grafik.png" alt=""><figcaption></figcaption></figure>
