Trending February 2024 # How To Find Mean In Excel # Suggested March 2024 # Top 5 Popular

You are reading the article How To Find Mean In Excel updated in February 2024 on the website We hope that the information we have shared is helpful to you. If you find the content interesting and meaningful, please share it with your friends and continue to follow and support us for the latest updates. Suggested March 2024 How To Find Mean In Excel

What is Mean in Excel?

In Excel, the mean is also called the average. It’s a function that calculates the arithmetic mean, which means finding the average of a set of numbers. The average function adds all the values of a given range and divides the sum by the total count of cells.

In this article, we will learn How to Find Mean in Excel. For example, if you want to calculate the mean for 5, 10, 15, 20. The average function will add all the values (5 +10+15+20) and divide the sum by the total number of cells, i.e., 4. The result will be 12.5.

Start Your Free Excel Course

Excel functions, formula, charts, formatting creating excel dashboard & others

The AVERAGE function is useful to calculate the average marks of students, the average salary of employees, and the average sales produced over time. This article explains how to find mean in Excel with five different methods and examples.


number1-It is a mandatory argument. It can be a number, range, or cell reference

[number2],..-It is an optional argument in the function.

How to Find Mean in Excel?

Select an empty cell to display the result

Enter the formula =AVERAGE(cell range). For instance: =AVERAGE(A5:A20)

Press “Enter”

The formula returns the arithmetic mean.

You can download this How to Find Mean Excel Template here – How to Find Mean Excel Template

Example #1: How to Calculate Arithmetic Mean in Excel?

Step 1: Select “Cell C2” and enter the formula:





Note: In the formula =AVERAGE(A2:A11), we have selected the range from A2 to A11. You can also type individual numbers in the formula.

Step 2: Press “Enter”.

Result: The formula will return 27.5.

Alternate Method:

Excel has an in-built function to calculate the average values in a continuous row or column. You can follow the following steps.

Step 3: Press “Enter”

Result: The formula will display 27.5 in Cell A12.

Example #2: How to Find the Mean of a Data Set?

Step 2: Select “Cell F2” and enter the formula:





Step 4: Drag the cell downwards.

Result: The formula will return average marks for respective students, as shown below.







Example #3: Using AVERAGEIF for a Specific Condition

The AVERAGEIF function calculates the mean or average of a given data that meet certain criteria.

Step 1: Select “Cell C11” and enter the formula:





Step 3: Select “Cell C12” and enter the below formula:









Step 4: Press “Enter”.

Result: The formula return the average of total sales for only sugar.

Note: You can see the difference between the AVERAGE and AVERAGEIF function results. The AVERAGE function has considered values from C2 to C10. The AVERAGEIF function has considered only Cell C4, C6, C8, and C9 values, representing sugar.

Example #4: Using AVERAGEIFS for Multiple Conditions

In the earlier example, we calculated the average of total sugar sales. Let’s say you want to calculate the average total sugar sales exceeding $40. You have to use the AVERAGEIFS function to accomplish this task.

Step 1: Select “Cell C11” and enter the formula:

Step 2: Press “Enter”.

Result: The formula returns the average value of total sugar sales exceeding $40.

Example #5: Using AVERAGEA

Points to remember while using the AVERAGEA function:

Text strings are evaluated as

Boolean or Logical value like TRUE is considered 1 and FALSE as 0.

Empty text (“”) in the cell is also evaluated as 0.

Step 1: Select “Cell C12” and enter the formula:





The formula will return 25.47777778 in Cell C12, as shown below.

Result: The formula will return the average of total sales

Step 3: Select “Cell C13” and enter the formula:





Here, the AVERAGEA function has taken the Cell C5 and Cell C10 values (Text-Non Sold) as 0 and divided the sum by 9, i.e., the total count of cells in the data.

Here, the AVERAGE function ignores Cell C5 and Cell C10 values and divides the sum by 7.

Things to Remember on How to Find Mean in Excel

A user can give 255 input arguments in the AVERAGE function, which includes numbers, text strings, arrays, cell references, and logical values (TRUE or FALSE).

If any cells do not meet the above criteria, Excel will display a #DIV01 error.

The AVERAGEA function will evaluate 1 for TRUE and 0 for FALSE values.

To calculate the mean with specific conditions, use AVERAGEIF or AVERAGEIFS.

Recommended Articles

This article provides a step-by-step tutorial on how to find mean in Excel using various functions like AVERAGE, AVEARGEIF, AVEARGEIFS, and AVERAGEA with practical examples. To understand more about Excel features, you can also read our other articles.

You're reading How To Find Mean In Excel

How To Calculate Mean (Examples, Calculator)

Mean Formula (Table of Contents)

Start Your Free Investment Banking Course

Download Corporate Valuation, Investment Banking, Accounting, CFA Calculator & others

Mean Formula

The mean, also known as the arithmetic average, is a statistical measure used to determine the center of a dataset. It is calculated by summing all the data points and dividing the sum by the number of data points in the set. The mean plays a fundamental role in data analysis and is a common method for measuring central tendency.

A formula for Mean is as below:

Mean = Sum of All Data Points / Number of Data Points.

In the Assumed Mean method, which is not commonly used, one selects a random value from the dataset and assumes it to be mean. Then, one calculates the deviation of the data points from this value to determine the mean.

Mean = Assumed Mean + (Sum of All Deviations / Number of Data Points)

Examples of Mean Formula (With Excel Template)

Let’s take an example to understand the calculation of the Mean formula in a better manner.

You can download this Mean Template here – Mean Template

Example #1

Let’s say you have a data set with 10 data points, and we want to calculate the mean for that.

Data set: {4,6,8,9,22,83,98,45,87,10}


Mean = Sum of All Data Points / Number of Data Points

Mean = (4+6+8+9+22+83+98+45+87+10) / 10

Mean = 372 / 10

Mean = 37.2

Let’s use the Assumed Mean method to find the mean in the same example.

Let’s assume that the mean for the given data set is 40. So Deviations will be calculated as:

For 1st data point, 4 – 40 = -36

Similarly, We have to calculate the deviation for all the data points.

Mean = Assumed Mean + (Sum of All Deviations / Number of Data Points)

Mean = 40 + (-36 -34-32-31-18+43+58+5+47-30) / 10

Mean = 40 + (-28) / 10

Mean = 40 + (-2.8)

Mean = 37.2

Example #2

Let us take IBM stock and we will take its historical prices from the last 10 months and will calculate the annual return for 10 months.


Mean = (3.74% + 1.07% +4.34% + (-23.66)% + 7.66% + (-7.36)% + 18.25% + 2.76% + 1.48% + 0.00%) / 10

Mean = 8.28% / 10

Mean = 0.83%

So if you see here, in the last 10 months, IBM’s return has fluctuated very much.

Overall, the average return in the last 10 months is only 0.83%.


Mean is a simple average of the data points in a data set and helps us understand the average point. But there are certain limitations to using mean. The mean value is easily distorted by extreme values/outliers. These extreme values can be very small or very large, which can distort the mean. For example: Let’s say we have returns of stock for the last 5 years given by 5%, 2%, 1%, 5%, -30%. Mean for these values is -3.4% ((5+2+1+5-30)/5). So although the stock has provided a positive return for the first 4 years, we have an average negative mean of 3.4%. Similarly, if we have a project for which we analyze the cash flow for the next 5 years. Let’s say the cash flows are: -100, -100, -100, -100, +1000.

The mean is 600 / 5 = 120. Although we have a positive mean, we are only getting money in the last year of the project, and it can happen that if we incorporate the time value of money, this project will not look as lucrative as it is now.

Relevance and Uses of Mean Formula

Mean is very simple yet one of the crucial elements of statistics. It is the basic foundation of statistical analysis of data. It is very easy to calculate and easy to understand also. If we have data set with data points scattered everywhere, the mean helps us see that data point’s average. For example: If a stock X has returns from the last 5 years as 20%, -10%, 3%, -7%, 30%. If you see, all the years have different returns. The mean for this is 7.2% ((20-10+3-7+30)/5). So we can now simply say that, on average, the stock has given us a yearly return of 7.2%.

But if we see mean in a silo, it has relatively less significance because of the flaws discussed above and is more of a theoretical number. So we should use the mean value carefully and not analyze the data based only on the mean.

Mean Formula Calculator

You can use the following Mean Calculator

Sum of All Data Points Number of Data Points Mean Formula   Mean Formula = Sum of All Data Points = Number of Data Points


= 0


Recommended Articles

This is a guide to Mean Formula. Here we have discussed how to calculate the Mean, along with practical examples. We also provide a Mean calculator with a downloadable Excel template. You may also look at the following articles to learn more –

How To Make A Graph In Excel?

How to Make a Graph in Excel?

Create compelling Excel graphs and charts!

Written by

CFI Team

Published August 1, 2023

Updated July 7, 2023

How to Make a Graph in Excel?

In addition to working with large volumes of data, finance and accounting professionals need to learn how to make a graph in Excel. Data visualization (visual representation of data in charts or graphs) is critical to many jobs. The graphical visualization of data is an effective method to communicate information to readers quickly. Charts and graphs identify trends and patterns in the data, as well as to detect anomalies and outliers.

Among finance and accounting professionals, Microsoft Excel remains the top choice for many tasks, and data visualization is no exception. MS Excel allows for creating various types of charts and graphs. In addition, the templates can be easily modified to improve the financial models. Finally, graphs and charts created in Excel can be exported to other applications to include them in your report or presentation.

Step-by-Step Guide on How to Create a Graph in Excel

The guide discusses the steps to create any type of chart in Excel:

Enter the data in Excel. Also, the data can be imported into Excel from other applications.

Ensure that the data is organized in a table format, and all variables are carefully labeled.

Select the data that will be used to create a graph. Don’t forget to include the labels as well.

How to Edit a Graph in Excel?

Follow the four simple steps above and you can create a graph in Excel. However, if you want your data visualization to be compelling to the readers, you must also know how to edit your graph. It can be done in several ways:

Design: With this button, you can edit the design of your graph. You can add or remove elements on your graph (e.g., axis titles, labels, legend), change the layout or style of a graph, swap data over the axis, change the data range used in a graph, and change the chart type.

Format: The Format option allows for changing the appearance of the graph. For example, you can change the colors of the chart’s elements and add shapes and shape effects to it.

Chart Elements: With this feature, you can add or remove chart elements such as axis, axis titles, chart title, etc.

Chart Styles: This feature allows for altering the style of the chart, as well as the color palette used in the chart.

Chart Filters: This function enables filtering the results displayed on your chart.

Data Visualization Tips

Now you know how to create graphs and charts in Excel. However, it is not the end of the story. Data visualization is not simply stacking several graphs together, but is concerned with the ability to convey the correct message from the data to the reader in a compelling way. Here are some tips that will allow you taking your data visualization skills to a new level:

1. Keep it simple

“Keep it simple” remains the golden rule in data visualization. Always try to make your graphs or charts as simple as possible. Remember that a reader should be able to understand the message that your chart intends to convey quickly.

2. Choose the right chart 3. Pick the right colors

Color is a powerful tool in data visualization. Selecting the appropriate colors for a chart or graph may help your readers to grasp the key pieces of information quickly. When you use the right colors for a chart, remember that too similar colors cannot convey the differences between data points while extremely contrasting colors, as well as too many colors, can be distracting for a reader.

4. Properly label data

Data labeling is crucial to powerful data visualization. For example, it always a good idea to label axes of your chart and main data categories. Nevertheless, be aware that excessive labeling on your chart can be distracting to your readers.

5. Don’t use special effects

Don’t use special effects (e.g., 3D) unless necessary. For example, a 3D feature on a bar chart is not necessary since a bar chart considers only two dimensions. Special effects may only distort dimensions on a chart, and a reader can be easily confused.

Additional Resources

CFI is the official provider of the Financial Modeling and Valuation Analyst (FMVA)™ certification program, designed to transform anyone into a world-class financial analyst.

To keep learning and developing your knowledge of financial analysis, we highly recommend the additional CFI resources below:

How To Lock Cells In Microsoft Excel

Do you want to lock cells in Excel to prevent unwanted changes in an Excel sheet? Here’s how to lock cells and protect sheets in Microsoft Excel.

Tip: also learn how to use Power Query and Power Pivot in Microsoft Excel.

How to Lock All Cells in a Sheet

When creating a new sheet, all cells are automatically locked. However, there are cases when the last user keeps the cells unlocked manually. Here’s how to lock all cells in a sheet:

Open the Excel workbook containing the cells you want to lock.

Reenter the unprotect password.

How to Unlock All Cells in Excel

Follow these steps to unlock all locked cells in a sheet:

Enter the unprotect sheet password when prompted.

Extra: Master VLOOKUP guide for Microsoft Excel here.

How to Lock Specific Cells in Excel

You can lock specific cells in Excel and keep other cells unlocked in the same sheet by following these steps:

Highlight the cells you want to lock.

Reenter the unprotect password.

How to Unlock Specific Cells in Excel

If you need to change specific cells that are locked, follow the instructions below to unlock them:

Enter the unprotect sheet password.

Highlight the specific cells you want to unlock.

What You Can and Can’t Do when Locking Cells in Excel

What you can do:

Lock formulas in cells

Choose specific cells to lock and leave unselected cells unlocked

Protect your sheet and workbook with a password

Lock symbols in cells

What you can’t do:

Lock cells in the Web version of Microsoft Excel

Edit locked cells in a protected sheet

How to Protect a Workbook in Excel

You can lock an Excel workbook to protect it from the Insert, Delete, Rename, Move, Copy, Hide, and Unhide commands. Here’s how to protect a workbook:

Reenter the password.

Frequently Asked Questions What will happen when I unprotect a protected sheet?

Once you enter the password for a protected sheet, you will need to create a new password or use the same password as before to protect it again with a password.

Is it necessary to enable Protect Sheet after locking cells?

Yes, as locked cells can still be edited when unprotected. Therefore, locking cells with unprotected sheet is useless.

All screenshots by Natalie dela Vega

Natalie dela Vega

Natalie is a writer specializing in tech how-tos and gaming. When she’s not writing, she plays PC games and travels. Here at MakeTechEasier, you will see her write about guides, tips, and solutions for Windows and iOS.

Subscribe to our newsletter!

Our latest tutorials delivered straight to your inbox

Sign up for all newsletters.

By signing up, you agree to our Privacy Policy and European users agree to the data transfer policy. We will not share your data and you can unsubscribe at any time.

How To Count Colored Cells In Excel?

In this post, we will show you how to count colored cells in Microsoft Excel.

While working with Excel, we often color-code cells to distinguish them from the rest of the data. This is good because the only concern is to grab someone’s attention. But when we color-code cells to indicate some value (for example, ‘green’ for approved and ‘red’ for not approved), we may require counting these values at some later point in time.

Excel offers plenty of functions, but sadly, none of them can be used directly to calculate the count of color-coded cells. Also, there’s no built-in way (whatsoever) to do so in Excel. However, there are workarounds to count colored cells in Microsoft Excel, which we will discuss in this post. So keep reading!

How to count Colored Cells in Excel?

To count colored cells in Microsoft Excel, you may use the Find and Select tool or the Excel Filter and SUBTOTAL() function. Let us see both these methods in detail.

1] Use the Find and Select tool

The Find & Select tool is used to find and select cells that meet specific requirements. It lets you execute the Find command, Find and Replace command, and Go To commands in Excel. With the help of the Find command, you can count the number of cells that have a specific background color. Here’s how:

Let’s say we have a worksheet wherein we have some sample data as shown in the above image. The data lists some blog posts that have either been scheduled or published on TheWindowsClub. Here, yellow color has been used to indicate that a post is scheduled, and green color has been used to indicate that a post is published. For this data, we can count the total number of scheduled posts as follows:

As you select the option, the Find and Replace dialogue box will disappear and your mouse pointer will turn into a plus symbol with a color picker next to it.

The dialogue box will further expand and show the list of cells that are color-coded in yellow. At the bottom of the dialogue box, you will see the count of these cells.

2] Use Excel Filter and SUBTOTAL() function

The SUBTOTAL() function can be used to perform a calculation on a given range of cells. It can be used to apply other functions on the cell range while ignoring the cells that shouldn’t be part of the calculation. A total of 11 functions are supported by the SUBTOTAL() function.

It has the following syntax:



function_num  is the numeric reference to the function that should be used in the calculation. It takes either 1 to 11 or 101 to 111 as value. For example, 1 or 101 for AVERAGE(), 2 or 102 for COUNT(), 3 or 103 for COUNTA(), etc. The variation in the numeric reference determines whether to include(1-11) or exclude(101-111) hidden cell values in the function.

ref1 refers to the cell range whose subtotal is required.

ref2 refers to another cell range for the calculation. This may go up to ref254.

Taking the same example as above, we can count the total number of scheduled posts using the SUBTOTAL() function as follow:

Place your cursor in cell A11 and type the following function in the Formula Bar on top:


Here, value ‘103’ indicates that the COUNTA() function has been referred to in the SUBTOTAL() function. Also, it indicates that hidden values will be excluded, if any. If you have numeric data in your worksheet, you may refer to the COUNT() function (2/102).

Since there are no hidden rows at this moment, the count comes out to be 9. When you manually hide rows with green cells, the SUBTOTAL() function automatically shows the updated results (8, 7, etc.).

If the data is quite large (which is obvious), manually hiding rows could be tedious. So you can add a filter to show only yellow-colored cells in the data range.

This will filter out yellow-colored cells. The result of the SUBTOTAL() function will also update based on the visible data.

Note: When SUBTOTAL() function is used on filtered data, hidden values are always ignored regardless of the function_num argument.

So this is how you can count colored cells in Microsoft Excel. I hope you find this useful.

Also Read: How to highlight Cell or Row with Checkbox in Excel.

Can Excel count by colored cells?

There’s no built-in way to count colored cells in Excel, but there’s a trick. You can apply a color filter to the cell values and then count only visible cells by passing the COUNT() or COUNTA() function as an argument in the SUBTOTAL() function. The SUBTOTAL() function can be used to perform various arithmetic operations (sum, count, average, etc.) on a given cell range.

Can you use Countif with colors?

Read Next: How to create a dropdown list with color in Excel and Google Sheets.

How To Translate Text In Excel With Examples?

Introduction to Excel Translate Function

Excel Translate is a powerful in-built function to convert any word or sentence into several languages. This tool is ideal for professionals working across different native languages.

Moreover, it facilitates effective communication by sharing documents with colleagues and business partners in multiple languages, enhancing readability and preventing confusion.

Where is the Translator in Excel?

In Excel, the “Translate” feature is available under the “Language” section of the “REVIEW.”

How to Translate in Excel?

Let us learn how to translate words and sentences from one language to another with the help of the following examples.

You can download this Translate Excel Template here – Translate Excel Template

Example #1

Step 2: Type the word you want to convert and select the”Fro” and“T” languages from the options. For example, type Today and select English in From and Hindi in the To section. The result will display automatically.

Note: The Swap option of the translator function can be used to interchange the To and From languages.

Note: You also directly select the cell you want to translate. The selected text will display automatically in the upper box. Then you have to choose the target language. Text is immediately translated into the target language, as shown below.

Example #2

Suppose you have the below data of some words in English, and you want to translate those words into another language like Chinese and French.

The result will be displayed in the menu as shown below.

Note: Remember that the translated words will only appear on the menu. You have to copy-paste the translated word into their respective cells.

Step 4: Repeat the same procedure for Chinese and French.

All the words are now translated into different languages, as shown above.

Example #3

You can also change a long sentence from one language to another. For example, there is a long sentence in English -“Hello, my name is David. I love cooking and listening to music. “You want to translate this sentence into French.

Type the above sentence in the From section and select French in To. The output is shown in the image below.

How to Install Functions Translator Add-Ins

Follow the below procedure to install the Functions translator in Excel.

The Function Translator is installed successfully. It will appear at the bottom, as shown below.

The function Translator will appear in the Home tab. It will have two options: Reference and Translator.

A language settings dialog will open. This dialog box allows you to select From and To

Step 8: Select From and To languages.

To is the language you know and are familiar with, and From is the language you want to find or translate. Note: You can change the language anytime through the Preferences pane. The swipe button, represented in an up-down arrow, allows you to switch the language easily.

For example, if you know French and want to translate Excel formulas into English. You can select English in the From and French in the To, as shown below.

Step 10: Enter the formula you want to translate.

Things to Remember

The shortcut to open the translate window is Alt + Shift + F7Excel’s’s translator result may be prone to errors and inconsistenciesExcel’s translator is mainly suitable for personal understanding.

The translated text or sentence may not be ideal for professional use.

You should have an internet connection to access the Excel function translator.

You can search for the Excel function under the dictionary of Function Translator.

Recommended Articles

This article is a guide to Translate in Excel. Here we learn to translate text to different languages using Translate in Excel and how to add a translate option in Quick Access ToolBar. You can also go through our other suggested articles –

Update the detailed information about How To Find Mean In Excel on the website. We hope the article's content will meet your needs, and we will regularly update the information to provide you with the fastest and most accurate information. Have a great day!