Oboe
No history yet

I want to learn data analysis

Welcome! I'm so excited to help you dive into the world of data analysis. Before we jump into the concepts and tools, I'd love to learn a little bit more about you so I can tailor this journey to your exact needs.

What is your main goal for learning data analysis (e.g., changing careers, helping with your current job, or personal projects), and do you have any prior experience with tools like Excel or Python?

I'm just curious and want to learn the basics from scratch.

Let's kick things off with our visual roadmap for the course! We're starting from the absolute basics, and we'll gradually build up your skills step by step.

Your path
Spreadsheets and Data Cleaning Basics
Database Querying with Basic SQL
Fundamental Statistics for Data Analysis
Data Visualization and Storytelling Basics

What is Data Analysis

At its simplest, data analysis is the process of taking messy, and turning it into clear, actionable insights. Think of it like being a detective: you gather clues (the data), clean up the scene to see clearly, study the patterns, and finally tell the story of what actually happened to help people make smart decisions.
Without analysis, data is just a pile of numbers. By analyzing it, we find the "signal" in the "noise." For example, a streaming app like Netflix uses data analysis to look at what you watch, find patterns in your choices, and suggest your next favorite show.

A horizontal data processing pipeline transforming scattered geometric shapes into an organized bar chart and glowing lightbulb.

I've set up a visualization above to help you picture this transformation from raw data to insights. Now, before we explore how we actually do this step-by-step, let's see how this concept lands with you.

Continue to the stages of the data analysis process

Let's explore the core framework of data analysis. While every project is unique, professional analysts rely on a highly structured to systematically turn messy numbers into actual business decisions.

The Six Stages of Data Analysis

To make these stages concrete, let's trace a real-world scenario. Imagine you are working for a local coffee shop chain that wants to figure out how to increase its afternoon sales. Here is how you would work through the pipeline:

StageWhat You DoCoffee Shop Example
1. AskDefine the problem and understand stakeholder goals.Determine why sales drop after 2:00 PM and what products might attract afternoon customers.
2. PrepareIdentify, collect, and store the relevant data.Gather past sales receipts, customer loyalty card logs, and local weather data from the last year.
3. ProcessClean the data to fix errors, duplicates, and missing details.Delete duplicate transactions, standardise currency, and fill in missing drink categories.
4. AnalyzeQuery, calculate, and find patterns in the clean data.Find that pastry sales remain high in the afternoon, but coffee sales plummet when the temperature exceeds 25°C.
5. ShareCreate clear visualizations to tell the story of your findings.Build a simple chart showing the relationship between hot weather and low hot-coffee sales, paired with rising pastry demand.
6. ActUse the insights to make a recommendation and take action.Recommend launching an iced-coffee promotion paired with pastries on hot afternoons to boost revenue.

This structured journey ensures you don't just jump into the numbers blindly. You start with a question, and you finish with a real, measurable action.

A linear horizontal progress tracker displaying the six stages of data analysis: Ask, Prepare, Process, Analyze, Share, and Act.

I've generated a visualization of this lifecycle above so you can easily reference how these stages flow together. Before we dive into the foundational tools we use during these stages, let's test your understanding of how these phases differ.

Imagine you are reviewing a spreadsheet of monthly retail sales and you notice several rows are completely blank where the transaction amounts should be. You spend thirty minutes filling in those missing values using historical averages. Which stage of the data analysis process are you currently executing?

Process

Data Analysis
LV 1
Data Cleaning
LV 1
Skills

Spot on! Filling in those missing details with historical averages is exactly what the Process stage is all about. You're taking raw, incomplete information and refining it so that it's reliable and ready to be studied.

The Tools of the Trade

Now that you have a firm grasp on the logical stages, let's look at the foundational tools analysts use to actually do this work. You don't need to learn every software program out there. Instead, master a core set of that carry you through the entire lifecycle.
Tool CategoryPrimary PurposeReal-World Example
SpreadsheetsQuick calculations, data organization, and simple cleaning.Organizing monthly budgets or sorting list data in Excel.
SQL (Databases)Retrieving and filtering massive amounts of data from company storage.Asking a database to show all customers who spent over $100 last month.
Data VisualizationDesigning interactive charts and dashboards to show trends clearly.Creating a live dashboard in Tableau or Power BI to track daily sales.
StatisticsProving patterns, analyzing spreads, and making reliable forecasts.Calculating the average delivery time and understanding if a delay is unusual.

A four-quadrant grid showing Spreadsheets, SQL, Visualization, and Statistics.

I've created an interactive visual above to map out these four pillars. Think of them as your specialized toolkit: you'll use spreadsheets for quick sorting, SQL when datasets get too large for Excel, statistics to validate your patterns, and visualization to present your final story to others.

We've wrapped up our high-level overview of the concepts! Are you ready to dive into our very first tool category and explore how spreadsheets organize our data?

Continue to Spreadsheets and Data Cleaning Basics

Welcome to Spreadsheets and Data Cleaning Basics! Since you're learning from scratch, we'll start with the ultimate workspace of any analyst: the humble spreadsheet. Almost every major analytics pipeline starts right here.

The Grid System

Whether you are using Microsoft Excel or Google Sheets, a spreadsheet is fundamentally organized into a giant grid. This grid consists of vertical and horizontal . Let's unpack how these two work together.

The magic happens when a column and a row intersect. That single block is called a cell. We name cells by combining their column letter and row number (for example, the very first cell at the top-left is cell A1). Cells can hold text, numbers, or mathematical formulas that do the heavy lifting for you.

A spreadsheet grid showing the intersection of column B and row 2 at cell B2 containing Bob.

I've put together a visual layout of this grid above to show how columns, rows, and cells interact. When you have thousands of these cells, we need a clean way to organize and isolate the exact rows we care about. Let's make sure we've got the basics down before we do that.

Let's test your spatial awareness in a spreadsheet: If you click on a cell that sits exactly in the third column and the fifth row, what is the name of that cell?

C5

Spreadsheets
LV 1
Skills

You nailed it! C5 is exactly right. You combined the third column (C) with the fifth row (5) perfectly. Now that you have the basic coordinates down, let's look at how we actually organize and manipulate these cells when we are looking at real data.

Sorting and Filtering

When you are handed a spreadsheet with thousands of rows, trying to read it line-by-line is impossible. That is where two fundamental actions come in: sorting and filtering.

sorting

noun

The process of arranging data in a specific, systematic order, such as alphabetical, numerical, or chronological order.

Sorting reorganizes your view without hiding anything. For instance, you can sort a list of transactions alphabetically by customer name, chronologically by purchase date, or numerically to put your highest-paying customers at the very top.

filtering

noun

The process of hiding rows that do not meet specific, defined criteria so you can isolate and focus only on the data you need.

Filtering, on the other hand, temporarily that you don't want to see. If you have a spreadsheet of global transactions but you only want to analyze sales from Berlin, you apply a filter for "Berlin." All other rows vanish from your screen, allowing you to focus purely on your target region without permanently deleting any other information.

Side-by-side fruit sales tables illustrating the functional difference between sorting data by numerical values and filtering data by region.

I have set up a visualization above to help you see the difference in action. Toggle between sorting and filtering to see how the row layout adapts to each operation.

Continue to essential spreadsheet formulas like SUM and AVERAGE

Now that you've got sorting and filtering under your belt, it's time to unlock the real power of spreadsheets: mathematical formulas.

The Big Four Spreadsheet Formulas

When you are dealing with thousands of rows, you can't manually add or count values. Spreadsheets use built-in to perform these calculations instantly. Let's look at the four most important calculations you'll use daily.

FormulaWhat It DoesExample Scenario
=SUMAdds up all the numbers in a selected range.Totaling up the total revenue from all coffee sales yesterday.
=AVERAGECalculates the mean value of a selected range.Finding the average dollar amount spent per customer transaction.
=COUNTCounts the number of cells in a range that contain numbers.Counting how many transactions actually recorded a numerical price.
=COUNTACounts the number of cells in a range that are not empty (text or numbers).Counting how many customers typed in their names in the sign-up log.

Let's put this into a concrete walkthrough. Imagine we have a small sales sheet showing purchases made at our coffee shop. Let's see how these formulas perform their math behind the scenes.

A spreadsheet table of customer spend data demonstrating SUM, COUNT, and COUNTA formulas with missing values.

I've started generating an interactive spreadsheet playground above so you can visualize exactly how these four math formulas target different cells. Notice how =COUNT completely ignores blank spaces or text, while =COUNTA counts absolutely anything that isn't empty.

Let's put your understanding to the test. Imagine you have a spreadsheet list of 10 customer feedback entries in Column A. Seven of those cells contain written customer reviews, while the other three cells are completely blank because those customers chose not to leave a review. If you write the formula =COUNTA(A1:A10), what number will the spreadsheet display?

0

Don't sweat it at all! That was actually a tricky question designed to highlight a really common spreadsheet trap.

Let's look at why the answer is actually 7 instead of 0.

When we write =COUNTA(A1:A10), the "A" at the end of the formula stands for All (or alphanumeric). It tells the spreadsheet: "Count every single cell in this range that has something in it."

Since 7 cells had written customer reviews, they were not empty, so =COUNTA counted them up. The remaining 3 cells were completely blank, so the spreadsheet simply ignored them. If we had used =COUNT instead, the result would have been 0, because =COUNT only looks for actual numbers.

Side-by-side comparison of COUNTA and COUNT evaluated on a spreadsheet column with text, numbers, and blank cells.

I have adjusted our spreadsheet playground above to illustrate this exact difference. Visually tracking how each formula scans the cells makes it much easier to remember that =COUNTA is your go-to whenever you need to count text entries like names, statuses, or written feedback.

The First Step of Data Cleaning

Now that we have covered how to organize and count our data, let's step into the world of Data Cleaning. In the real world, raw data is rarely pristine. It is usually loaded with errors, duplicate entries, and messy formats. As an analyst, you will spend up to 80% of your time cleaning data before you ever build a chart or write a complex query. The very first, and often most satisfying, step of data cleaning is .

Imagine a customer signs up for your newsletter twice by accident. If you calculate your total unique customers without cleaning that list, your metrics will be completely wrong. In Excel or Google Sheets, we use the built-in Remove Duplicates tool to instantly scan our columns, identify identical rows, and delete the extra copies in a split second.

Continue to handling blank and missing values

Let's tackle how we handle blank or missing values in our datasets. In a perfect world, every cell in your spreadsheet would be filled out perfectly, but in reality, real-world datasets are practically Swiss cheese—riddled with empty spaces where a customer forgot to enter their phone number, an sensor glitched, or a transaction record skipped a field.

The Three Strategies for Missing Data

When you find a blank cell in your spreadsheet, you cannot just ignore it. If you try to calculate an average with empty spaces, or if your visualization tool tries to plot empty rows, your calculations can become deeply flawed. To solve this, analysts rely on three core strategies depending on what kind of data is missing:

StrategyHow It WorksBest Used When...Real-World Example
1. RemoveCompletely delete the row or column containing the missing value.The missing data is extensive, and the row is useless without it.A customer sign-up row is missing both the name and email address.
2. Fill (Impute)Replace the blank cell with a placeholder value, such as a default term or a statistical average.You want to keep the record and have a logical, logical estimate to plug in.Replacing a blank shipping cost with the average shipping cost of $5.
3. FlagKeep the blank but write a specific term like "Unknown" or "Not Provided" so you can filter it later.The missingness itself is an important pattern you want to track.Marking blank customer feedback cells as "No Review Provided" to see how many opted out.

Choosing the wrong strategy can skew your metrics. For example, if you decide to fill in missing customer ages with a default of "0," your calculated average age will plummet and mislead your stakeholders. But if you fill them with the of your existing customers, your overall average remains stable and realistic.

A 3x4 spreadsheet grid demonstrating the 'Fill with Average' data strategy, where missing row values are replaced with computed column averages.

I have set up an interactive simulation above so you can visualize how each of these three strategies physically alters your spreadsheet grid. Notice how removing a row deletes the entire record, while filling or flagging keeps the structure of your data completely intact.

Let's see how you would apply this as a data detective! Imagine you are analyzing an online retail spreadsheet. One of the columns tracks "Customer Referral Source" (where they heard about your website). You notice that out of 500 rows, 150 cells in this column are completely blank. Which cleaning strategy makes the most sense here?

Fill the blank cells with the mean average of the other columns.

You have hit on one of the absolute biggest traps in data cleaning, but it is an incredibly valuable learning moment!

Let's look at why filling missing values with a mean average doesn't work for a column like Customer Referral Source.

Remember, referral sources are text categories—things like "Google Search," "Instagram," or "Friend Referral." You cannot mathematically add up "Instagram" and "Google Search" to calculate a mean average! A mean average only exists for numerical data, like purchase amounts or ages. For categorical text columns, trying to calculate a mean is like trying to divide a banana by a bicycle—the math just doesn't apply.

Strategies for Categorical Data

Since we cannot run math on text, how do we clean those 150 blank referral sources? We use two primary strategies depending on what we plan to do with the data:

  1. (Most Common): We replace the empty cells with a standard text value like "Unknown," "Not Specified," or "Other." This keeps our total row count at 500, lets us know the data was missing, and allows us to easily group or filter those mysteries later.
  2. Remove the Record: If our entire analysis is strictly about which marketing channels are performing, and a row has no referral source, it might be completely useless to us. In that specific case, we might delete the row—but we lose all the other transactional data in that row if we do.

Now that we have tackled both numerical and categorical missing data, let's explore how we handle inconsistent formatting. Think of this as the step where we make sure "New York", "new york", and "NY" are all recognized as the exact same place.

Continue to standardizing data types and formatting

Exactly! That's a perfect pivot point. Now that we understand how to keep our data logically sound when things are missing, we have to talk about how we keep it clean when things are just plain messy.

Data Standardization and Formatting

When human beings enter data into spreadsheets, they do it in incredibly diverse ways. One person might type a date as 10/12/26, another as Oct 12, 2026, and a third as 12-10-2026. To a computer, these are three completely different pieces of text. If you try to sort or group by these cells, your software will treat them as entirely unrelated events. This is why we must perform —the process of converting all our values into a single, uniform format so they can be compared and calculated accurately.
IssueMessy ExampleStandardized FixCommon Spreadsheet Tool
Inconsistent Casenew york, New York, NEW YORKNew YorkPROPER or LOWER functions
Extra Spaces" Coffee Shop ", "Coffee Shop""Coffee Shop"TRIM function to delete trailing spaces
Mismatched Dates12/10/26, Oct 12, 20262026-10-12Format cell > Date > Select standard YYYY-MM-DD

Take a look at the table above to see how common syntax errors creep into our grids, and how we clean them up. Something as simple as an invisible space character at the end of a word can break a formula!

Let's see if you can spot a sneaky formatting trap in action.

A nine-character string displaying two leading spaces, the five-letter word apple, and two trailing spaces.

I have set up a quick visualization above to help you see exactly how spreadsheet programs handle invisible space cleanups under the hood.

Imagine you are cleaning a mailing list. In the "State" column, you notice that some rows have CA, some have ca, and others have Ca. If you run a filter to show only rows that match CA exactly, what is the problem you'll run into?

The filter will automatically convert every entry into uppercase for you.

Don't beat yourself up over that choice! It's a very common assumption, but actually, the spreadsheet won't lift a finger to automatically fix the capitalization for you.

In reality, the correct answer is D: You will miss the rows labeled ca or Ca because filters in many systems (and database tools we will learn about later) are strictly case-sensitive. If you type in uppercase CA as your exact filter, the computer looks only for that precise match, leaving your lowercase or mixed-case entries completely hidden. This is why we have to actively clean and unify our text formatting before doing any analysis.

The Text-Standardizing Toolkit

To prevent this exact issue, spreadsheet software provides us with a small, powerful family of text functions. Instead of manually retyping hundreds of messy rows, we use these formulas to instantly standardize the capitalization and spacing across our entire dataset.

FunctionWhat It DoesInput ExampleOutput Result
=UPPERConverts every single letter in a cell to uppercase.=UPPER("ca")"CA"
=LOWERConverts every single letter in a cell to lowercase.=LOWER("Ca")"ca"
=PROPERCapitalizes the first letter of each word and lowers the rest.=PROPER("new YORK")"New York"
=TRIMStrips out all leading, trailing, and double spaces.=TRIM(" NY ")"NY"

These functions are absolute lifesavers. For example, applying =TRIM is critical because an invisible trailing space like "CA " looks entirely different to a computer than a clean "CA". By running these functions on our columns first, we guarantee our filters and counts will be 100% accurate.

A spreadsheet data transformation showing the padded text ' ca ' passing through UPPER and TRIM functions to produce 'CA'.

I've sketched out a visualization of this processing pipeline above. You can see how a messy, off-center entry gets trimmed and capitalized into a perfect, standard record. Now that you've mastered case and spacing, let's look at how we tackle the trickiest standardization problem of all: dates and numbers.