How to Insert a Function in Excel
Last Updated :
08 May, 2025
In MS Excel formula is an expression that help to calculate the value of a cell and in Microsoft Excel has many inbuilt in functions that we can use in our formula. Now if you want to insert a function in Excel or want to see all the functions by category, then in this series of MS Excel tutorial guides we are going to discuss how to implement any Excel function in an Excel cell.
How to Insert a Function in Excel
Every function has the same structure. For example, SUM(A1:A4). The name of this function is SUM. The part between the brackets (arguments) means we're giving Excel the range A1:A4 as input. This function adds the valuevaluesells A1, A2, A3, and A4. It's not easy to reminrememberh function and which arguments to use for each task. Fortunately, the Insert Function features in Excel help you with this.
To insert the SUM function, you must follow the following steps:
Step 1. Select a cell.
Step 2. Click the Insert Function button. The 'Insert Function' dialogue box appears.
Step 3. Look for a function or select a function from a category. For example, choose SUM from the statistical category.

Step 4. Click OK.
The 'Function Arguments' dialog box appears.

Step 5. Click within the Range box and select the range A1:E1.
Step 6. Click OK.
Result: Excel will sum all the number which are present from A1:E1.

To insert MAX function, need to follow the following steps:
Step 1. Select a cell.
Step 2. Click the Insert Function button. The 'Insert Function' dialog box appears.
Step 3. Look for a function or select a function from a category. For example, choose MAX from the statistical category.

Step 4. Click OK. The 'Function Arguments' dialog box appears.
Step 5. Click within the Range box and select the range A1:E1.

Step 6. Click OK
Result: Excel will MAX all the number which are present from B2:E21

To insert COUNT function, need to follow the following steps:
Step 1. Select a cell.
Step 2. Click the Insert Function button. The 'Insert Function' dialog box appears.
Step 3. Look for a function or select a function from a category. For example, choose COUNT from the statistical category.

Step 4. Click OK.
The 'Function Arguments' dialog box appears.

Step 5. Click within the Range box and select the range B2:E2.
Step 6. Click OK.
Result: Excel will COUNT all the number which are present from B2:E2

Excel Important Functions
Find some of the most used and important MS Excel Function below. Here in this section we have discussed all the details of Excel functions.
Text Functions
- Lower: Converts all characters in a given text string to lowercase.
- UPPER: Converts all characters in a given text string to uppercase
- CONCATENATE: It will join together two or more text strings
- LEFT: It will return a specified number of characters from the beginning of a supplied text string
- RIGHT: Returns a specified number of characters from the end of a supplied text
Date & Time
- TIME: It will return a time, from a user-given hour, minute, and second.
- NOW: It will return the current date & time
- TODAY: It will return current today's date.
Statistical
- SUM: It will return the sum of a given list of numbers
- MAX: It will return the largest value from a list of given numbers
- COUNTIF: It will return the number of cells (of a supplied range), that satisfy a given criterion.
Logical
- AND: Tests a number of user-defined conditions and returns TRUE if ALL of the conditions evaluate to TRUE, or FALSE otherwise
- OR: Tests a number of user-defined conditions and returns TRUE if ANY of the conditions evaluate to TRUE, or FALSE otherwise
- NOT: It will return a logical value that is the opposite of a user given logical value or expression i.e. returns FALSE is the given argument is TRUE and returns TRUE if the given argument is FALSE)
Mathematical
- SQRT: It will return the positive square root of a given number
- POWER: It will return the power of a number raised to the second number.
Similar Reads
How to Insert a Function in Excel? In MS Excel formula is an expression that help to calculate the value of a cell and in Microsoft Excel has many inbuilt in functions that we can use in our formula. Now if you want to insert a function in Excel or want to see all the functions by category, then in this series of MS Excel tutorial gu
4 min read
How to Insert Dates in Excel? In Microsoft Excel, the date can be inserted in a variety of ways, including using a built-in function formula or manually entering the date, such as 22/03/2021, 22-Mar-21, 22-Mar, or March 22, 2021. These date functions are typically used for cash flows in accounting and financial analysis. In Exce
4 min read
How to Use the SUBTRACT Function in Excel Subtraction in Microsoft Excel - Quick StepsSelect the cell where you want the result.Type = (equal sign)> then select the first cell to subtract from.Type - (minus sign) > Select the cell you want to subtract.Press Enter.Subtraction in Excel is a basic yet powerful skill that can make your wo
10 min read
How to create a function in MATLAB ? A function is a block of statements that intend to perform a specific task. Functions allow the users to reuse the code frequently. MATLAB has several predefined functions which are ready to use such as sin(), fact(), cos() etc. MATLAB also allows the users to define their own functions. Syntax: fun
2 min read
Function and Sub in Excel VBA In Visual Basic, the functions and sub-procedures play similar roles but have different or unique characteristics. However, both perform a programmed task. They utilize a set or group of commands to deliver the required results. The key difference between the sub and the functions is that a sub-proc
4 min read
InputBox Function in Excel VBA Input Box is one of the most frequently used functions in VBA Macro. The dialogue box that appears asks for input from the user and returns a constant/code/number/text. For example, if you want to create a log-in form in VBA, you will require an input box function. Let's learn how to create an input
11 min read
OFFSET Function in Excel With Examples Excel contains many useful formulas and functions that make it more and more useful and at the same time user-friendly. Such a function is the OFFSET() function. In many cases, this function is also used inside another function. This function basically returns a reference of a single cell or a range
4 min read
Excel SORT Function Explore the power of your Excel data with our easy-to-follow guide on Excel Sort Function. Whether youâre a beginner or an experienced professional, learning Excelâs sorting and filtering tools can enhance your workflow and provide valuable insights. This article explores each step, ensuring you can
6 min read
How to Debug a User Defined Function in Excel VBA Debugging a User Defined Function (UDF) in Excel VBA can feel like a detective mission where you search for clues to fix issues in your code. When a custom function doesnât deliver the expected results, it can disrupt your workflow and lead to frustration. Fortunately, debugging tools in VBA make it
9 min read
How to Combine Excel Functions in a Formula? We all use Excel for some small computations in data but excel also provides the functionality to combine these small functions and make a formula for manipulating the data. For example, let's say that in school we need to increment the ID numbers of students by a number but the ID's have some text
2 min read