Open seakintruth opened 7 years ago
Nice! I will be needing that at work this week. :)
On Feb 4, 2017 13:22, "Jeremy D. Gerdes" notifications@github.com wrote:
This all should return the mode of a set of data SELECT TOP 1 Table1.Data FROM Table1 GROUP BY Table1.Data ORDER BY Count(Table1.Data) DESC;
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Temtesb/StatisticsCalculationsForExcel/issues/9, or mute the thread https://github.com/notifications/unsubscribe-auth/AYGMRKqgKL-ADNzaLs_RYaanG1HB0Indks5rZMHvgaJpZM4L3On4 .
Of course, this does not return multiple results if there is more than one mode.
This all should return the mode of a set of data SELECT TOP 1 Table1.Data FROM Table1 GROUP BY Table1.Data ORDER BY Count(Table1.Data) DESC;