Exploring the Syntax of Functions
Worksheet functions have two parts: the name of the function and the arguments that follow. Function names—such as SUM and AVERAGE—describe the operation the function performs. Arguments specify the values or cells to be used by the function. For example, the function ROUND has the following syntax: =ROUND(number, num_digits), as in the formula =ROUND(M30,2). The M30 part is a cell reference entered as the number argument—the value to be rounded. The 2 part is the num_digits argument. The result of this function is a number (whatever the contents of cell M30 happens to be) rounded to two decimal places.
Parentheses surround function arguments. The opening parenthesis must appear immediately after the name of the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access