Preview — Office Skills Accelerator course materials (EN). Not production.
Page 7 / 13

Functions

On this page, we'll learn more about the concept of function. What are functions, and what do they do? In the following pages, we will look closely at a few functions that will allow you to develop your use of Excel significantly. The functions handled are IF, VLOOKUP and XLOOKUP.

In the case of functions, we proceed as follows: In this chapter, we go over things related to functions in general and practice them only after that.

What is a function?

The function concept in Excel is similar to function concepts used in mathematics and programming but is more clearly related to spreadsheets. A Function is a calculation formula that determines the contents of a cell based on various data, especially the contents of other cells. Applying a function means using a calculation formula to certain data.

In Excel, a function consists of the function name and the arguments in parentheses that determine which data the function is applied. Examples of functions:

**=SUM(A1:A10)** An invocation of a summation function, its argument being the cell area from **A1** to **A10**. The function sums the values of the cells: *A1**, **A2**, **A3**, ..., **A9** and **A10**. The Sum Function is one of the most popular functions in Excel.
**=NOW()** An invocation of a function that returns the current date and time. The function does not include arguments, but you need to add the parentheses so that Excel recognizes the formula as a function.
**=COS(2.5)** An invocation of the cosine function, the argument being the value **2.5**. This function is common in mathematics but more rarely used in Excel.

If there are several arguments, they are separated from each other with a comma, as in mathematics and programming. For example, SUM(A1, A3, A5), which calculates the sum of the cells A1, A3 and A5. However, if the comma is used as a decimal separator, due to settings in Windows, arguments are separated with a semicolon, for example SUM(A1; A3; A5).

You can use one or more function calls in a formula that you start with the symbol =, for example =SUM(A1:A10). Confirm the formula in the normal way with Enter.

A function is added to the formula by either typing it in directly or selecting the function from the menu and creating arguments to it as instructed by Excel. Let's get acquainted with these two methods next.