Overview of functions in Excel
What is functions in Excel
A function is a preset formula that conducts computations based on certain data in a specific order.
Excel has several common functions that may be used to rapidly find the total, average, count, and so on.
Maximum and lowest values for a set of cells To utilize functions appropriately, you must first understand what they are.
Comprehend the many components of a function and how to build parameters to compute values and cell
Example: Formula =A1+A2+A3+A4+A5 Function =SUM(A1:A5)
Syntax of Function
A function must be written in a certain way in order to work properly, which is known as syntax.
A function’s fundamental syntax consists of an equals sign (=), the function name (for example, SUM), and one or more Arguments. Arguments include the data you wish to compute.
=SUM(A2:A3)
Working with arguments in Functions
Arguments must be contained in parenthesis and can refer to both individual cells and cell ranges. Depending on the syntax required for the function, you can provide one or more parameters.
The function =AVERAGE(C2:C8), for example, would compute the average of the values in the cell range C2:C8. There is just one parameter to this function.
A comma must be used to separate several parameters. The function =SUM(A1:A3, C1:C2, E2), for example, will sum the values of all the cells in the three parameters.
How to create functions in Excel
Excel offers a wide range of features at your disposal. Here are some of the most commonly used functions:
- SUM: This function adds all of the values in the argument’s cells. Example: =SUM(B2:B4)
- COUNT: This function counts the number of cells in the argument that contain numerical data. This function is handy for rapidly calculating the number of objects in a cell range. Example: =COUNT(B2:B4)
- AVERAGE: This function computes the average of the values in the input. It adds up the cells and divides the result by the number of cells in the argument. Example: =AVERAGE(B2:B4)
- MAX: This function returns the cell value with the highest value in the parameter. Example: =MAX(B2:B4)
- MIN: This method returns the lowest cell value in the parameter. Example: =MIN(B2:B4)
Creating a Basic Function
In the following example, we’ll use the AVERAGE function to construct a simple function that calculates the average price per unit for a list of recently ordered goods.
- Choose the cell that will house the function.
- Enter the required function name and the equals symbol (=). You may also choose the appropriate function from the list of recommended functions that appears underneath the cell as you enter. In our case, we’ll use =AVERAGE.
- Within parentheses, enter the cell range for the argument. In this case, we’ll type (D2:D5).
- On your keyboard, press Enter. The function will be computed, and the outcome will be shown in the cell.
When using functions, keep the following guidelines in mind:
- The function expects arguments to be supplied in the order specified by the function.
- Commas must be used to separate arguments.
- Optional arguments must come after mandatory arguments.
- Parentheses are required for all functions, including those with no parameters.
Using AutoSum command to create a Function
The AutoSum button allows you to quickly access the most frequently used functions (SUM, AVERAGE, COUNT, MAX, and MIN).
It may be found on the Ribbon’s Home and Formulas tabs.
The SUM function is the default action of the AutoSum button; you may access the other functions by pressing the arrow on the button (see Figure 5).
Example of AutoSum command
In our example below, we’ll create a function to calculate the total cost for a list of recently ordered items using the SUM function.
- Choose the cell that will house the function.
- On the Home tab, in the Editing group, find and click the arrow next to the AutoSum comman.
- Then select the desired function from the drop-down menu.
- In this example, we’ll use Sum.
- The chosen function will be shown in the cell.
- The AutoSum command will automatically choose a cell range for the parameter if it is positioned logically.
- You may also specify the required cell range directly into the argument.
- On your keyboard, press Enter.
The Function Library in Excel
While Excel has hundreds of functions, the ones you use the most depend on the type of data in your workbooks.
There is no need to master every single function, but becoming acquainted with some of the many sorts of functions can be beneficial as you develop new applications.
From the Function Library on the Formulas page, you may search for functions by category, such as Financial, Logical, Text, Date & Time, and more.
Note: Select the Formulas tab on the Ribbon to open the Function Library. The Function Library will be shown.
Components of Function Library
Insert Function
If you can’t find the correct function, you may use the Insert Function command to search for it using keywords.
AutoSum
The AutoSum command allows you to produce results for popular functions such as SUM, AVERAGE, and COUNT automatically.
Recently Used
The Recently Used command allows you to access functions that you have recently used.
Financial
The Financial category includes functions for doing financial calculations such as calculating a payment (PMT) or interest rate on a loan (RATE).
Logical
Logical functions validate arguments for a value or condition. For example, if we buy a single product then its price is 20$ but when we buy 3 items then it is available with a 20% discount or 1 item free I.e 3+1 at the price of 3 products.
Text
The Text category provides functions that do actions with text in parameters, such as converting text to lowercase (LOWER) or replacing the text (REPLACE).
Date & Time
The date & Time category comprises dates and time functions that return values such as current date and time.
Lookup & Reference
Functions for locating and referring to information are included in the Lookup & Reference category. For instance, the value for a given line and column intersection can be added (HYPERLINK) in a cell or returned (INDEX).
Math & Trig
The category Math and Trig covers numerical argument functions. For example, you can round (Trim), locate the value Pi (PI), subtotal (SUBTOTAL), etc.
Note: More Functions contains additional functions under categories for Statistical, Engineering, Cube, Information, and Compatibility.
To insert a function from the Function Library
We can insert functions directly from the function library as we required. See steps below:
- Select the cell that will contain the function.
- Open the Function Library by clicking the Formulas tab on the Ribbon.
- Select the required function category from the Function Library group.
- From the drop-down menu, select the appropriate function.
- A dialogue box titled Function Arguments will open.
- You’ll be able to input or choose the cells that will make up the parameters in the function from here.
- Click OK after you’re finished with the arguments.
- The function will be computed, and the outcome will be shown in the cell.
Note: Functions, like formulae, can be copied to neighbouring cells. Hover the mouse over the function cell, then click, hold, and drag the fill handle over the cells you want to fill. The function will be duplicated, and the values for those cells will be computed in relation to their rows or columns.
What is the Insert Function command
If you can’t find the correct function, you may use the Insert Function command to search for it using keywords.
While highly valuable, this command can be a bit tricky to use at times.
If you don’t have much expertise with functions, you might be better off perusing the Function Library.
However, for more sophisticated users, the Insert Function command can be a great tool to rapidly discover a function.
Steps to use the Insert Function command
Find the steps given below to insert a function from the “Insert function” command.
- Choose the cell that will house the function.
- On the Ribbon, pick the Formulas tab, then the Insert Function command.
- A dialogue box titled Insert Function will open.
- Enter a few terms that describe the computation you want the function to execute, then press the Go button.
- Scroll through the results until you find the required function, then click OK.
- The dialogue box Function Arguments will display.
- When you’re done, click OK.
- The function will be computed, and the outcome will be shown in the cell.
Good site! I truly love how it is simple on my eyes and the data are well written. I am wondering how I could be notified whenever a new post has been made. I’ve subscribed to your RSS which must do the trick! Have a great day!
Thank you for sharing excellent informations. Your site is so cool. I am impressed by the details that you’ve on this blog. It reveals how nicely you understand this subject. Bookmarked this web page, will come back for extra articles. You, my friend, ROCK! I found just the information I already searched all over the place and simply could not come across. What a great site.
Hi , I do believe this is an excellent blog. I stumbled upon it on Yahoo , i will come back once again. Money and freedom is the best way to change, may you be rich and help other people.
I went over this website and I believe you have a lot of great info, saved to bookmarks (:.
I think this is one of the most significant information for me. And i am glad reading your article. But wanna remark on some general things, The website style is perfect, the articles is really excellent : D. Good job, cheers
Hi there are using WordPress for your site platform? I’m new to the blog world but I’m trying to get started and set up my own. Do you need any html coding expertise to make your own blog? Any help would be really appreciated!
You made some nice points there. I did a search on the subject matter and found most persons will have the same opinion with your blog.
Hi there! This post couldn’t be written any better! Reading through this post reminds me of my previous room mate! He always kept talking about this. I will forward this article to him. Pretty sure he will have a good read. Thank you for sharing!
Hey there! I’ve been following your blog for some time now and finally got the bravery to go ahead and give you a shout out from New Caney Tx! Just wanted to tell you keep up the good job!
I’ve read some good stuff here. Definitely worth bookmarking for revisiting. I surprise how much effort you put to create such a magnificent informative site.