- by Puneet

# What is a Function in Excel

Home > What is a Function in Excel

## What is a Function in Excel

In Excel, a function is a predefined formula that performs a specific calculation by using values a user input as arguments. Every Excel function has a specific purpose, in simple words, it calculates a specific value. Each function has its arguments (the value one needs to input) to get the result value in the cell.

## Components

Each function has two major components. In short, each function (except a few) is made up of two following things:

• Function Name
• Arguments

Let me show you an example. Let’s take a look at the below function which we have inserted in the cell A1.

Now if you look at the formula bar you can understand the structure of the function by splitting it into two parts i.e. name and arguments.

### Function Arguments

As I have already mentioned that in a function you need to specify input values to get the desired result. An argument is that value which you need to specify. If you look at the syntax of a function you can see there in each function there is set arguments to specify.

Below are the types of arguments:

• Required: A required argument is compulsory for a user to specify and without which a function can’t calculate its result.
• Optional: If you skip specifying these arguments it will not stop a function to calculate its result value.
• No Arguments: There are few functions (like NOW) where you don’t need to specify any argument.

## How to INSERT a Function in Excel

The easiest way to insert a function in a cell in Excel is to type the name of the function you want to insert starting with equals to sign.

Let's say you want to insert the SUM function:

• First of all, you need to type = and the then type SUM.
• After that, enter the opening parentheses.
• Specify the arguments (refer to a cell or you can directly enter values into the function).
• In the end, type closing parentheses and hit enter.

## Major Types

Below are the major types:

• Text Functions: If you deal with data where you have text, then below are some of the functions which you need to learn to work efficiently.
• Date Functions: Dates are one of the major ingredients of data that you use every day, and helps you to analyze your data in a better way.
• Time Functions: Just like dates, time is could also be there in data and you can use time functions to deal with data where you have time values. 