How to Add Data Analysis In Excel: The Best Guide [2024 Edition] (2024)

Microsoft Excel is one of the most popular applications for data analysis. Equipped with built-in pivot tables, they are without a doubt the most sought-after analytic tool available. It is an all-in-one data management software that allows you to easily import, explore, clean, analyze, and visualize your data. In this article, we will discuss the various methods of data analysis in Excel.

Become a Data Scientist with Hands-on Training!

Data Scientist Master’s ProgramExplore Program

How to Add Data Analysis In Excel: The Best Guide [2024 Edition] (1)

How to Utilize Data Analysis in Excel

Charts

Another excellent technique to present a narrative with graphics is charts. They summarise data so that data sets are easier to grasp and analyze. Excel is well-known for its ability to organize and compute numbers. A chart is a graphical depiction of any set of facts. A chart is a visual depiction of data that uses symbols such as bars in a Bar Chart or lines in a Line Chart to represent the data. Excel offers a variety of chart kinds from which to pick, or you may utilize the Excel Recommended Charts option to examine charts tailored to your data and select one of those.

Excel charts are great for assisting with data analysis by directing emphasis to one or a few components of a report. We can use Excel charts to filter out the unnecessary "noise" from the story we're attempting to convey at the time and instead focus on the most important bits of data. By navigating to the Insert tab and selecting the Charts command group, you can quickly create pie, line, column, or bar charts. The process for creating these fundamental charts

Step 1: Choose a data range.

Step 2: Select Insert > (choose desired chart type from icons).

Step 3: As needed, modify the inserted chart.

Conditional Formatting

Conditional formatting can assist in highlighting patterns and trends in your data. Create rules that define the format of cells based on their values to utilize it. Conditional formatting may be applied to a range of cells (either a selection or a named range), an Excel table, and even a PivotTable report in Excel for Windows. Follow the steps mentioned below to perform conditional formatting.

Step 1: Click Conditional Formatting on the Home tab. Perform one of the following:

  1. If you wish to change the values in individual cells, do so. Select Highlight Cells Rules or Top/Bottom Rules, and then choose the option that corresponds to your needs. If you wish to highlight dates after this week, numbers between 50 and 100, or the lowest 10% of scores, select Highlight Cells Rules.
  2. A color scale that indicates the intensity of the cell's color corresponds to the value's placement at the top or bottom of the range emphasizes the relationship between values in a cell range. Sales distributions between regions are one example. Point to Color Scales and then click the desired scale.
  3. To emphasize the relationship of values in a cell range, point to Data Bars and then click the desired fill. This creates a colored band across the cell. Price or population comparisons in the major cities are two examples.
  4. To highlight a cell range containing three to five sets of values, each with its own threshold, point to Icon Sets and then click a set. For example, you might use a set of three icons to emphasize cells with sales of less than $80,000, $60,000, and $40,000. Alternatively, you may assign a 5-point rating system to autos and use a set of five icons.

Methods for Data Analysis in Excel

Concatenate

=CONCATENATE is one of the simplest yet most powerful formulae for data analysis. Text, numbers, dates, and other data from numerous cells can be combined into one. This is a fantastic method for generating API endpoints, product SKUs, and Java queries.

Formula:

=CONCATENATE(SELECT CELLS YOU Would Like to Merge)

Len

=LEN returns the number of characters in a given cell rapidly. As seen in the above example, the =LEN formula may be used to determine the number of characters in a cell to distinguish two types of product Stock Keeping Units (SKUs). LEN is notably important when attempting to distinguish between distinct Unique Identifiers (UIDs), which are sometimes long and not in the correct sequence.

Formula:

=LEN(SELECT CELL)

TRIM

Except for single spaces between words, this amazing function will eliminate all spaces from a cell. This function is most commonly used to eliminate trailing spaces. This is typical when material is copied from another source or when users enter spaces at the end of text.

=TRIM(piece of text)

COUNTA

=COUNTA determines whether or not a cell is empty. Every day as a data analyst, you will encounter incomplete data sets. COUNTA will allow you to examine any gaps in the dataset without having to restructure it.

Formula:

=COUNTA(SELECT CELL)

AVERAGEIFS

AVERAGEIFS, like SUMIFS, allows you to take an average based on one or more parameters.

Formula:

=AVERAGEIF(SELECT CELL, CRITERIA, AVERAGE RANGE)

FIND/SEARCH

=FIND/=SEARCH are effective methods for locating particular text inside a data source. Both are mentioned here because =FIND returns a case-sensitive match, i.e. if you query for "Big," you will only get Big=true results. A =SEARCH for "Big" will, however, match with Big or big, broadening the query. This is very helpful when looking for abnormalities or unique identifiers.

Formula:

=FIND(TEXT,WITHIN TEXT,[START NUMBER]) Alternatively, =SEARCH(TEXT,WITHIN TEXT,[START NUMBER])

Become a Data Scientist with Hands-on Training!

Data Scientist Master’s ProgramExplore Program

How to Add Data Analysis In Excel: The Best Guide [2024 Edition] (2)

Types of Data Analysis With Microsoft Excel

Sorting

When sorting data in a spreadsheet, you may rearrange the data to rapidly discover values. Sorting a range or table of data on one or more columns of data is possible. You can, for example, rank personnel first by department and then by the last name.

Filter

You may use the FILTER function to filter a set of data depending on the criteria you provide. Please keep in mind that this feature is presently only available to Microsoft 365 users.

Conditional Formatting

Conditional formatting in Excel allows you to highlight cells with a certain color based on the value of the cell.

Charts

A simple Excel graphic may convey more information than a page of statistics. As you can see, making charts is pretty simple.

Dataset

A dataset is a collection of continuous cells on an Excel worksheet that contains data to be analyzed. To make Analyse-it function with your data, you must follow a few simple guidelines when structuring data on an Excel worksheet:

  1. The title should adequately describe the data. If you do not supply a title, the dataset is referred to by its cell range.
  2. A header row with configurable labels. Each variable should have a distinct name. Measurement units can be incorporated into the label by putting them in brackets after the name.
  3. Rows carrying information for each instance. Excel is the sole thing that limits the number of rows.
  4. Columns that carry data for each variable.
  5. Optional: Labels in the first column serve as meaningful names/identifiers.

Sorting

Sorting data is a very critical and vital part of Data Analysis. You can sort your Excel data by multiple columns or even a single column. The sorting is done in ascending or descending order as well.

Single Column

Consider the following data:

How to Add Data Analysis In Excel: The Best Guide [2024 Edition] (3)

Let’s sort the data on the basis of Units. To do that, follow these steps:

  • The first step is to click on any cell in the column which you want to sort.
  • Next, to sort in ascending order, click on AZ which is found on the Data tab, in the Sort & Filter group.

How to Add Data Analysis In Excel: The Best Guide [2024 Edition] (4)

Result:

How to Add Data Analysis In Excel: The Best Guide [2024 Edition] (5)

Note: To sort in descending order, click ZA.

Multiple Columns

You can also sort on multiple columns in your worksheet. Execute the following steps.

  • Click on Sort which can be found on the Sort & Filter group, on the Data tab.

How to Add Data Analysis In Excel: The Best Guide [2024 Edition] (6)

The sort dialog box will appear.

  • Add the levels by which you want to sort.

How to Add Data Analysis In Excel: The Best Guide [2024 Edition] (7)

  • Click OK.

How to Add Data Analysis In Excel: The Best Guide [2024 Edition] (8)

Become a Data Scientist with Hands-on Training!

Data Scientist Master’s ProgramExplore Program

How to Add Data Analysis In Excel: The Best Guide [2024 Edition] (9)

Filtering

We use filtering when we want to get the data that will match the specific conditions.

  • Click on any single-cell inside your data.
  • Go to Data Tab > Sort and Filter > Filter
  • You will notice the arrowheads have appeared in the columns.

How to Add Data Analysis In Excel: The Best Guide [2024 Edition] (10)

You can now filter according to your needs.

How to Add Data Analysis In Excel: The Best Guide [2024 Edition] (11)

COUNTIF

COUNTIF is a very commonly used Excel function used for counting cells in a range that satisfy a single condition.

Syntax:

=COUNTIF (range, criteria)

Example:

Let’s get the count of items that are over 100.

How to Add Data Analysis In Excel: The Best Guide [2024 Edition] (12)

How to Add Data Analysis In Excel: The Best Guide [2024 Edition] (13)

Future-Proof Your AI/ML Career: Top Dos and Don'ts

Free Webinar | 5 Dec, Tuesday | 7 PM ISTRegister Now

How to Add Data Analysis In Excel: The Best Guide [2024 Edition] (14)

SUMIF

The Excel SUMIF function returns the sum of cells that meet a single condition.

Syntax:

=SUMIF (range, criteria, [sum_range])

Example:

Let’s use the SUMIF function to calculate the cells based on numbers that meet the criteria.

How to Add Data Analysis In Excel: The Best Guide [2024 Edition] (15)

Pivot Tables

Pivot tables are known for being the most purposeful and powerful feature in Excel. We use them in summarizing the data stored in a table. They organize and rearrange statistics (or "pivot") to bring crucial and valuable facts to attention. It helps take an extremely large data set and see the relevant data you need in a crisp, easy, and manageable way.

Sample Data

The sample data that we are going to use contains 41 records with 5 fields of information on the buyer information. This data is perfect to understand the pivot table.

How to Add Data Analysis In Excel: The Best Guide [2024 Edition] (16)

Become The Highest-Paid Business Analysis Expert

With Business Analyst Master's ProgramExplore Now

How to Add Data Analysis In Excel: The Best Guide [2024 Edition] (17)

Insert Pivot Tables

To insert a pivot table in your sheet, follow the steps mentioned below:

  • Click on any cell in a data set.
  • On the Insert tab, in the Tables group, click PivotTable.

How to Add Data Analysis In Excel: The Best Guide [2024 Edition] (18)

A dialog box will appear. Excel will auto-select your dataset. It will also create a new worksheet for your pivot table.

  • Click Ok. Then, it will create a pivot table worksheet.

How to Add Data Analysis In Excel: The Best Guide [2024 Edition] (19)

Drag Fields

To get the total items bought by each buyer, drag the following fields to the following areas.

  • Buyer field to Rows area.
  • Items field to Values area.

How to Add Data Analysis In Excel: The Best Guide [2024 Edition] (20)

What-If Analysis with Solver

What-If Analysis is the process of changing the values to try out different values (scenarios) for formulas. You can use several different sets of values in one or multiple formulas to explore all the different results.

Perfect for what-if analysis, a solver is a Microsoft Excel add-in program that is helpful on many levels. You can use this feature to find an optimal (maximum or minimum) value for a formula in one cell, which is known as the objective cell. This is subject to some constraints, or limits, on the values of other formula cells on a worksheet.

Solver works with a group of cells, called decision variables or simply variable cells, used in computing the formulas in the objective and constraint cells. Solver also adjusts the decision variable cells' values to work on the limits on constraint cells. This thereby helps in producing the desired result for the objective cell.

Activating Solver Add-in

  • On the File tab, click Options.
  • Go to Add-ins, select Solver Add-in, and click on the Go button.

How to Add Data Analysis In Excel: The Best Guide [2024 Edition] (21)

  • Check Solver Add-in and click OK.

How to Add Data Analysis In Excel: The Best Guide [2024 Edition] (22)

Become a Data Scientist with Hands-on Training!

Data Scientist Master’s ProgramExplore Program

How to Add Data Analysis In Excel: The Best Guide [2024 Edition] (23)

  • In the Data tab, in the Analyze group, you can see the Solver option is added.

How to Add Data Analysis In Excel: The Best Guide [2024 Edition] (24)

How to Use Solver in Excel

In this example, we will try to find the solution for a simple optimization problem.

Problem: Suppose you are the owner of a business and you want your income to be $3000.

Goal: Calculate the units to be sold and price per unit to achieve the target.

For example, we have created the following model:

How to Add Data Analysis In Excel: The Best Guide [2024 Edition] (25)

  • On the Data tab, in the Analysis group, click the Solver button.
  • In the set objective, select the income cell and set it’s value to $3000.
  • To Change the variable cell, select the C3, C4, and C8 cells.

How to Add Data Analysis In Excel: The Best Guide [2024 Edition] (26)

  • Click Solve.

Your data model will change according to the conditions.

How to Add Data Analysis In Excel: The Best Guide [2024 Edition] (27)

  • Click the File tab, click Options, and then click the Add-Ins category.
  • Select Analysis ToolPak and click on the Go button.
  • Check Analysis ToolPak and click on OK.

How to Add Data Analysis In Excel: The Best Guide [2024 Edition] (28)

  • On the Data tab, in the Analysis group, you can now click on Data Analysis.

How to Add Data Analysis In Excel: The Best Guide [2024 Edition] (29)

Descriptive Statistics

Descriptive statistics are one of the fundamental ‘must know’ information of any data set. It gives you an idea on:

  • The mean, median, mode, and range.
  • Variance and standard deviation.

Suppose we have a score of a batsman of his last 10 matches. To generate the descriptive analysis, follow the steps mentioned below.

  • Go to the Data tab > Analysis group > Data analysis.
  • Select Descriptive Statistics and click OK.

How to Add Data Analysis In Excel: The Best Guide [2024 Edition] (30)

  • Select the range of your input.
  • Select the range from where you want to display the output.
  • Check the summary statistics.

Your descriptive statistics is ready.

How to Add Data Analysis In Excel: The Best Guide [2024 Edition] (31)

ANOVA

ANOVA ( Analysis of variance ) in Excel is a statistical method that is used to test the difference between two or more means.

Below you can find the scores of three batsmen for their last 8 matches.

How to Add Data Analysis In Excel: The Best Guide [2024 Edition] (32)

To implement the single factor ANOVA, follow the steps.

  • Go to the Data tab > Analysis group > Data analysis.
  • Select Anova: Single Factor and click OK.

How to Add Data Analysis In Excel: The Best Guide [2024 Edition] (33)

  • Select the input and output range and click OK.

How to Add Data Analysis In Excel: The Best Guide [2024 Edition] (34)

Your single factor ANOVA is ready.

How to Add Data Analysis In Excel: The Best Guide [2024 Edition] (35)

Regression

In Excel, we use regression analysis to estimate the relationships between two or more variables.

Consider the following data where we have several COVID cases and masks sold in a particular month.

How to Add Data Analysis In Excel: The Best Guide [2024 Edition] (36)

  • Go to the Data tab > Analysis group > Data analysis.
  • Select Regression and click OK.

The following argument window will open.

How to Add Data Analysis In Excel: The Best Guide [2024 Edition] (37)

Select the Input Y Range as the number of masks sold and Input X Range as COVID cases. Check the residuals and click OK.

You will get the Summary Output.

How to Add Data Analysis In Excel: The Best Guide [2024 Edition] (38)

The Multiple R is the Correlation Coefficient that measures the strength of a linear relationship between two variables.

R Square signifies the Coefficient of Determination, which is used as an indicator of the goodness of fit. With the help of R Square, you can track how many points fall on the regression line.

Standard Error is another goodness-of-fit measure that shows the precision of your regression analysis.

Become a Data Scientist with Hands-on Training!

Data Scientist Master’s ProgramExplore Program

How to Add Data Analysis In Excel: The Best Guide [2024 Edition] (39)

Conclusion

With this, we come to the end of this article on data analysis in Excel. We have seen and worked out some examples of some of the powerful methods and features of Excel data analysis.

Boost your analytics career with powerful new Microsoft Excel skills by taking the Business Analytics with Excel course, which includes Power BI training

This Data Analytics Bootcamp course teaches you the basic concepts of data analysis and statistics to help data-driven decision making. This training introduces you to Power BI and delves into the statistical concepts that will help you devise insights from available data to present your findings using executive-level dashboards.

Do you have any questions for us? Feel free to ask them in this article’s comments section, and our experts will promptly answer them for you!

How to Add Data Analysis In Excel: The Best Guide [2024 Edition] (2024)

FAQs

How to Add Data Analysis In Excel: The Best Guide [2024 Edition]? ›

In the Excel Options dialog box, select Add-Ins from the left-hand menu. In the Manage box at the bottom of the window, select Excel Add-ins and click Go. In the Add-Ins dialog box, check the Analysis ToolPak and Solver Add-in checkboxes, then click OK.

How do I add the data analysis in Excel? ›

Click the File tab, click Options, and then click the Add-Ins category. In the Manage box, select Excel Add-ins and then click Go. If you're using Excel for Mac, in the file menu go to Tools > Excel Add-ins. In the Add-Ins box, check the Analysis ToolPak check box, and then click OK.

Why is my analysis tab greyed out in Excel? ›

Ensure You Have Data Selected: The "Analyze Data" feature is often dependent on having a range of data selected. Make sure you have a cell within a table or range of data selected, and then try to click on the "Analyze Data" button.

Why is the quick analysis tool not showing up in Excel? ›

If the Quick Analysis button does not show up after selecting your data, use the Ctrl + Q shortcut to activate it. It's important to remember that this button only becomes active for a specific data selection and does not appear when highlighting blank cells, entire columns or rows.

How do I add data analysis solver in Excel? ›

Load the Solver Add-in in Excel
  1. Go to File > Options.
  2. Click Add-Ins, and then in the Manage box, select Excel Add-ins.
  3. Click Go.
  4. In the Add-Ins available box, select the Solver Add-in check box, and then click OK. ...
  5. After you load the Solver Add-in, the Solver command is available in the Analysis group on the Data tab.

Why won't the data analysis ToolPak work in Excel? ›

Ensure that the Data Analysis Toolpak add-in is installed. Go to the "File" tab, click on "Options," then select "Add-Ins" on the left-hand side. Look for "Analysis Toolpak" or "Analysis Toolpak - VBA" in the "Manage" dropdown list and make sure it's selected.

How to enable get data option in Excel? ›

Select one or more wizards to enable access from the Excel ribbon. Select Data > Get Data > Legacy Wizards, and then select the wizard you want.

Why is the data tab in Excel greyed out? ›

Possible Reason 1: Protected or Shared – Fix Data Validation Greyed Out. If you spreadsheet is “Protected” or being “Shared” with another file, the Data validation tool is turned off in Excel. This is to protect the linked data from producing an error.

How do I turn on quick analysis in Excel? ›

Select the Quick Analysis button that appears at the bottom right corner of the selected data. Or, press Ctrl + Q.

What version of Excel has the quick analysis tool? ›

With this tool, you can calculate totals, insert tables and even apply conditional formatting. You can only use the Quick Analysis tool with Excel 2013 or higher versions. If you use Excel 2010 or the lower version, you cannot use this tool.

Why is the analysis tab not showing in Excel? ›

These instructions apply to Excel 2010, Excel 2013 and Excel 2016. Click the File tab, click Options, and then click the Add-Ins category. In the Manage box, select Excel Add-ins and then click Go. In the Add-Ins available box, select the Analysis ToolPak check box, and then click OK.

How can I activate Data Analysis in Excel? ›

Go to the support documentation for up-to-date instructions.
  1. Open Excel and open a blank worksheet.
  2. Click on the Data tab of the worksheet (not the pulldown menus at the top of the screen).
  3. On the ribbon (Click View and check Ribbon if it is not visible), click on Data Analysis Toolpak option to enable it. Click OK.
Sep 21, 2023

Where to find Data Analysis in Excel? ›

Select a cell in a data range. Select Home > Analyze Data. The Analyze Data pane will appear and show different visual and analysis types, such as: Rank.

How do you add on statistical analysis in Excel? ›

13 best Excel add-ins for data analysis
  1. Analysis ToolPak. Analysis ToolPak analyses complex sets of statistics and data, including engineering data. ...
  2. PowerPivot. ...
  3. Solver. ...
  4. PowerApps Office. ...
  5. Power Query. ...
  6. Fuzzy Lookup. ...
  7. Kloudio. ...
  8. Quandl.

How do you add Data Analysis regression in Excel? ›

Click on the “Data” menu, and then choose the “Data Analysis” tab. You will now see a window listing the various statistical tests that Excel can perform. Scroll down to find the regression option and click “o*k”. Now input the cells containing your data.

How do I enable the data tab in Excel? ›

You can reach these options by selecting File > Options > Data. In earlier versions of Excel, the Data tab can be found by selecting File > Options > Advanced.

How do I add data in Excel? ›

One quick and easy way to add values in Excel is to use AutoSum. Just select an empty cell directly below a column of data. Then on the Formula tab, click AutoSum > Sum. Excel will automatically sense the range to be summed.

Top Articles
Latest Posts
Article information

Author: Jonah Leffler

Last Updated:

Views: 5586

Rating: 4.4 / 5 (65 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Jonah Leffler

Birthday: 1997-10-27

Address: 8987 Kieth Ports, Luettgenland, CT 54657-9808

Phone: +2611128251586

Job: Mining Supervisor

Hobby: Worldbuilding, Electronics, Amateur radio, Skiing, Cycling, Jogging, Taxidermy

Introduction: My name is Jonah Leffler, I am a determined, faithful, outstanding, inexpensive, cheerful, determined, smiling person who loves writing and wants to share my knowledge and understanding with you.