Excel Spreadsheet Formulas (Table of Contents)
Spreadsheet Formulas in Excel
A spreadsheet is full of formulas. Firstly don’t get confused with the spreadsheet and worksheet both are same. In this article we will talk about the most important formulas in excel and how do we use it in our day to day activities.
How to Use Spreadsheet Formulas in Excel?
Spreadsheet Formulas in Excel is very simple and easy to use. This is the guide to Formulas in Excel with Detailed Spreadsheet Formulas Examples. Let’s understand how to use Spreadsheet Formulas in Excel with some examples.
SUMPRODUCT Formula in Excel Spreadsheet – Example #1
If we want to do unit price * unit sold calculation, we will do an individual calculation and finally add the total to get the total sales. For example, look at the below example.
Firstly we calculate the total sales by multiplying Units Sold to Unit Price as I have shown in the below image.
Finally, we add the total of sales to get the final total sales amount.
This includes many steps to get the final sales amount. However using SUMPRODUCT function, we can get the total in a single formula itself.
In the first array, select Units Sold range.
We need to do the multiplication so enter an asterisk (*) symbol and select Unit Price.
Oh yes, we got our end result in a single formula in a single cell itself. How cool it is?
Formula to SUM Top N Values in Excel Spreadsheet – Example #2
We all work on SUM function in Excel Spreadsheet in Excel day in day out in an Excel Spreadsheet, this is not a strange thing for us. But how do we sum top 3 values or top 5 values or top X values?
Looks like a new thing isn’t it? Yes, we can SUM Top N values from the list. For example, look at the below data.
With the combination of SUM & LARGE function in Excel Spreadsheet, we can sum top n values from the list. LARGE function helps us to find the top largest value.
In order to find the top 3 values, I applied SUM function formula for this SUM function I have entered one more function, LARGE to get the top N values. A LARGE function in Excel Spreadsheet can return only one largest, in order to find the top N values. We need to supply the numbers in curly brackets ({). Now LARGE will return the top 3 largest values and SUM function will add these 3 numbers and give us the total.
Similarly, if I want the sum of top 5 values from the list in Excel Spreadsheet, I need to supply the numbers till 5 in curly brackets. Now LARGE will return the top 5 largest values and SUM function will add these 5 numbers and give the total.
SUMIF Formula with Operator Symbols in Excel Spreadsheet – Example #3
You must have worked with SUMIF function while using Excel Spreadsheet and you are perfectly alright as well. But we can pass the criteria to SUMIF function formula with operator symbol as well. For an example look at the below example.
We need to do the addition of all the values which are greater than 400. For sure we need to use SUMIF function but in criteria, we need to supply operator symbol greater than (>) and mention the criteria as 400.
Yes, we need to supply the criteria operator symbol in double quotes (” “) and combine the other criteria with the ampersand (&) symbol. Now formula will read it as greater than 400 and returns the total.
I have marked all the values which are greater than 400 with yellow color, you can add those values manually you will get the same total as 2190.
Table for All kind of Calculations in Excel Spreadsheet – Example #4
Often we need to do the summation of values, often we need the count, often Average of the numbers and many other things. How do you deal with all these requirements in a single formula?
Assume below is the data you have in your Excel Spreadsheet.
Step 1: Convert this range to the table by pressing Ctrl + T.
Step 2: Place a cursor inside the table > go to Design > Under Table Style Options check the option Total Row.
Step 3: Now we have a total of the table row at the end of the table.
Step 4: But if you observe it is not the only formula rather it has drop-down list. Click on the drop-down list to see what more has in it.
Using this drop down we can use Average, Count, find the Max value, find the Min value and many other things as well. Based on the selection we make from the drop down it will show the results.
AVERAGEIF Formula in Excel Spreadsheet – Example #5
AVERAGE function is not a strange thing for us. At the point of time if we need the average of values we would apply AVERAGE function formula in Excel Spreadsheet and get the result. For example, if I need the average of below numbers I would apply AVERAGE function.
What if we need Average only for the quarter Q1 how do we do? We can do with manual work but we all hate manual work isn’t it?
Nothing to worry we have a function called AVERAGEIF in Excel Spreadsheet.
Range is nothing but our Quarter Range, so select Quarter range from A2 to A19.
Criteria is what you want to do from this range. Our criteria is Q1.
Average Range is nothing but the sales column to select the Sales column and close the bracket. We will get Q1 Average Only.
IFERROR Formula to Avoid Errors in Excel Spreadsheet – Example #6
I am sure you have encountered many errors while applying formulas. Often times we need to ignore these errors and clear this error values as per our own values. For example look at the below illustrations.
In the above image, we got error values. I want to convert all the error values to Not Found. Apply below formula to get the result.
If VLOOKUP returns an error values IFERROR convert this to Not Found text value.
TEXT Function to Concatenate Date Values in Excel Spreadsheet – Example #7
Using CONCATENATE function we can combine many cells data into one. But this does not work a similar way if you are combining dates with text in Excel Spreadsheet. Look at the below image.
When I combined cells A1 & A2 I got the result of these two cells values. However, a date is not in the correct format, in order to make this a perfect format we need to use TEXT function to apply our date format.
Below is the formula which can make this a proper sentence.
TEXT Function to Concatenate Time Values in Excel Spreadsheet – Example #8
Like how we got an incorrect format for date similarly for time format also we get incorrect format.
We need to pass the time cell with TEXT function and convert it to “hh:mm:ss” format in Excel Spreadsheet.
Things to Remember
- Using CONCATENATE function we can combine many cells data into one.
- In order to make Date Format correct, we need to use TEXT function to apply our date format.
- By using SUMPRODUCT function we can get the total in the single formula itself.
You can download this Spreadsheet Formulas Excel Template – Spreadsheet Formulas Excel Template
Recommended Articles
This has been a guide to Spreadsheet Formulas in Excel. Here we discussed different Spreadsheet formulas in Excel, How to use Spreadsheet Formulas in Excel along with practical examples and downloadable excel template. You can also go through our other suggested articles-