Spread.NET 18 Formula Reference
Formula Functions / Functions M to Q / MODE.SNGL
In This Topic
    MODE.SNGL
    In This Topic

    Summary

    This function returns the most frequently occurring value in a set of data.

    Syntax

    MODE.SNGL(value1,value2,...)

    MODE.SNGL(array)

    MODE.SNGL(array1,array2,...)

    Arguments

    Each argument can be a double-precision floating-point value, an integer value, or an array (cell range) of these. Up to 255 arguments may be included. You can use a single array (cell range) instead of a list of values. You can use multiple arrays (cell ranges) as well.

    Remarks

    If no value occurs more than once, the function does not return a value. If more than one value occurs the same number of times, the function returns the first value that repeats that same number of times.

    If an array or reference argument contains text, logical values, or empty cells, the function ignores those values; however, the function includes in calculations cells with the value zero.

    This function measures the central tendency which is the center location of a group of numbers in a statistical distribution. Some common measures of tendency are average, median, and mode. Average is the arithmetic mean, and is calculated by adding a group of numbers and then dividing by the number count. Median is the middle number of a group of numbers where half of the numbers have values that are greater than the median and half of the numbers have values that are less than the median.

    Data Types

    Accepts numeric data for all arguments. Returns numeric data.

    Examples

    MODE.SNGL(A3,B3,C3,D3)

    MODE.SNGL(A1:A9)

    MODE.SNGL(R1C2,12,10,R2C3)

    MODE.SNGL(A2:A9,B2:B9,B12:35)

    MODE.SNGL(89,95,88,97,88,74) gives the result 88

    MODE.SNGL(1,2,2,3,4,5,5) gives the result 2

    Version Available

    This function is available in Spread for Windows Forms 11.0 or later.

    See Also