mode

Syntax:

Value Number  mode(Range source)

Description:

Computes the mode of source (most common element).

Examples:

($d4) = mode($a1:$c3)
Before:
AB CD
1167
21246
36-512
4
5
6
After:
AB CD
1167
21246
36-512
46
5
6
($a1) = mode($b1:$f20)