WorksheetFunction.Mode_Sngl (Excel)

Returns the most frequently occurring, or repetitive, value in an array or range of data.

Arguments can either be numbers or names, arrays, or references that contain numbers. If an array or reference argument contains text, logical values, or empty cells, those values are ignored; however, cells with the value zero are included. Arguments that are error values or text that cannot be translated into numbers cause errors. If the data set contains no duplicate data points, Mode_Sngl returns the #N/A error value.

Mode_Sngl (Arg1, Arg2, ..., Arg30)

Dim dblMode_Sngl As Double
dblMode_Sngl = WorksheetFunction.Mode_Sngl(Arg1:=)


Arg1, Arg2, ..., Arg30