Docsity

Excel functions for data analysis, Study Guides, Projects, Research of Econometrics and Mathematical Economics

Partial preview of the text

Download Excel functions for data analysis and more Study Guides, Projects, Research Econometrics and Mathematical Economics in PDF only on Docsity!

EXCEL FUNCTIONS FOR DATA ANALYSIS

A Practical Beginner’s Workbook

Learn • Practice • Analyze • Build Learn Excel functions by solving realistic sales-analysis problems — not by memorising a list of formulas. For beginner data analysts, students, graduates and aspiring business analysts. Author: Ayiki Agbidik Joseph

How This Workbook Is Different

This is not a generic collection of Excel formulas. Every major function is connected to a practical business question, a sales dataset, an analyst task, and an exercise.  Learn the formula and why an analyst uses it.  Work with one consistent retail-sales dataset.  Practise regional, product and conditional analysis.  Clean messy business data before analysing it.  Build a mini sales dashboard.  Check your work with a separate answer section.  Finish with a practical portfolio-style challenge.

Who Should Use This Workbook?

 Beginners learning Excel for data analysis.  Economics, business, accounting and related students.  Graduates preparing for entry-level analyst roles.  People moving from basic Excel toward practical reporting.  Anyone who wants to practise Excel with business-style data.

Learning Outcome

By the end, you should be able to use core Excel functions to answer sales questions, clean basic data, retrieve information from another table, check errors, and turn numerical results into simple business insights.

1. Getting Started: Think Like an Analyst

A beginner often asks, “Which Excel formula should I learn?” A data analyst starts with: “What business question am I trying to answer?”

The analyst workflow

  1. Understand the question.
  2. Inspect the data.
  3. Clean obvious problems.
  4. Choose the appropriate formula.
  5. Calculate the result.
  6. Check whether the result makes sense.
  7. Explain the business meaning.

Example

Question: How much did the South region generate? Identify Region as the condition field and Sales as the value to add. Then SUMIF becomes the appropriate tool.

2. Your Working Retail Sales Dataset

Use the same dataset throughout this workbook so every formula builds toward a realistic analysis. Date Salesperson Product Region Quantity Sales ( ₦) 01/09/ John Laptop North 3 60000 02/09/ Mary Shoes South 2 25000 03/09/ Peter Shoes North 4 60000 04/09/ Grace Bags South 3 30000 05/09/ David Laptop West 2 45000 06/09/ Ruth Shoes West 5 75000 07/09/ James Bags North 1 15000 08/09/ Esther Laptop South 4 80000

3. Essential Calculation Functions

SUM()

What it does: Adds numbers together. Syntax: =SUM(F2:F13) Example: =SUM(F2:F13) Analyst use: Calculate total sales. Practice: Calculate total sales.

AVERAGE()

What it does: Calculates the mean. Syntax: =AVERAGE(F2:F13) Example: =AVERAGE(F2:F13) Analyst use: Calculate typical transaction value. Practice: Calculate average sales.

MIN()

What it does: Returns the smallest number. Syntax: =MIN(F2:F13) Example: =MIN(F2:F13) Analyst use: Find the lowest transaction. Practice: Find minimum sales.

MAX()

What it does: Returns the largest number. Syntax: =MAX(F2:F13) Example: =MAX(F2:F13) Analyst use: Find the highest transaction. Practice: Find maximum sales.

COUNT()

What it does: Counts numeric cells. Syntax: =COUNT(E2:E13)

Example: =COUNT(E2:E13) Analyst use: Check numeric records. Practice: Count quantity records.

COUNTA()

What it does: Counts non-empty cells. Syntax: =COUNTA(B2:B13) Example: =COUNTA(B2:B13) Analyst use: Check populated records. Practice: Count salesperson entries.

Example: =COUNTIFS(D2:D13,"North",C2:C13,"Shoes") Analyst use: Count a product within a region. Practice: Count North Shoes transactions.

SUMIF()

What it does: Adds values for one condition. Syntax: =SUMIF(D2:D13,"South",F2:F13) Example: =SUMIF(D2:D13,"South",F2:F13) Analyst use: Calculate regional sales. Practice: Calculate South sales.

SUMIFS()

What it does: Adds values for multiple conditions. Syntax: =SUMIFS(F2:F13,D2:D13,"North",C2:C13,"Shoes") Example: =SUMIFS(F2:F13,D2:D13,"North",C2:C13,"Shoes") Analyst use: Calculate a segment. Practice: Calculate North Shoes sales.

AVERAGEIF()

What it does: Averages values for one condition. Syntax: =AVERAGEIF(D2:D13,"South",F2:F13) Example: =AVERAGEIF(D2:D13,"South",F2:F13) Analyst use: Compare average regional sales. Practice: Calculate South average.

AVERAGEIFS()

What it does: Averages values for multiple conditions. Syntax: =AVERAGEIFS(F2:F13,D2:D13,"North",C2:C13,"Shoes") Example: =AVERAGEIFS(F2:F13,D2:D13,"North",C2:C13,"Shoes") Analyst use: Compare a specific segment. Practice: Calculate North Shoes average.

Question-to-formula guide

Business question Formula thinking How many South transactions? COUNTIF How much did South sell? SUMIF North Shoes sales? SUMIFS North Shoes transaction count? COUNTIFS Average South sales? AVERAGEIF

6. Text Cleaning and Data Quality

“Shoes”, “ SHOES ” and “shoes” may represent the same category but can behave differently in analysis. Clean first, analyse second.

IFERROR()

What it does: Replaces formula errors with a chosen result. Syntax: =IFERROR(XLOOKUP(C2,$H$2:$H$4,$I$2:$I$4),"Not found") Example: =IFERROR(XLOOKUP(C2,$H$2:$H$4,$I$2:$I$4),"Not found") Analyst use: Keep reports readable. Practice: Handle an unmatched product.

Mini cleaning exercise

Messy value Task shoes Remove spaces and standardise. SHOES Convert to a consistent format. Laptop Remove leading spaces. Bags Remove trailing spaces.

7. Dates and Error Handling

TODAY()

What it does: Returns the current date. Syntax: =TODAY() Example: =TODAY() Analyst use: Use current date in reports. Practice: Enter today's date.

YEAR()

What it does: Extracts year. Syntax: =YEAR(A2) Example: =YEAR(A2) Analyst use: Group by year. Practice: Extract year.

MONTH()

What it does: Extracts month number. Syntax: =MONTH(A2) Example: =MONTH(A2) Analyst use: Group by month. Practice: Extract month.

DAY()

What it does: Extracts day number. Syntax: =DAY(A2) Example: =DAY(A2) Analyst use: Analyse daily patterns. Practice: Extract day.

IFERROR()

What it does: Provides a clean alternative for formula errors. Syntax: =IFERROR(formula,"Not found")

8. From Formulas to Business Insights

A formula gives you a number. Analysis explains what the number means.

  1. Finding — state the result.
  2. Evidence — support it with a number or comparison.
  3. Business question — identify what should be investigated next. Example: South generated ₦225,000 in this sample, compared with North at ₦190,000. The next question is whether the difference comes from product mix, transaction quantity, or high-value sales. This example is based only on the workbook dataset; it is not a claim about the wider Nigerian retail market.

9. Mini Sales Dashboard Project

Turn your analysis into a one-page management view. KPI Formula Total Sales =SUM(F2:F13) Average Sales =AVERAGE(F2:F13) Highest Sale =MAX(F2:F13) Transactions =COUNT(F2:F13) South Sales =SUMIF(D2:D13,"South",F2:F13) North Sales =SUMIF(D2:D13,"North",F2:F13)

Recommended visuals

 Column chart: Sales by Region  Column chart: Sales by Product  Optional line chart: Sales by Date Dashboard rule: put KPIs first, charts underneath, and 2–3 written insights at the bottom. Avoid filling the page with every metric available.

  1. Create a sales-by-region summary.
  2. Write two evidence-based business insights.

11. Answer Key and Formula Check

Formula / action Expected result

1 =SUM(F2:F13) ₦ 555, 2 =AVERAGE(F2:F13) ₦ 46, 3 =MAX(F2:F13) ₦ 80, 4 =MIN(F2:F13) ₦ 15, 5 =COUNT(F2:F13) 12 6 =COUNTIF(D2:D13,"South") 4 7 =COUNTIF(D2:D13,"North") 4 8 =SUMIF(D2:D13,"South",F2:F13) ₦ 225, 9 =SUMIF(D2:D13,"North",F2:F13) ₦ 190, 10 =SUMIF(D2:D13,"West",F2:F13) ₦ 140, 11 =SUMIF(C2:C13,"Shoes",F2:F13) ₦ 200, 12 =SUMIF(C2:C13,"Laptop",F2:F ) ₦ 240, 13 =SUMIF(C2:C13,"Bags",F2:F13) ₦ 115, 14 =COUNTIFS(D2:D13,"North",C2: C13,"Shoes") 1 15 =SUMIFS(F2:F13,D2:D13,"North" ,C2:C13,"Shoes") ₦ 60, 16 =SUMIFS(F2:F13,D2:D13,"South"