MEDIAN

傳回數字資料集中的中位數。

使用範本

MEDIAN(A2:A100,B2:B100,4,26)

MEDIAN(1,2,3,4,5,C6:C20)

語法

MEDIAN(value1, [value2, ...])

  • 值_1 計算眾數時要列入計算的第一個值或範圍。 median value.

  • 值_2 - [ OPTIONAL ] - Additional 計算中位數時要列入計算的其他值或範圍。

附註

  • Although MEDIAN is specified as taking a maximum of 30 arguments, Google Sheets supports an arbitrary number of arguments for this function.

  • Any text encountered in the arguments will be ignored.

  • MEDIAN returns the center value if the dataset contains an odd number of values. If the combined arguments contain an even number of values, MEDIAN will interpolate between the two center values

  • MEDIAN finds the center value of the dataset rather than the 平均值 To find the mean use AVERAGE or AVERAGEA.

另請參閱

SMALL: 傳回資料集中排名第 N 小的項目,N 可由使用者決定。

RANK: 傳回資料集中指定值的排名。

QUARTILE: 傳回最接近資料集指定四分位數的值。

PERCENTRANK: 傳回資料集中指定值的百分比排名 (百分位數)。

PERCENTILE: 傳回資料集的已知百分位數值。

MINA: 傳回資料集中的最小數值。

MIN: 傳回數字資料集中的最小值。

MAXA: 傳回資料集中的最大數值。

MAX: 傳回數字資料集中的最大值。

LARGE: 傳回資料集中排名第 N 大的項目,N 可由使用者決定。

AVERAGEA: 傳回資料集的數字平均值。

AVERAGE: 傳回資料集的數字平均值 (忽略文字)。

範例

true
造訪學習中心

您有在公司或學校使用 Google 文件等 Google 產品嗎?快來試試實用的秘訣、教學課程和範本,瞭解如何在不安裝 Office 的情況下處理 Office 檔案、建立動態專案計劃和小組日曆、自動整理收件匣及進行其他作業。

搜尋
清除搜尋內容
關閉搜尋
主選單
2116369671499519237
true
搜尋說明中心
true
true
true
true
true
35
false
false