Excel Data Analysis: Real Life Workflow - A How-To Guide

Data analysis is a crucial skill in today’s business world, and Excel Microsoft Excel remains one of the most widely used tools for this purpose. This comprehensive guide will walk you through a real-life data analysis workflow in Excel, providing you with the knowledge and techniques to transform raw data into actionable insights.

Dynamic Date Example

by Mihir Kamdar / Last Updated:

C796 YT 30 Excel Data Analysis Real Life Workflow A How To Guide

What You'll Learn In This Ultimate Guide to Excel Workflow

In this comprehensive guide, you’ll gain practical skills and knowledge in:

  • Cleaning and preparing data efficiently using Power Query

  • Building robust data models and relationships

  • Performing advanced calculations using DAX (Data Analysis Expressions)

  • Creating insightful visualization.

  • Presenting your findings effectively through professional reports

  • Utilizing interactivity via slicer and timelines

  • Automating repetitive tasks with VBA

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

In today’s data-driven business environment, Microsoft Excel is a powerful tool for data analysis. Whether you’re looking to understand sales trends, identify key markets, or forecast future performance, mastering Excel’s data analytics features can significantly enhance your ability to make informed decisions. Using an excel spreadsheet, you can perform various data analysis tasks such as budgeting, expense tracking, and visualizing data insights. This guide walks through a real-life data analysis workflow using a dataset that includes sales data from fictional companies selling real products. Each step is detailed with specific instructions on how to perform tasks in Excel, ensuring you can replicate this process on your own datasets.

1. Problem Definition

Before starting your analysis, clearly define the problem you’re trying to solve. This step sets the foundation for your entire analysis.

1.1. Identifying the Business Problem or Research Question

A. Understand Your Data:

– Begin by examining your dataset to understand what information is available.

– Look at columns like Date, Company, Country, Region, Product, Sales, Revenue, Discount, and Profit.

B. Define the Problem:

– Based on the dataset, a possible problem statement could be: “Which products are the most profitable across different regions?”

C. Consider the Business Context:

– Think about why this analysis is important. For instance, identifying the most profitable products could help in making decisions about resource allocation or marketing strategies.

excel_data_analysis_define_the_process

1.2. Setting Clear Objectives and Goals for the Analysis

A. List Your Objectives:

– Example Objective 1: Determine the top three most profitable products in each region.

– Example Objective 2: Identify trends in sales volume over the last year.

B. Set Measurable Goals:

– Ensure your objectives are specific and measurable, such as “Increase the sales of Product X by 10% in the North American market next quarter.

C. Prioritize Your Goals:

– Focus on the objectives that will have the most significant impact on your business decisions.

excel_data_analysis_setting_goal
Excel: Free Masterclass​
Supercharge Your Skills For Free

2. Data Cleaning and Preparation with Power Query and Data Analysis Tools

Cleaning and preparing your data is critical for ensuring accurate analysis. Power Query is an Excel feature that simplifies these tasks. Additionally, using Excel files and cloud storage for data management and collaboration can greatly enhance efficiency, speed and accessibility.

2.1. Using Power Query for Data Cleaning

In this tutorial, we’ll use a zipped folder that contains data related to yearly sales data. customer, item type, location, order priority, and sales channel. You can download the zipped folder.

excel dashboard data source

2.2. Using Power Query for Data Transformation and Preparation

Here’s a step-by-step process for importing data cleaning and organizing the “E-commerce Revenue Data” in Excel:

1. Open a blank Excel Workbook → Go to Data → Get Data → From File → From Excel Workbook → Select 2014 Sales Data → Click Import → Select Sheet1 → Click Transform Data → Rename the Query to 2014 Sales Data → Select Close & Load To →  Select Only Create Connection & Select Add to Data Model → Click OK.

excel dashboard cleaning and organizing data

2. Do the same as shown in step 1 for all the yearly sales data from 2015 – 2021 and rename the below queries.

excel dashboard renaming power queries

3. Do the same as shown in step 1 for all the customer, item type, location, order priority, and sales channel files. Rename all the queries.

excel dashboard renaming power queries 2

4. Go to Data → Get Data → Launch Power Query Editor → Select all the Yearly Sales Data → Click Append Queries as New → Select all the Queries → Click OK → Rename the Query to FactSalesTransaction.

Excel: Free Masterclass​
Supercharge Your Skills For Free

3. Model Building and Analysis

Once your data is clean and ready, you can begin building models and conducting in-depth analysis. Excel’s statistical functions and financial analysis tools are essential for comprehensive data analysis, enabling users to manage budgets, expenses, and other financial needs effectively.

3.1. Building Relationships Between Data Tables

First, you need to enable Power Pivot. Go to File → Options → Add-ins → Select COM Add-ins → Select Microsoft Power Pivot for Excel → Power Pivot tab will appear on the ribbon.

excel dashboard building data model

Go to Power Pivot → Go to Manage → Organize all the tables → Create a relationship between all the fields as shown below by dragging the field from Dim Table to FactSalesTransaction table.

excel dashboard creating relationship between data

3.2. Using DAX (Data Analysis Expressions) for Advanced Calculations

Go to Data View → Go to FactSalesTransaction → Click any cell on the Calculation Area → Go to the Formula Bar & type in the formula → Format it to currency & remove decimal.

This is the first formula to calculate Revenue.

excel dashboard building measure with dax

Add a second formula called Number of Orders. 

Click any cell on the Calculation Area → Go to the Formula Bar & type in the formula → Format it to whole number.

excel dashboard building measure 2 with dax

Add a third formula called Average Revenue Per Order.

Click any cell on the Calculation Area →. Go to the Formula Bar & type in the formula → Format it to currency & remove decimal.

excel dashboard building measure 3 with dax
Excel: Free Masterclass​
Supercharge Your Skills For Free

4. Reporting, Visualization and Interpretation

With your models ready, it’s time to explore and interpret your data to gain actionable insights. In Excel, you can edit chart labels and highlight key insights to enhance data visualization and make your findings easier to interpret and present effectively.

4.1. Reportng

To create a PivotTable in Excel, follow these steps:

Go to PivotTable → Go to PivotTable → Click on Existing Worksheet → Select Location → Press OK → Drag all the measures in Values area.

excel dashboard building pivot table 1

For our e-commerce sales dashboard, let’s create PivotTables summarizing:

Go to PowerPivot → Click on Manage → Go to PivotTable → Click on Existing Sheet → Click on cell E1 → Press OK.

Revenue by sales channel.

  • Columns: Sales Channel
  • Values: Sum of Revenue
Remove Grand Total
 
excel dashboard dragging data in pivot table

Go to PowerPivot → Click on Manage → Go to PivotTable → Click on Existing Sheet → Click on cell I1 → Press OK.

Revenue by order priority

  • Columns: Order Priority
  • Values: Sum of revenue
Remove Grand Total
excel dashboard building pivot table 3

Go to PowerPivot → Click on Manage → Go to PivotTable → Click on Existing Sheet → Click on cell A4 → Press OK.

Revenue by item type

  • Columns: Item Type
  • Values: Sum of revenue
Remove Grand Total
excel dashboard building pivot table 4

4.2. Visualizing Data Using Excel Charts, Graphs, and Sparklines

Visualizing data with charts and graphs is a key component of creating an interactive Excel dashboard. Charts and graphs provide a visual representation of data, making it easier to understand and to analyze data for trends, patterns, and relationships.

Selecting the appropriate chart type is crucial for effectively communicating your data insights. Different chart types are suited for different purposes and data structures. Some common chart types and their uses include:

  • Column and Bar Charts: Compare values across categories or show trends over time.

  • Line Charts: Display continuous data or show changes over time.

  • Pie Charts: Show the composition or proportion of a whole.

  • Scatter Plots: Visualize relationships between two variables.

  • Area Charts: Demonstrate the magnitude of change over time or across categories.

When choosing a chart type, consider the following:

  • The type of data you’re visualizing (categorical, continuous, discrete)

  • The relationship between variables (comparison, distribution, composition, trend)

  • The message you want to convey (change over time, proportion, correlation)

excel dashboard choosing the correct chart type

For our e-commerce sales dashboard, we’ll create:

A pie chart showing revenue by sales channel. This will help us identify which sales channel is performing better. 

1. Change the values to the percentage of the Grand total.

2. Go to Insert → PivotChart → Pie → Click OK.

excel dashboard building pivot chart 1

A column chart showing revenue by order priority. This will help us identify which order priority is performing better. 

Go to Insert → PivotChart → Column → Cluster Column  Click OK.

excel dashboard building pivot chart 2

A bar chart showing revenue by item type. This will help us identify which item type is performing better. 

Go to Insert → PivotChart → Bar → Cluster Bar → Click OK.

excel dashboard building pivot chart 3

4.3. Customizing Charts

Once you’ve selected the appropriate bar chart and types, customize your charts to enhance readability, visual appeal, and impact. Here are some tips for customizing your charts:

1. Add descriptive titles and axis labels

  • Clearly communicate what the chart represents and the units of measurement.

2. Adjust chart colors and styles

  • Use a consistent color scheme that aligns with your brand guidelines.
  • Ensure sufficient contrast between data series and background.
  • Avoid using too many colors, which can be visually overwhelming.

3. Format data labels and markers

  • Display data values directly on the chart to provide precise information.
  • Use data markers to highlight key data points or trends.

4. Customize chart layout and background

  • Remove unnecessary chart elements (gridlines, borders) to reduce visual clutter.
  • Adjust the chart size and aspect ratio to ensure optimal readability.

5. Add trendlines and annotations

  • Use trendlines to show overall patterns and projections.
  • Add annotations to provide context or highlight significant events.

To customize your pie charts in Excel:

1. Click on the plus sign of the chart and enable all the elements.

2. Enter the chart title as “Sales Channel Distribution”.

3. Go to the Format tab to customize the chart colors by clicking on the Shape Fill. Change the online to HEX code f0a500 and offline to HEX code to 191919.

excel dashboard customizing pivot chart 1

To customize your column chart in Excel:

1. Click on the plus sign of the chart and enable all the elements.

2. Enter the chart title as “Revenue by Order Priority,” the Y-axis as “Revenue,” and the X-axis as “Order Priority.”

3. Go to the Format tab to customize the chart colors by clicking on the Shape Fill and changing the color to HEX code to 191919.

excel dashboard customizing pivot chart 2

To customize your bar chart in Excel:

1. Click on the plus sign of the chart and enable all the elements.

2. Enter the chart title as “Revenue by Item Type,” the Y-axis as “Revenue,” and the X-axis as “Item Type.”

3. Go to the Format tab to customize the chart colors by clicking on the Shape Fill and changing the color to HEX code to F0A500.

excel dashboard customizing pivot chart 3
Excel: Free Masterclass​
Supercharge Your Skills For Free

5. Interactivity with Slicer and Timeline

After analyzing and interpreting your data, it’s important to communicate your findings through interactivity via slicer and timeline.

To add timeline to your Excel dashboard, follow these steps:

1. Select any cell within a PivotTable.

2. Go to the PivotTable Analyze tab.

3. Click on “Insert Timeline ” and choose Order date.

4. Format your timeline to grey color.

excel dashboard building timeline slicers

To add slicer to your Excel dashboard, follow these steps:

1. Select any cell within a PivotTable.

2. Go to the PivotTable Analyze tab.

3. Click on “Insert Slicer” and choose Country.

4. Format your slicers to grey color and make the column as 2.

slicer 2 1

One of the most powerful features of slicers is the ability to connect them to multiple PivotTables and charts, allowing users to filter data across the entire dashboard with a single click. To connect a slicer to multiple elements:

1. Right-click on the slicer and choose “Report Connections.”

2. In the Report Connections dialog box, select all the PivotTables.

3. Click “OK” to apply the connections.

Now, when a user interacts with the slicer, all connected PivotTables and charts will update automatically, providing a seamless, interactive experience.

excel dashboard link all pivot tables
Excel: Free Masterclass​
Supercharge Your Skills For Free

6. Automating with VBA

Automation is a powerful way to enhance efficiency and reduce manual effort in your Excel workflows. Using VBA (Visual Basic for Applications), you can automate repetitive tasks such as data refreshes and report generation.

 Automating Data Tasks with VBA to Refresh Data and Generate Reports.

 Open the VBA Editor:

Press Alt + F11 to open the VBA editor in Excel > You can write your own VBA scripts > In the VBA editor, go to Insert > Module to create a new module where you can write your code.

Example: To refresh all data connections and update all PivotTables in the workbook, you can use the following VBA code:

This code loops through all the data connections and PivotTables in the workbook, refreshing them automatically.

				
					Sub RefreshAllData()
   
    ' Refresh all data connections
    Dim conn As WorkbookConnection
    For Each conn In ThisWorkbook.Connections
        conn.Refresh
    Next conn

    ' Refresh all PivotTables
    Dim ws As Worksheet
    Dim pt As PivotTable
    For Each ws In ThisWorkbook.Worksheets
        For Each pt In ws.PivotTables
            pt.RefreshTable
        Next pt
    Next ws

End Sub

				
			
excel_vba_code_pivot_table_refresh

Go to Insert > Add a Shape > Select Assign Macro > Click OK.

excel macro button
Excel: Free Masterclass​
Supercharge Your Skills For Free

Frequently Asked Questions

What is the role of Excel in data analysis?

Excel has evolved into a data analysis powerhouse, integrating AI and ML to enhance data analysis capabilities.

How do you define a problem statement in Excel?

Define your problem statement and set up initial parameters in Excel using comments and notes.

What is Power Query, and how is it used in data collection?

Power Query connects and refreshes external data sources, ensuring data freshness and integrity.

How do you handle missing data and outliers in Excel?

Use formulas and conditional formatting to identify and manage missing data and outliers, maintaining data quality.

How can you automate tasks in Excel?

Use VBA scripts to automate repetitive tasks, improving efficiency and productivity.

Conclusion

This comprehensive guide has walked you through the entire process of conducting data analysis in Excel, from problem definition to automation and documentation. By following these steps and utilizing Excel’s powerful features, you can transform raw data into actionable insights that drive informed decision-making in your organization.

Remember that data analysis is an iterative process. As you gain more experience and encounter new challenges, you’ll continue to refine your skills and discover new ways to leverage Excel’s capabilities. Keep experimenting, learning, and adapting your approach to get the most out of your data analysis efforts.

Key takeaways:

  1. Start with a clear problem definition and objectives.

  2. Invest time in data cleaning and preparation to ensure accuracy.

  3. Utilize Excel’s advanced features like Power Query, PivotTables, and DAX for robust analysis.

  4. Create compelling visualizations and interactive features to communicate insights effectively.

  5. Automate repetitive tasks with VBA to increase efficiency.

By mastering these techniques and continuously improving your Excel skills, you’ll be well-equipped to tackle complex data analysis challenges and provide valuable insights to your organization.

Facebook
X
LinkedIn
Pinterest
Email

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.

© 2024 Office Tech Skill. All rights reserved