套用到
SharePoint Server 訂閱版本 SharePoint Server 2019 SharePoint Server 2016 SharePoint Server 2013 SharePoint Server 2013 企業版 Microsoft 365 中的 SharePoint SharePoint Foundation 2010 SharePoint Server 2010 Microsoft 365 小型企業版中的 SharePoint Windows SharePoint Services 3.0

會傳回一組數值中的最大值。

語法

MAX (number1,number2...)

Number1,number2,...     這是要尋找最大值的 1 到 30 個數位。

備註

  • 您可以指定數位、空白自變數、邏輯值或數字文字表示法的自變數。 若引數為錯誤值或無法轉換成數字的文字,則會產生錯誤。

  • 如果邏輯值和文字不可忽略,請改用 MAXA。

  • 如果引數不包含數字,則 MAX 函數會傳回 0 (零)。

範例

Col1

Col2

Col3

col4

Col5

公式

描述 (結果)

10

7

9

27

2

=MAX ([Col1],[Col2],[Col3],[Col4],[Col5])

27) (最大數位

10

7

9

27

2

=MAX (Col1],[Col2],[Col3],[Col4],[Col5],30)

數位的最大值和 30 (30)

需要更多協助嗎?

想要其他選項嗎?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。