Use of microsoft excel in statistics

Using Excel for Statistical Analysis

MS Excel is one of the most commonly used tools for data analysis. The convenience of use and cost are two very important reasons why most data professionals prefer using Excel for statistical data analysis. However, using Excel for statistical analysis requires clarity of thought, data analysis knowledge, and strong decision-making skills.

Whether you are performing statistical analysis using Excel 2010 or Excel 2013, you need to have a clear understanding of charts and pivot tables. Most data analysts using Excel for statistical analysis depend largely on these two Excel features. Having knowledge of the essential statistics for data analysis using Excel answers is a plus.

Data analytics excel course

Remember to install Data Analysis ToolPak if you are using Excel for statistical data analysis. In this discussion, we explain in detail the essential statistics for data analysis using Excel and how to perform descriptive analysis using Excel.

In this blog, I have tried to explore the functionalities of MS-Excel as a potential tool for statistical analysis and suggested some simple tricks and techniques that will save both time and energy.

Want to Know the Path to Become a
Data Science Expert?

Download Detailed Brochure and Get Complimentary access to Live Online Demo Class with Industry Expert

Date: 15th Apr, 2023 (Saturday) Time: 11:00 AM to 12:00 PM (IST/GMT +5:30)

Using Excel for Statistical Analysis: Pivot Tables

A PivotTable is an Excel tool for summarizing a list into a simple format. It helps you analyze all the data in your worksheet so as to make better business decisions. Excel can help you by recommending, and then, automatically creating PivotTables, which are a great way to summarize, analyze, explore, and present your data.

Pivot-table1

A pivot table may be used as an interactive data summarization tool to automatically condense large datasets into a separate, concise table. You can use it to create an informative summary of a large dataset or make regional comparisons between brand sales.

Pivot-table2

You can create PivotTables from lists, as you define which fields should be arranged in columns, which fields should become rows, and what data you wish to summarize.

Using Excel for Statistical Analysis: Descriptive Statistics

Descriptive Statistics tool in the Data Analysis add-in can be used on an existing data set to get up to 16 different descriptive statistics, without having to enter a single function on the worksheet. Descriptive Statistics gives you a general idea of trends in your data including:

  • The mean, mode, median and range
  • Variance and standard deviation
  • Skewness
  • Sample Variance
  • Kurtosis and Skewness
  • Count, maximum and minimum

Descriptive_statistics1

Descriptive_statistics1

Descriptive Statistics is useful because it allows you to take a large amount of data and summarize it. For example, you may want to represent the incomes of a community. Instead of showing it on an excel, you may summarize it, it becomes useful: an average wage, or a median income, is much easier to understand and then analyze the data.

Descriptive_statistics3

You can find descriptive analysis by going to Excel→ Data→ Data Analysis → Descriptive statistics. It is the most basic set of analysis that can be performed on any data set.

Using Excel for Statistical Analysis: ANOVA (Analysis of Variance)

Analysis of variance (ANOVA) is a statistical technique that is used to check if the means of two or more groups are significantly different from each other. ANOVA checks the impact of one or more factors by comparing the means of different samples.

Anova_intro

ANOVA method in Excel shows whether the mean of two or more data set is significantly different from each other or not. In other words, ANOVA analyses two or more groups simultaneously and finds out whether any relationship is there among the groups of data set or not.

For example, you may use ANOVA if you want to analyze the traffic of three different cities and find out which one is more efficient in handling the traffic (or if there are no significant differences among the traffic).

Anova_usage

You will find three types of ANOVA in Excel:

  • ANOVA single factor
  • ANOVA two factor with replication
  • ANOVA two factor without replication

If you have three groups of datasets and want to check whether there is any significant difference between these groups or not, you can use ANOVA single factor. If the P-value in the ANOVA summary table is greater than 0.05, you can say that there is a significant difference between the groups.

Using Excel for Statistical Analysis: Moving Average

Moving Average, another great tool for those using Excel for statistical analysis, is ideal for time series data such as stock price, weather report, attendance in class, etc. Moving Average is used extensively in stock price as a technical indicator. If you want to predict the stock price of today, the last ten days’ data would be more relevant than the last 1 year.

You may, simply plot the moving average of the stock having a 10-day period and then predict the estimated price. The same rule may be applied for predicting the temperature of a city. The recent temperature of a city can be calculated by taking the average of the last few weeks rather than the last few months.

Using Excel for Statistical Analysis: Rank and Percentile

The Rank and Percentile, another popular Excel features used for data analysis, is useful for finding the rank of all the values in a list. The best part of using the Rank and Percentile feature is that the percentile is also added to the output table.

The percentile is a percentage that indicates the proportion of the list which is below a given number. It calculates the ranking and percentile in the data set. For example, if you are managing a business of several products and want to find out which product is contributing to a higher revenue, you can use this rank method in Excel.

Rank_ and _percentile

In the left table, we have our data on the revenues of different products. And we want to rank this data of products based on their revenue. With the help of rank and percentile, we can get the table shown on the right. You can observe that now the data is sorted and respective rank is also marked with each data.

Percentile shows the category in which the data belongs, such as the top 50%, top 30%, etc. In the summary table, the rank of product 7 is 4. As the total number of data is 7, we can easily say that it belongs to the top 50% of the data.

Using Excel for Statistical Analysis: Regression

Regression is one of the best features in Excel. It is widely used for using Excel for statistical data analysis. Regression is a process of establishing a relationship among many variables; to establish a relationship between dependent variables and independent variables.

Regression is great for use for using Excel for statistical data analysis. You, may, for example, want to see if there is an increase in the revenue of the product, which is not due to the increase in the advertisement.

Regression_analysis1

If you performing statistical analysis using Excel 2010, Regression Analysis is the best way of mathematically sorting out which of those variables does indeed have an impact. It answers the questions: Which factors matter most? Which can we ignore? How do those factors interact with each other? And, perhaps most importantly, how certain are we about all of these factors?

Regression analysis2

These factors are more commonly known as variables. You may have your dependent or independent variables. In order to conduct a regression analysis, you gather the data on the variables in question.

You may take all of your monthly sales numbers, the past five years and any data on the independent variables you may find useful. You may, for example, find out the average monthly rainfall for the past five years as well.

Using Excel for Statistical Analysis: Random Number Generator

If you are using Excel for statistical data analysis, on a regular basis, Random Number Generator must be your top choice for generating a series of random numbers. This simple function in Excel gives you more flexibility in the random number generation process. It gives you more control over the generated data.

Random_number_generator_excel Random number generator excel1 1

A random number is one that is drawn from a set of possible values, each of which is equally probable. In statistics, this is called a uniform distribution, because the distribution of probabilities for each number is uniform (i.e., the same) across the range of possible values.

For example, a good (unloaded) die has the probability 1/6 of rolling a one, 1/6 of rolling a two and so on. Hence, the probability of each of the six numbers coming up is exactly the same, so we say any roll of our die has a uniform distribution.

When discussing a sequence of random numbers, each number drawn must be statistically independent of the others. This means that drawing one value doesn’t make that value less likely to occur again. This is exactly the case with our unloaded die: If you roll a six, that doesn’t mean the chance of rolling another six changes.

Random number generator excel2

Random number generator excel3

Two very essential statistics for data analysis using Excel:

  • The function RANDBETWEEN returns a random integer number
  • The function RAND () returns a random real number of a uniform distribution. It will be less than 1 and greater than or equal to 0.

Using Excel for Statistical Analysis: Sampling

Sampling is one of the most readily preferred Excel tools if you are using Excel for statistical data analysis. This option is used for creating samples from a huge population. You can randomly select data from the dataset or select every nth item from the set.

For example, if you may want to measure the effectiveness of female call center employee in a call center, you can use this tool to randomly select few data every month and listen to their recorded calls and give a rating based on the selected call.

Sampling_data

Sampling Methods:

If you are using statistical analysis using Excel 2010, you can make use of two sampling methods in Excel for retrieving or identifying items in your data set:

  • Periodic: In this case, you specify the Period n at which you want sampling to take place. The nth value in the input range and every nth value thereafter is copied to the output column. Sampling stops when the end of the input range is reached.
  • Random: In this case, you specify the Random Number of Samples. This number of values is drawn from random positions in the input range. A value can be selected more than once. (I.e. sampling is with replacement).

The data science field is booming to such an extent that our earlier analysis of employment reported that there are currently more than 97,000 job openings in India for analytics and information science. Thus, building a career in Data Science is quite in trend these days as the Data Science domain offers lucrative career options.

Excel is one of the most dynamic and intriguing tools for statistical analysis. We have discussed a few features. Play around with Excel to know more about other tools and techniques. You may also look for essential statistics for data analysis using Excel answers.

We offer one of the best-known courses in the Certified Data Analytics Course. The course enables you to learn tools such as Advanced Excel, PowerBI, and SQL.  The live projects and intensive training program also empower you to come up with solutions for real-life problems.

In the modern data-driven business world, we have sophisticated software dedicatedly to working towards “Statistical Analysis.” Amidst all these modern, technologically advanced excel software is not a bad tool to do your statistical analysis of the data. Of course, we can do all statistical analysis using Excel, but you should be an advanced Excel user. This article will show you some basic to intermediate-level statistics calculations using Excel.

Table of contents
  • Excel Statistics
    • How to use Excel Statistical Functions?
      • #1: Find Average Sale per Month
      • #2: Find Cumulative Total
      • #3: Find Percentage Share
      • #4: ANOVA Test
    • Things to Remember
    • Recommended Articles

How to use Excel Statistical Functions?

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

#1: Find Average Sale per Month

The average rate or trend is what the decision-makers look at when they want to make crucial and quick decisions. So finding the average sales, cost, and profit per month is a common task everybody does.

For example, look at the below data of monthly sales value, cost value, and profit value columns in Excel.

excel statistical functions Example 1.0

So, by finding the average per month from the whole year, we can see what per month numbers are.

Using the AVERAGE functionThe AVERAGE function in Excel gives the arithmetic mean of the supplied set of numeric values. This formula is categorized as a Statistical Function. The average formula is =AVERAGE(read more, we can find the average values from 12 months, which boils down to per month on an average.

  • Open the AVERAGE function in the B14 cell.

Example 1.1

  • Select the values from B2 to B13.

excel statistical functions Example 1.2

  • The average value for sales is:

Example 1.3

  • Copy and paste cell B14 to the other two cells to get the average cost and profit. The average value for the cost is:

excel statistical functions Example 1.4

  • The average value for the profit is:

Example 1.5

So, on average, per month, the sale value is $25,563, the cost value is $24,550, and the profit value is $1,013.

#2: Find Cumulative Total

Finding the cumulative total is another set of calculations in excel statistics. Cumulative is nothing but adding all the previous month’s numbers together to find the current total for the period.

The steps to find the cumulative total are as follows:

  1. First, look at the below 6 months sales numbers.

    Statistics in Excel Example 2.0

  2. Open the SUM function in the C2 cell.

    Statistics in Excel Example 2.1

  3. Select the cell B2 cell and make the range reference.

    Statistics in Excel Example 2.2
    From the range of cells, make the first part of the cell reference B2 an absolute reference by pressing the F4 key.

  4. Close the bracket and press the “Enter” key.

    Statistics in Excel Example 2.3

  5. Drag and drop the formula below one cell.

    Statistics in Excel Example 2.4

  6. Now, we have the first two months’ cumulative total. At the end of the first two months, revenue was $53,835. Drag and drop the formula to other remaining cells.

    Statistics in Excel Example 2.5
    From this cumulative, we can find in which month there was a less revenue increase.

Out of twelve months, you may have got $1,000,000 in revenue. But, still, maybe in one month, you must have achieved the majority of the revenue, and finding the month’s percentage share helps us find the particular month’s percentage share.

For example, look at the below data of the monthly revenue.

excel statistical functions Example 3

To find the percentage share first, we need to see what the overall 12 months total is, so by applying the SUM function in excelThe SUM function in excel adds the numerical values in a range of cells. Being categorized under the Math and Trigonometry function, it is entered by typing “=SUM” followed by the values to be summed. The values supplied to the function can be numbers, cell references or ranges.read more, find the overall sales value.

 Example 3.1

We can use the formula to find the percentage share of each month.

% Share = Current Month Revenue / Overall Revenue

To apply the formula as B2 / B14.

excel statistical functions Example 3.2

The percentage share for Jan month is:

 Example 3.3

Note: Make the overall sales total cell (B14 cell) an absolute referenceAbsolute reference in excel is a type of cell reference in which the cells being referred to do not change, as they did in relative reference. By pressing f4, we can create a formula for absolute referencing.read more because this cell will be a common divisor value across 12 months.

Copy and paste the C2 cell to the below cells as well.

Statistics in Excel Example 3.5

Apply the “Percentage” format to convert the value to percentage values.

 Example 3.7

So, from the above percentage share, we can identify that the “Jun” month has the highest contribution to overall sales value, i.e., 11.33%, and the “May” month has the lowest contribution to overall sales value, i.e., 5.35%.

Statistics in Excel Example 3.8.0

#4: ANOVA Test

Analysis of Variance (ANOVA) is the statistical tool in excel used to find the best available alternative from the lot. For example, if you are introducing four new kinds of food to the market. You gave a sample of each food to get the public’s opinion and from the opinion score given by the public by running the ANOVA test. We can choose the best from the lot.

ANOVA is a data analysis tool available in Excel under the “DATA” tab. By default, it is not available. You need to enable it.

Statistics in Excel Example 4.0

Below are the scores of three students from 6 different subjects.

Example 4.1

Click on the “Data Analysis” option under the “Data” tab. It will open up below the “Data Analysis” tab.

excel statistical functions Example 4.2

Scroll up and choose “Anova: Single Factor.”

 Example 4.3

Choose “Input Range” as B1 to D7 and tick “Labels in first row.”

Statistics in Excel Example 4.4.0

Select the “Output Range” as any of the cells in the same worksheet.

 Example 4.5.0

We will have an “ANOVA” analysis ready.

excel statistical functions Example 4.6.0

Things to Remember

  • All the basic and intermediate statistical analyses are possible in Excel.
  • We have formulas under the category of “Statistical” formulas.
  • If you are from a statistics background, it is easy to do fancy and important statistical analyses in Excel like T-TEST, Z-TEST, Descriptive StatisticsDescriptive statistics is used to summarize information available in statistics, and there is a descriptive statistics function in Excel as well. This built-in tool is found in the data tab, in the data analysis section.read more,” etc.

Recommended Articles

This article is a guide to statistics in excel. Here, we discuss using Excel statistical functions, practical examples, and a downloadable Excel template. You may learn more about Excel from the following articles: –

  • Group Data in Excel
  • Excel Convert Function
  • Median FormulaThe median formula in statistics is used to determine the middle number in a data set that is arranged in ascending order. Median ={(n+1)/2}thread more
  • Formula of Arithmetic Mean

Descriptive statistics with excel is a popular way to describe your data. It makes the tons of formula became easier just by simple click and drop.

Years ago, I do the formula one by one and find the statistic value that I need. It is really uncomfortable, is not it?

You have to remember the correct formula of your data and choose the right formula because perhaps there is more than one similar formula for one statistic value.

Look at he picture I present below. This is what you will using descriptive statistics with excel by typing the formula one by one

typing-descriptive-statistics-formula-in-excel

There are 7 formulas that excel provide to you to generate the variance of your data. My question is, which one will you use?

Still, writing one by one formula to summarize the statistic value that you need? Well, keep reading!

Microsoft Excel is a phenomenal software developed by Microsoft helping Billions of human to solve their problems. Excel helps us to makes almost our calculation problem easier included statistics.

Contents

  • Why using descriptive statistics in excel?
  • Steps of Descriptive Statistics With Excel
  • Interpretation of Descriptive Statistics Output in Excel
  • The Disadvantage of Using Excel For Descriptive Statistics
    • You have to read this!

Why using descriptive statistics in excel?

If you are wondering why you should Microsoft Excel to process your statistical data, let me tell you these interesting facts!

1. The user interface is so friendly

Yes, Microsoft Excel interface is so friendly so almost every user could use it without any meaningful problem. You may use it through simple steps and clicks to produce the output that you want.

2. No coding needed

Usually, almost all statistical software needs to code the form. But, Excel does not require you to code anything. You just need to know the simple formula or use the toolbar that will help you to finish the job.

3. Easy to interpret

The output is served simply so we may see it and understand what the output is. If you did not strong statistical basics, do not worry. It’s just basic formula which you may learn in your study.

Before using Microsoft Excel to process your data, you must activate the data analysis toolpak to makes your job easier.

Follow these simple steps!

1. Activate the data analysis toolpak, go to file >> options

activate-the-toolpak-add-ins

2. Choose add ins >> analysis toolpak

activate-the-toolpak-add-ins

3. Ok

Now, you will have the tools that you need to make your works easier and faster. By using this toolpak, you do not have to input every single formula that you need. Now, let’s calculate the descriptive statistics in excel

Already have your data set? Let’s do the analysis. Here is the steps!

1. Go to Data >> data analysis

choose-data-analysis-menu

2. You’ll see many statistical options there, choose descriptive statistics >> ok

choose-descriptive-statistics-options

3. In the popup window, you have several fields that you have to fill

descriptive-statististics-analysis-with-excel

  • Input range: block the data you want to analyze
  • Grouped by: whether the data is grouped in columns or rows
  • Labels in the first row: if the blocked data has labels in the first row, check this
  • Output options: where the output will be displayed
  • Summary statistics: if you want to do descriptive statistics analysis
  • The confidence level for mean: if you want to show confidence level for mean
  • Kth largest: if you want to show the data in “k”th largest
  • Kth smallest: if you want to show the data in “k”th smallest

4. Click Ok

5. See the magic happens!

output-of-descriptive-statistics-analysis-in-excel

Interpretation of Descriptive Statistics Output in Excel

1. Mean = 7,434. In average, there are 7,434 poor people in these 12 areas

2. Standard error = 468.412. This value indicates that the sample we chose has a fairly high distribution of the population mean.

3. Median = 7,575. This value indicates that the middle numbers of poor people based on the sample we use are 7,575 people.

4. Mode = 8000. This value shows that the most number of poor people based on the sample we have is 8000 people.

5. Standard deviation = 1622. This value indicates that the sample values ​​that we use are spread far enough from the mean value.

6. Kurtosis = -0.68485. Because the value of kurtosis is smaller than 3, we can conclude that the sample used is platicurtic distribution (tends to be flat).

7. Skewness = -0.12018. Because the skewness value is smaller than zero, we can conclude that the data tends to be left inclined or left skewed.

8. Range = 5100. This value indicates that the difference between the regions with the highest number of poor people and the lowest number of poor people is 5100 people.

9. Minimum = 4900. This value shows the lowest number of poor people is 4900 people in the L area.

10. Maximum = 10,000. This value shows that the highest number of poor people is 10,000 people in J area.

11. Sum = 89,210. This value indicates that the total number of poor people based on the data used was 89,210 people.

12. Count = 12. This value indicates the amount of data used is 12.

13. Confidence level = 1030,968. It’s quite difficult to understand, right? Okay, keep reading.

Confidence interval means we will predict a value in the form of a range. In this case, we need upper values ​​and lower values.

In the descriptive statistics feature in Microsoft Excel, they only provide one value, and this figure is very far from the mean.

The confidence level value that appears is a value that can be used to get the upper and lower limits of the confidence interval you are using.

If you want to get the upper limit, you simply add an average to the value of the confidence level. The following calculations. Check the picture below!

upper-confidence-interval-value-of-descriptive-statistics-with-excel

If you want to get a lower bound value, you can simply reduce the average value with that confidence level. Consider the following picture.

bottom-confidence-interval-value-of-descriptive-statistics-with-excel

Now, let’s make the interpretation of this value!

With a confidence level of 95 percent, the average number of poor people in the 12 regions is 6,403 to 8,465 people.

The Disadvantage of Using Excel For Descriptive Statistics

1. The formula is limited

Although the formula is super easy just by drag and click, the numbers of excel formula in the statistical process are limited.

Excel provided not much formula so the user can use to do data processing. But, Excel is the best tool to study statistical computing if you want to be advanced in the future.

2. It is only for numerical data

It’s sad but if you are using categorical or non-numeric data, probably excel is not for your research. Excel only read the data in numeric format. Even you transform it into numerical form, it’s quite difficult to read the output.

3. It is only for single variable analysis

Conclusion

Overall, the steps of using descriptive statistics in excel are:

1. Prepare the data set.

2. Activate analysis toolpak add-ins add options menu.

3. Choose the descriptive statistics at the data analysis menu.

4. Check the statistic value that you want to generate.

5. Click Ok.

6. Do not forget to make the output interpretation.

If you want to do more advanced analysis by software, I recommend you to check the descriptive statistics on spss article. You will find an easier way to produce the descriptive statistics even for the numerical or categorical data set.

Statistics in Excel

Excel Statistics (Table of Contents)

  • Introduction to Statistics in Excel
  • Examples of Statistics in Excel

Introduction to Statistics in Excel

In this modern era where business solutions in a layman language are all people are thinking of, different dedicated software is developed and used for Statistical Analysis. It is a major part of the decision-making and finding out adequate solutions for your business problems. Despite the fact that it is not as powerful as the software designed dedicatedly for the Statistical Analysis, Excel still holds some of the power games to be able to do most of the Statistical Analytical tasks on its own and that too in a pretty simple manner. You need to be an advanced user of Excel, though, in order to be able to work on Statistical Analysis through Excel.

Examples of Statistics in Excel

We will see some examples using which we can calculate the statistics under Excel.

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

Example #1 – Find Average

Suppose we have Country-wise Sales and Margin data as shown below:

Statistics in Excel 1-1

We wanted to capture the average sales value for our company throughout these countries. The standard formula for Average is as below:

Average/Mean = Sum of All Values/ Number of Values

However, in Excel, you have a built-in AVERAGE function that does this task for you.

Step 1: In cell B9, start typing the formula =AVERAGE()

average in excel 1-2

Step 2: Use B2:B7 (all sales values) as a reference under the AVERAGE function.

average in excel 1-3

Step 3: Close the parentheses to complete the formula and press Enter key to see the output as shown below:

average Sales

Step 4: Copy cell B9 and paste (Ctrl + V) it under cell C9 to get the average value for Margin. Well, this is one of the nicest Excel features of all time. You can copy the formulas and paste them to different cells so that you get the formulated results for the other column.

average Sales 1

Example #2 – Margin Percentage for Each Country

Suppose we wanted to capture the Margin % we have acquired through business with each country. Does percentage show it all in a nice way, you know? Let’s see how this can be done.

The general formula for calculating Margin% is as follows:

Margin% = Margin/Sales

Step 1: In column D, under cell D2, use the formula as C2/B2 (Since C2 has Margin and B2 has Sales value for UAE).

Statistics in Excel 2-1

Step 2: Press Enter key to see the Margin% value we have acquired for UAE through our trade.

Statistics in Excel 2-2

Step 3: Now, Drag down this formula across the rows to see the Margin% we have acquired for different countries through trade. You can use the keyboard shortcut Ctrl + D to achieve the result. Select all the necessary sales, including D2 and press Ctrl + D.

Statistics in Excel 2-3

We need to change the number formatting for column D to be seen in a percentage format.  Follow the step below to achieve the result.

Step 4: Select entire column D. Go to Home tab, under which navigate towards Number group.

Statistics in Excel 2-4

You can see the result as below:

Statistics in Excel 2-5

Example #3 – Find Standard Deviation

We can also be very interested in knowing the degree to which the data points are deviating from our data. We can find out the Standard Deviation, which gives us a good idea about the spread of the data. It is very easy to calculate Standard Deviation under Excel. We have two functions to achieve the result.

STDEV.P and STDEV.S. STDEV.P works well when you have an entire population to cover, and STDEV.S is the one that can be used to figure out the Standard Deviation for a sample. Follow the steps below to be able to find the standard deviation.

Step 1: Start typing the formula under cell D10 as =STDEV.S( to initiate the formula for sample standard deviation.

Standard deviation 3-1

Step 2: Now, use the range of cells you wanted to capture the standard deviation. I will use the sales values spread across B2:B7 as a reference to the STDEV.S function. It will give me a single value, which represents the standard deviation between the Sales Values.

Standard deviation 3-2

Step 3: Use closing parentheses to complete the formula and press Enter key. You’ll get a Standard Deviation value as shown in the screenshot below:

Standard deviation 3-3

Example #4 – Regression Analysis

Regression Analysis is a widely used statistical technique to determine a relationship between two or more variables and predict the future (forecasting) based on the model fitted. It assumes that there is some kind of relationship (termed as correlation) between two variables.

Suppose we have data of Height (in cm) and Weight (in kg) as shown below, and we are keen to know whether there is any relationship between both. If so, can we predict one based on the other?

regression analysis 4-1

This is a problem with Regression. Follow the steps below to run a regression analysis for the same.

Step 1: Navigate towards the Data tab and click on the Data Analysis button under the Analyze section.

data analysis

Step 2: Once you click there, the Data Analysis toolbox will pop up. Scroll down to navigate towards and select Regression. Click OK.

regression analysis 4-2

Step 3: Use B2:B11 as Input Y Range and A2:A11 as Input X Range under the Regression window that pops up.

regression analysis 4-3

Step 4: Tick the Labels option, select Output Range as E2 of the current worksheet, and tick on Residuals to show the residuals for the data.

regression analysis 4-4

Step 5: Click the OK button once you are satisfied with the output options you chose. It is customizable; feel free to add some more residuals if you want.

regression analysis 4-5

You can see a regression output as shown in the image below under the same worksheet where data is present.

summary output

This is how we can use the statistical techniques in Excel to extract more analytical insights through our data. This article ends here.

Things to Remember

  • There are more Statistical functions than the ones we have used in this article. Most of the formulae could be found under More Functions > Statistical functions encapsulated under Formulas sections.
  • All basic Descriptive Statistics can also be calculated at once using Data Analysis Descriptive Statistics tool. This will capture Mean, Mode, Median, Range, Quartiles, Quartile Deviations, etc., for you at a single click.
  • Working with advanced statistical techniques such as Regression, ANOVA, T-Test, F-Test, etc., is really very easy within Excel. I mean, come on! All you need to do is select an appropriate technique and do some clicking.’

Recommended Articles

This has been a guide to Statistics in Excel. Here we discuss How to use Statistics in Excel along with practical examples and a downloadable excel template. You can also go through our other suggested articles –

  1. Linear Interpolation in Excel
  2. Excel Regression Analysis
  3. Regression Line Formula
  4. Excel GROWTH Formula

In this tutorial, I will show you how to use the Data Analysis ToolPak to return some descriptive statistics about your data in Microsoft Excel. This includes the mean, standard error, median, mode and so much more.

How to install the Data Analysis ToolPak

A useful feature in Excel that many people do not know about is the Data Analysis ToolPak.

The Data Analysis ToolPak is an add-on created by Microsoft to make it easier to perform different data analysis procedures.

To ensure you have the Data Analysis ToolPak activated correctly, go to File>Options.

Then select Add-ins.

At the bottom, where it says Manage, ensure you select Excel Add-ins and click Go.

Ensure you have the Analysis ToolPak option ticked, and click the OK button.

Data Analysis ToolPak add-in in Excel

Now, when you select the Data tab at the top, you should see a Data Analysis button appears.

Now we’re ready to perform the descriptive statistics.

To perform descriptive statistics in Excel, go to Data>Data Analysis.

Then, from the list, select Descriptive Statistics.

This should open a new window.

Data Analysis ToolPak window in Excel

For the input range, this is where you enter the range of cells containing your data.

Next, need to tell Excel how your data are entered in your sheet.

If you have the values stacked in a column, then these will be grouped by columns. If they were entered into rows instead, then select the rows option.

If you also have labels at the top of your data in the first row, then ensure you select Labels in First Row.

For the output options, this is where you specify where you want the descriptive statistics to be returned

There are three options:

  • Output Range – Enter a specific cell in this same worksheet where you want the results to be entered
  • New Worksheet Ply – Enter the results in a new worksheet
  • New Workbook – Enter the descriptive statistics in an entirely new Excel file

Underneath, you can tick the various descriptive statistic options that you want to perform. At a minimum, you will want to select the Summary Statistics. The Confidence Level for Mean, Kth Largest and Kth Smallest options are optional, and I will explain more about these later.

So that’s the setup done, now press the OK button to perform the descriptive statistics.

How to interpret the descriptive statistics results

Below are some descriptive statistics I have based on some example data. I’ll now go over and explain each output.

Descriptive Statistics results example in Excel

Mean

The first result is the mean, or average, value.

This is where you add all the values up in your sample and divide by the number of values in the sample.

To calculate the mean value youself, you can use the AVERAGE function.

=AVERAGE(data)

Standard error

The standard error is a measure of the variability of sample means in a sampling distribution of means.

The higher the standard error, the higher the variability.

You can calculate the standard error yourself by taking the standard deviation and dividing it by the square root of the count.

=STDEV.S(data)/SQRT(COUNT(data))

Median

Say we sorted our data in ascending order from smallest to largest. The median will be the number that lies in the middle of the values, in my case, the answer is 50.3.

You can calculate the median separately by using the MEDIAN function.

=MEDIAN(data)

Mode

The mode represents the value that appears the most in the sample

The mode for my example is 49.8 since this value appears twice.

If you want to calculate this yourself, you can use the MODE.SNGL function.

=MODE.SNGL(data)

Standard deviation

The standard deviation is a measure of the amount of variation in the data relative to the mean, where the higher the standard deviation, the higher the variability.

If you would like to calculate the standard deviation of a sample separately from the descriptive statistics, then use the STDEV.S function.

=STDEV.S(data)

Variance

The variance is simply the square of the standard deviation.

The Excel function for the variance of a sample is VAR.S.

=VAR.S(data)

Kurtosis

Kurtosis is a measure that defines how heavily the tails of a distribution differ from the tails of a normal distribution.

In Excel, a normal distribution has a kurtosis value of 0, positive values indicate a relatively peaked distribution and negative values indicate a relatively flat distribution.

You can use the KURT function to calculate the kurtosis separately.

=KURT(data)

Skewness

Skewness is a measure of asymmetry of the data distribution.

A value of 0 indicates a perfectly symmetrical distribution.

If the value is between -1 and 1, but isn’t 0, then the data are considered fairly skewed. If the value is outside this range, then the data are highly skewed.

The function for skewness is SKEW.

=SKEW(data)

Range

The range is simply the difference between the smallest and largest values in the data.

Minimum

The minimum is the smallest number in the data.

You can use the MIN function to work this out yourself.

=MIN(data)

Maximum

As the name suggests, the maximum is the largest number in the data.

To calculate this separately, use the MAX function.

=MAX(data)

SUM

The sum is the total calculated when you add up all the values in the data.

Use the SUM function to do this yourself.

=SUM(data)

Count

The count is the total number of values you have in your data.

Use the COUNT function to calculate the count separately.

=COUNT(data)

Kth largest

During the descriptive statistics setup, if you selected the Kth Largest option, then you’ll also have this result too.

Say you have 1 in the box next to the Kth Largest option, this would mean the first largest value in the data will be returned – in other words, the maximum.

If a 2 was used instead, then the second largest value will be returned, and so on and so forth.

Kth smallest

Similar to the above, if you selected the Kth Smallest option during the setup, then you’ll also have this result returned.

Having 1 entered during the setup will mean the first smallest value will be determined – the minimum value.

Again, changing this input to a 2 would mean the second smallest value is returned instead.

Confidence level

The last entry in the descriptive statistics table is the confidence interval value.

This is the value you can add and subtract from the mean to calculate the upper and lower confidence intervals, respectively. Specifically, these will be the 95% confidence intervals, since 95 was entered during the setup.

If you want to learn more about calculating confidence intervals in Microsoft Excel, then check out this post.

How to perform descriptive statistics in Excel: Final words

You should now know how to calculate some descriptive statistics in Excel.

Using the Data Analysis ToolPak makes this process so much easier and quicker than using separate functions.

Microsoft Excel version used: 365 ProPlus

Понравилась статья? Поделить с друзьями:
  • Use of let word in english
  • Use of initials as a word
  • Use of indeed word
  • Use of if in excel sheet
  • Use of if function in excel with example