How to Learn Data Analytics with Excel

If it’s your goal to become a master data analyst, you should learn data analytics with Excel. Using Excel you can organize, evaluate, and visualize data.

Dynamic Date Example

by Mihir Kamdar / Last Updated:

excel data analytics course

What You'll Learn

In this ultimate guide on Excel for data analytics, you’ll learn to:

  • Import data in in Power Query
  • Use basic transformation functions in Power Query
  • Analyze large datasets in Power Pivot
  • Find DAX Calculations
  • Leverage Pivot Tables
  • Select the best charts for to visualize data
  • Visualize data with an interactive dashboard

Download File

Download our step-by-step tutorial file now by clicking on the icon  download icon 1  below and follow along to enhance your Excel skills practically and efficiently!

Introduction

Excel is an excellent resource for efficiently analyzing, manipulating, and visualizing large amounts of data.

In this guide detailing how to learn data analytics in Excel, we walk you through the process of data analysis from A to Z. In this free data analysis Excel course, we’ll cover cleaning and transforming data using Power Query, building relationships through data modeling, creating reports with Pivot tables, visualizing data, and finally creating a dashboard.

Whether you intend to master Excel data analysis through self-taught study or you’re brushing up on your existing skills, this comprehensive guide has everything you could need.

1. Power Query: A Powerhouse in the ETL Pipeline

Power Query is a powerful tool for extracting, transforming, and loading (ETL) data. When you’re learning data analysis in Excel, starting with an Excel Power Query course is crucial.

So, let’s dive into what you need to know about Power Query to leverage this dynamic tool.

1.1. Importing Data with Power Query

You can extract data from multiple sources using Power Query, including .txt, .csv, databases, and other Excel files. You’ll then be able to integrate this data into your workflow. Just follow the step-by-step example below to get started. 

1.1.1. Importing Your Data

Access the Import Tool: Open Excel and navigate to Data > Get Data > Select From File if you’re importing a TXT, CSV, or Excel file, or select ‘Database’ if you’re importing from an Access database. 

Select the File: Browse your system, select the file or database and click Import. A data preview will appear, showing the structure and allowing you to confirm it’s correct.

Load Options: Click onLoad To;, which will bring up different loading options. To keep the data connected without displaying it in the workbook, select Only Create Connection.

Confirm and Create Connection: Click OK to finalize the connection. This setup will dynamically update whenever the text file’s data changes, maintaining a live link in your query list.

Import data to Power Query 1
Import Data to Power Query 2
Import data to Power Query 3

1.2. Transforming Data with Power Query

1.2.1. Renaming Queries

Renaming queries in Power Query improves organization and readability, especially when working with multiple data sources. By assigning clear, descriptive names to each query, you can easily identify and manage them throughout your analysis.

  • Open the Queries Pane: Locate the Queries pane on the left side, which lists all active queries.
  • Rename Each Query: To rename, right-click on each query. Select Rename or use the Properties Window on the right side to change the name.
  • Confirm Renaming: After renaming, each query will display its new name in the Queries pane.
Renaming a Query in Power Query

1.2.2. Removing Duplicates in Power Query

Removing duplicate rows is essential for data accuracy, particularly when working with large datasets. In Power Query, this function can quickly identify and eliminate repeated entries to ensure each row in the dataset is unique.

  • Select the Query: In the Power Query editor, open the query where duplicate rows need to be removed.
  • Select All Rows: In the Preview Pane, click anywhere within the data and press Ctrl + A to highlight all rows.
  • Remove Duplicates: Right-click on any highlighted column and select “Remove Duplicates” from the context menu. Power Query will automatically identify and remove any duplicate entries.
Removing duplicates in Power Query

 

1.2.3. Replacing Null and Blank Values

To maintain data consistency, it’s essential to replace any blank or null value, especially when performing additional calculations. In Power Query, you can replace any null value with a specific number, such as “0,” in designated columns to avoid a false result. You can also replace an empty string with text values that act as a placeholder. For example “Not Available” would identify the missing value in cell.

  • Open the Query: In the Power Query editor, open the query.
  • Select Columns: Select the columns where any blank value is displayed as null.
  • Replace Null Values: Right-click on any of the selected columns and choose Replace Values. In the Value To Find box, type null, and in the Replace With box, enter 0. Press OK to apply. 
  • Replace Blank Values: Right-click on the selected columns where there is an empty string displayed as a blank space. In the ‘Value to Find’ Field enter a single space and in the ‘Replace with Field’ enter ‘Not Available’.
 

Follow our visual examples below.

Replacing null and blank values in Power Query
Replace Null Values 1
Replace Blank Values

1.2.4. Merging Columns

Merging columns in Power Query can create more concise data by combining related information into a single field. In our example, the Region and Country columns in the dim_Location query will be merged to form a unified Region-Country field.

  • Open the Query: In the Power Query editor, select the query.
  • Select Columns to Merge: Highlight the ‘Region and Country’ columns.
  • Merge Columns: Go to Add Column > Merge Columns. In the dialog box, select a separator, such as a hyphen (–), to separate the Region and Country values. Enter the new column name as Region-Country.
  • Apply Changes: Click OK to finalize. Power Query will combine the Region and Country data into the new Region-Country column.
Merge Columns in Power Query
Merging Columns in Power Query 2

To master basic transformations in Power Query, you should also know how to change text case to ensure you can find data that is case sensitive, trim and clean data, split columns, and extract data. You can learn more about the basic transformation functions within Power Query in our free Power Query course “Power Query: A Comprehensive Guided to ETL in Excel.

Excel: Free Masterclass​
Supercharge Your Skills For Free

2. Power Pivot: Analyzing Large Datasets

Power Pivot is a powerful tool in Excel for data modeling and analysis. It enables users to import data from various sources, transform it, and create relationships between tables. With Power Pivot, you can create calculated columns and custom measures using DAX (Data Analysis Expressions), enhancing data analysis beyond standard Excel functions and features. You can display the results in a PivotTable or visualize it in a PivotChart.

To begin data analysis in Power Pivot, begin by importing the data. You can import data from various sources, including Excel tables, other Excel files, and Access databases. Once imported, these data sources combine into a cohesive Data Model, enabling unified analysis.

2.1. Importing Data from Excel Table in Power Pivot

To import a table from Excel:

  • Navigate to the applicable tab.
  • Select the data range and go to Power Pivot > Add to Data Model.
Importing data from Excel Table on Power Pivot
Importing data from Excel Table on Power Pivot 2

2.2. Importing Data from an Excel File in Power Pivot

Power Pivot also supports importing entire Excel files. This function is beneficial when consolidating data across multiple files or worksheets.

  • Go to Power Pivot > Manage > Home > From Other Sources.
  • Choose Excel File and locate the file.
  • Check Use first row as header, then finish the import.
Importing data from an Excel File in Power Pivot

2.3. Importing Data from an Access Database in Power Pivot

For larger, structured data sources, Power Pivot allows importing data directly from Access databases. 

  • Open Power Pivot > Manage > Home > From Other Sources.
  • Select Access Database, locate the file, and choose the tables to import.
Importing data from an Access database in Power Pivot
Importing data from an Access database in Power Pivot 2
Importing data from an Access database in Power Pivot 3
Learn data analytics with Excel

2.4. Building Relationships in Power Pivot

Relationships are vital in Power Pivot, connecting tables to enable cross-referencing and in-depth analysis. By linking tables, Power Pivot allows you to calculate and evaluate data from multiple perspectives.

To build relationships:

  • Go to Diagram View in Power Pivot.
  • Arrange tables, linking fields from dimension tables to fact tables.
Building Relationships in Power Pivot

2.5. Utilizing DAX Formulas in Power Pivot (Brief Introduction) 

Data Analysis Expressions (DAX) is a specialized language for creating advanced calculations in Power Pivot. DAX formulas can be used to conduct logical functions and create calculated columns or measures, adding a layer of sophistication to your analysis. 

This is how you can find DAX formulas:

  • Go to the Design tab > Insert Function to see the list of DAX functions.

If you’re having trouble with the above example, follow our visual example below.

How to Find DAX Formulas in Power Pivot
How to Find DAX Functions in Power Pivot

2.6. Power Pivot Measures

Measures in Power Pivot aggregates data across a dataset and is context-sensitive, adapting to filters set in a PivotTable. For example, a measure for Total Revenue would sum values dynamically based on data slicers and filters.

Measures make Power Pivot especially powerful, as they enable dynamic, reusable metrics that adapt to the user’s analysis needs.

  • Go to PowerPivot > Measures > New Measures.
Power Pivot New Measure

Table Name = fct_SalesTransaction (This is where measures will be saved).

Measure Name = Conditional Revenue

Formula = The formulas in the example below will provide total revenue after going through three filters, such as where Country = “China,” Item Type = “Beverages,” and Sales Channel = “Online.”

Syntax 

=

CALCULATE (

SUM ([Total Revenue]),

dim_Location[Country] = “China”,

dim_ItemType[Item Type] = “Beverages”,

dim_SalesChannel[Sales Channel] = “Online”

Power Pivot Measure Formula

2.7. Calculated Columns
Calculated columns are row-level calculations that populate a new column based on one formula. They are ideal for creating metrics like Total Cost or Profit.

Example:

Total Revenue: = ROUND(fct_SalesTransaction[Units Sold] * fct_SalesTransaction[Unit Price], 0)
Total Cost: = ROUND(fct_SalesTransaction[Units Sold] * fct_SalesTransaction[Unit Cost], 0)

These calculations allow more granular insights, adding value to the data model.

2.8. Creating a Pivot Table Report in Power Pivot

Power Pivot supports creating reports that span multiple tables, making it easy to analyze trends, compare performance metrics, or explore detailed insights and statements.

To create a PivotTable:

  • Go to Power Pivot > Manage > Home > PivotTable.
  • Select Existing Worksheet and drag in relevant fields.
Pivot Table Report
Pivot Table Report 2
Excel: Free Masterclass​
Supercharge Your Skills For Free

3. Exploring Excel Pivot Tables

In our comprehensive guide on Excel Pivot Tables we detail how to create Pivot Tables from A to Z. In this Excel for data analysis we’ll give you insights into making Pivot Tables work for data analytics with Excel.

Basic Components of a Pivot Table

  • Data Source: This is the range of cells or table containing the raw data you want to analyze. In our example, the data source is the range A1:K601 containing the sales records.
  • Row and Column Labels: These fields from your data source are used to create row and column headings in the pivot table layout.
  • Values: The numerical data fields you want to summarize, such as the Revenue field in our example.
  • Summary Functions: The mathematical operations you want to perform on the value fields, like Sum, Count, Average, etc.

3.1. Preparing Data for a Pivot Table Analysis

Pivot Tables are incredibly powerful, but their effectiveness relies heavily on the quality and structure of your data. 

3.1.1. Structuring Data in Pivot Tables

To create effective pivot tables, your source data should be well-structured and organized. Here are some key principles to follow:

  • Use a Tabular Layout: Arrange your data in a table format, with each column representing a field and each row representing a unique record.
    • Click on the cell → Click Insert → Click Table → Select the Range & My Table has headers →  Press OK. 
Pivot Table Insert Tabular Layout
  • Include Headers: Ensure that each column has a descriptive header that clearly identifies the data it contains.
PivotTable Headers 2
  • Avoid Blank Cells: Fill in any blank cell with the appropriate values or placeholders to ensure a true result.
PivotTable blank cells 1
  • Use Consistent Formatting: Ensure that data within each column is formatted consistently (e.g., past and current date should be in the same format, numbers should have the same number of decimal places).
Excel Table Consistent Formatting

3.1.2. Cleaning and Preparing Your Data

Before creating a pivot table, it’s crucial to clean and prepare your data to ensure a true result and a smooth analysis process. Here are some steps to follow:

  • Remove Duplicates: Use Excel’s “Remove Duplicates” feature to eliminate any duplicate records that may skew your analysis.
    • Go to Data → Select Remove Duplicates.
how to build a pivot table excel

 Choose the Criteria for Managing Missing Data: Determine how to treat missing or otherwise blank rows or values in your dataset (e.g., remove rows with missing data or fill in the blank value with appropriate placeholders).

PivotTable blank cells 1
  • Validate Data: Use Excel’s data validation tools to ensure that each column contains the expected data type and format.
how to sort a pivot table by values

3.2. Building a Pivot Table

To Create a new Pivot Table in Excel, do the following:

  • Select the range of cells containing your data, including headers (e.g., A1:K601 in our sales data file).
  • Navigate to the “Insert” ribbon and click on the “PivotTable” button in the “Tables” group.
  • In the “Create PivotTable” dialog box, verify that the correct data range is selected in the “Table/Range” field.
  • Choose where to place the pivot table (e.g., “New Worksheet” or “Existing Worksheet”).
  • Click “OK” to create the pivot table.

Excel will create a new pivot table in the specified location, with the PivotTable Fields pane appearing on the right side of the screen.

excel pivot sort by multiple columns

3.3. Adding Fields to a Pivot Table

To build your pivot table, drag and drop fields from the PivotTable Fields pane into the following areas:

  • Rows: Fields placed here will appear as row labels in the pivot table, defining how the data is grouped and categorized.
  • Columns: Fields placed here will appear as column labels in the pivot table, providing additional dimensions for analysis.
  • Values: Numeric fields placed here will be aggregated and summarized in the pivot table (e.g., sum, average, count).
  • Filters: Fields placed here will act as filters, allowing you to narrow down the data displayed in the pivot table based on specific criteria.
how to make a pivot table on excel

3.4. Customizing the Layout and Fields of the Pivot Table

One of the key advantages of pivot tables is its function in Excel to quickly rearrange and pivot fields to explore data from different angles. 

(See this simple example below)

how to do excel pivot tables

3.4.1. Customizing Your Pivot Table’s Layout

You can customize the layout of your Pivot Table using the “PivotTable Tools” toolbar, which appears when you select any cell within the pivot table:

Design Tab: Choose from a variety of preset pivot table styles, or create your own custom style.

Layout Tab: Modify the pivot table’s layout, including adding subtotals, grand totals, and in the value section adjusting blank row and column display settings.

You can further customize your Pivot Table by following this example:

  1. Select any cell within the pivot table.
  2. Go to the “Design” tab in the “PivotTable Tools” toolbar.
  3. Choose a style from the “PivotTable Styles” gallery.

Using the standard formatting tools, you can further customize your pivot table’s appearance by modifying individual elements, such as font styles, colors, and number formatting.

how to set up a pivot table in excel

Excel offers three main layout options for pivot tables: Compact, Outline, and Tabular. Each layout has its own advantages and use cases:

  • Compact Layout: This layout minimizes white space and displays field headers across multiple columns, making it ideal for dense datasets or when screen real estate is limited.
  • Outline Layout: This layout displays field headers in a hierarchical, indented structure, making it easier to visualize relationships between different data levels.
  • Tabular Layout: This layout presents data in a traditional table format, with field headers across the top row and data values below. It’s a familiar and easy-to-read layout for most users.

Using our visual example below you can change the layout of your Pivot Table:

  • Select any cell within the pivot table
  • Go to the “Design” tab in the PivotTable Tools ribbon
  • Click the “Report Layout” dropdown and choose “Show in Outline Form”
how to create pivot tables

3.4.2. Formatting Elements in Pivot Tables

In addition to applying overall styles and themes, you can also format individual elements within your pivot table, such as headers, labels, and value. 

Examine the example below to learn about how to format elements in Pivot Tables.

how to create a pivot table with multiple columns

3.5. Performing Calculations in Pivot Tables

To perform calculations in Pivot Tables, click on a cell, navigate to “Value Field Settings” and the choose the the type of calculation you would like to use to summarize data from the selected field.

Use the example below as a guide:

how to make pivot table excel

There are multiple functions you can perform with these calculations, including:

  • Sum: Calculates the grand total, by adding every value in the selected field.
  • Count: Counts every non-blank or non-zero value in the selected cell.
  • Average: Calculates the arithmetic mean of  each value in cell.
  • Max: Displays the highest value in the cell selection.
  • Min: Displays the lowest value in the cell selection.
  • Percent of Total: Calculates the percentage that each value contributes to the overall total.
  • Running Total: Displays a running total of every value in the selected field, based on the order of the rows or columns.
  • Calculated Fields and Items: Allows you to create custom calculations using formulas and expressions.

3.6. Visualizing data in Power Pivot

It’s possible to visualize data on Power Pivot by adding bars, graphs, colors, and icons to make the visual elements of your data cohesive.

You can find these powerful visual elements by navigating to Home and selecting all the conditions you’d like to apply.

Furthermore, in our simple example, we’ve highlighted how you can add data bars.

Simply navigate to Home > Conditional Formatting > Data Bars > Select the Bars you’d like to add.

how to use the pivot table in excel
Excel: Free Masterclass​
Supercharge Your Skills For Free

4. Mastering Charts in Excel

Part of visualizing data in data analytics with Excel that we’ve discussed previously in Power Pivot, is mastering charts.

There are a variety of charts you can use to visualize data and simplify more complex scenarios.

In fact, there are more than a dozen charts to visually support your data analysis.

These are 14 charts we suggest when you’d like to conduct multiple comparisons.

4.1. Column Chart

Column charts are an effective means of displaying data variations over a period or comparing various elements. Typically, the categories are placed on one axis and the data values on another, allowing for clear visualization of changes or updates. Clustered column charts enable you to perform multiple comparisons with each comparison point in the narrative.

Select the data > Go to Insert > Recommended Charts > All Charts > Column > Cluster Column or any other column chart.

how to make a simple graph in excel

4.2. Bar Chart

Bar charts have a similar function to column charts, having a nearly the same result as the former chart.

To insert a bar chart in your data analysis select the data > Go to Insert  > Recommended Charts > All Charts > Bar > Cluster Bar or any other bar chart.

create a graph from excel data

4.3. Line Chart

Line charts are the ideal option to compare and contrast statements.

how to add data to an excel chart

4.4. Pie/Doughnut Chart

Pie charts have a single function. These charts are ideal for comparative data and should be used with five or fewer data points. They enable you to convey simple statements effectively and can be used to test an argument.

how do make a graph on excel

4.5. XY Scatter Plot Chart

An XY chart’s most common use case is a scatterplot with two variables, but it can also display relationships among more than two variables.

Common examples of this chart in action include demonstrating correlation.

how to plot a graph on excel

4.6. Area Chart

Area charts are created by plotting data on the vertical (y) axis and the category on the horizontal (x) axis. The total area under an area graph can be calculated by adding up all the areas under each rectangle stacked above each other.

how to plot graph in excel

4.7. Radar Chart

A radar chart diagram can simultaneously visualize three or more data sets. 

how to make an excel chart from data

4.8. Stock Chart

The stock chart is perfect for tracking two arguments and comparing and contrasting them.

how do you draw a graph in excel

4.9. Histogram Chart

Histograms are a great way to see the distribution of values when you have continuous measurements. They place your data into ranges or bins, each container representing counts / percentages for all observed cases within its scope.

how to make bar graph on excel

4.10. Pareto Chart

The Pareto chart is an easy-to-understand chart that people use to identify and prioritize their efforts or decide what they want to focus on to achieve better results.

It’s an excellent chart for analyzing data with large numeric values and ranges.

how to plot data in excel

4.11. Waterfall Chart

The waterfall chart is designed to show the gradual transition in quantitative values. Analysts mainly use it to understand or explain how something changes over time with an increment or decrement.

how do you make a line graph on microsoft excel

4.12. Box and Whisker Chart

Box and whisker charts are used to visualize the distribution of data. They have multiple functions in Excel and are often used in statistics, education, business, and engineering.

how to convert data into a graph in excel

4.13. Treemap Chart

The Treemap charts provides an easy way to summarize (and evaluate) large amounts of hierarchical data. The dimensions are configured when plotting nodes based on numerical values assigned per node. This makes identifying trends between all categories straightforward.

how to create a diagram in excel

3.14. Map Chart

The map chart has several functions, providing visual representations for data on geographical regions that are challenging to evaluate with other data table formats. 

how to create a diagram in excel

For in-depth analysis on charts, turn to our chart types guide.

Excel: Free Masterclass​
Supercharge Your Skills For Free

5. Creating Interactive Dashboards

Interactive dashboards are the final step to mastering data analysis in Excel. These dashboards allow you to track and measure key performance indicators (KPIs) and metrics. They provide a visual representation of complex data, making it easier to understand and evaluate. With interactive dashboards, you can change data inputs, filter data, and drill down into specific details to gain insights and uncomplicate data-driven decisions.

creating dashboards in excel

5.1. Layout and Design Principles for Dashboards

An effective dashboard layout should be intuitive, visually appealing, and optimized for the user’s needs. When assembling your dashboard components, consider the following design principles:

1. Prioritize information hierarchy

  • Place the most important insights and KPIs in prominent locations.
  • Use size, color, and positioning to guide users’ attention to key elements.

2. Maintain visual consistency

  • Use a consistent color scheme, font family, and sizing throughout the dashboard.
  • Align elements to create a clean, organized look.

3. Maximize whitespace

  • Avoid overcrowding your dashboard with too much information.
Excel: Free Masterclass​
Supercharge Your Skills For Free

Conclusion

It’s possible to master data analytics with Excel and this ultimate guide is just the first step to improving your skills. The trick to becoming a master data analyst is to continue honing your skills, repeatedly using one of the above formula, and you can relish in the not-so-unexpected-results.

Facebook
X
LinkedIn
Pinterest
Email
Table of Contents

Office Tech Skill is a premier educational platform focused on Microsoft Office, providing professionals with the tools needed to thrive in the ever-evolving tech landscape.

© 2025 Office Tech Skill. All rights reserved