Applies Toמהדורת מנוי של SharePoint Server SharePoint Server 2019 SharePoint Server 2016 SharePoint Server 2013 SharePoint Server 2013 Enterprise SharePoint ב-Microsoft 365 SharePoint Foundation 2010 SharePoint Server 2010 SharePoint ב-Microsoft 365 Small Business Windows SharePoint Services 3.0

Returns the largest value in a set of values.

Syntax

MAX(number1,number2,...)

Number1,number2,...     are 1 to 30 numbers for which you want to find the maximum value.

Remarks

  • You can specify arguments that are numbers, empty arguments, logical values, or text representations of numbers. Arguments that are error values or text that cannot be translated into numbers cause errors.

  • If logical values and text must not be ignored, use MAXA instead.

  • If the arguments contain no numbers, MAX returns 0 (zero).

Examples

Col1

Col2

Col3

col4

Col5

Formula

Description (Result)

10

7

9

27

2

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

Largest of the numbers (27)

10

7

9

27

2

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

Largest of the numbers and 30 (30)

זקוק לעזרה נוספת?

מעוניין באפשרויות נוספות?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.