Without SUM, the first row formula will return the#VALUE error.

TheSUM functionhowever will treat the text in C4 as zero and prevent the error.

SUM Function

The Excel SUM function returns the sum of values supplied.

Excel SUM function

These values can be numbers, cell references, ranges, arrays, and constants, in any combination.

SUM can handle up to 255 individual arguments.

MAX Function

The Excel MAX function returns the largest numeric value in the data provided.

Excel MAX function

MAX ignores empty cells, the logical values TRUE and FALSE, and text values.

MIN Function

The Excel MIN function returns the smallest numeric value in the data provided.

The MIN function ignores empty cells, the logical values TRUE and FALSE, and text values.

Excel MIN function