傳回給定數字間的中位數。中位數是一組數字的中間數字;即是有一半數字的值大於中位數,而另一半數字的值小於中位數。
語法
MEDIAN(number1,number2,...)
Number1, number2, ... 為您想要找出中位數的 1 到 30 個數字。
備註
範例
Col1 | Col2 | Col3 | Col4 | Col5 | Col6 | 公式 |
說明 (結果) |
1 | 2 | 3 | 4 | 5 | 6 | =MEDIAN([Col1],[Col2],[Col3],[Col4],[Col5]) |
清單中前 5 個數字的中位數 (3) |
1 | 2 | 3 | 4 | 5 | 6 | =MEDIAN([Col1],[Col2],[Col3],[Col4],[Col5],[Col6]) |
所有數字的中位數,或是 3 和 4 的平均值 (3.5) |