Courses Learn Blog Contact
Get Started →
Lesson 5

Week 1, Virtual 2: Reading a Dataset With Fresh Eyes

Label every TechPlug column, count the rows, and find the problems before any formula is written.

Webbo3 Data Analytics Cohort 2: Excel Track 14 min read Free

Webbo3 Data Analytics · Cohort 2 · Excel Track · Week 1, Virtual 2

Reading a Dataset With Fresh Eyes

Before an analyst calculates anything, they inspect. Today you open the Sales Data tab on your own and find every problem in it, using only your eyes, filters and the status bar.

By the end of this class you can

  • Label every column as text, number or date
  • Count the rows and know the count is right
  • Use the five dimensions of data quality to look for problems in an organised way
  • Find blank cells, inconsistent spellings and duplicates without writing a formula
  • Check the Sales Data against the Product Catalogue and Staff Directory tabs
  • Write a short data quality report someone else could act on

A mechanic does not start fixing a car by taking the engine apart. They walk round it, look underneath, listen to it run, and write down everything they notice. Only then do they pick up a spanner. Today you are the mechanic, and the Sales Data tab is the car.

What you do in this class

  1. Open your working copy of the TechPlug Sales Workbook and go to the Sales Data tab.
  2. Label every column: text, number or date.
  3. Count the rows.
  4. Walk through the five dimensions of data quality in section 2 and look for problems in each.
  5. Write your findings as a short list, then compare it with the model report at the end.

Hand in: Your data quality list: what the problem is, which column, how many rows. No formulas yet.

Do Not Read the Cleaning Process Tab Yet

The workbook's first tab lists the cleaning steps, which gives the answers away. Today is about finding the problems yourself, the way you will have to on a file that comes with no instructions. You will follow that tab step by step in Week 2.

1. Label Every Column and Count the Rows

Start with the alignment test from Live 2: text on the left, numbers and dates on the right. Click one cell in each column and confirm it in the formula bar.

ColumnLetterTypeHow you can tell
Transaction_IDATextLeft-aligned; a label, even though it contains digits
DateBDateRight-aligned; becomes a number if you switch the format to General
Product_IDCTextLeft-aligned; a code from the Product Catalogue
Product_NameDTextLeft-aligned
CategoryETextLeft-aligned
QuantityFNumberRight-aligned
Unit_PriceGNumberRight-aligned
Staff_IDHTextLeft-aligned; a code from the Staff Directory
Staff_NameITextLeft-aligned
BranchJTextLeft-aligned
Customer_TypeKTextLeft-aligned
Payment_MethodLTextLeft-aligned

Now count. Click the A column letter and read the status bar: Count: 1,071. Take away the header and the sheet has 1,070 rows of sales, in rows 2 to 1,071. Do the same on column F and you get a different number. Hold that thought; it is your first clue.

What we are looking atWe want to see what the status bar says when the whole Quantity column is selected.
XTechPlug_Sales_Workbook.xlsx - Excel
Column F selected
A⋯F
1Transaction_IDQuantity
2TP-08923
3TP-07854
4TP-02107
5TP-03431
1,070 rows of sales in rows 2 to 1,071.
Count: 1,046Cleaning ProcessSales DataProduct CatalogueStaff Directory

Column A counts 1,071 cells with something in them; column F counts 1,046. Same sheet, same rows, 25 fewer. Somewhere in Quantity, 25 cells are empty.

2. The Five Dimensions of Data Quality

Definition

Data quality is how fit a dataset is for the question you want to ask it. Rather than looking for "anything wrong", analysts check five specific things, one at a time, so nothing is missed.

Real-Life Scenario

A teacher marking a pile of exam scripts checks five things before recording scores: is every page there (complete), is every name written properly (consistent), are the scores possible numbers out of 100 (valid), has anyone handed in twice (unique), and do the page totals add up to the final mark (accurate).

The Five Dimensions

DimensionThe questionHow to check it in Excel without formulas
CompletenessIs anything missing?Filter each column for (Blanks); compare Count in the status bar column by column
ConsistencyIs the same thing always written the same way?Open the filter list of each text column and read every entry
ValidityIs every value the right type and possible?Alignment; sort numbers smallest to largest and look at both ends
UniquenessIs any record in twice?Highlight duplicate values in the ID column
AccuracyDo values agree with each other, and with the other tabs?Spot-check prices against the Product Catalogue and branches against the Staff Directory

Dimension 1: Completeness

Turn on filters, then check each column for blanks.

Find the blanks in one column

1.Click any cell in the data › Data › Filter
2.Click the arrow on the Quantity header › Untick (Select All) › Scroll to the bottom and tick (Blanks) › OK
What we are looking atWe want to see only the sales where Quantity is empty, and how many there are.
XTechPlug_Sales_Workbook.xlsx - Excel
Quantity filtered to (Blanks)
A⋯D⋯FG
1Transaction_IDProduct_NameQuantityUnit_Price
⋮⋮⋮⋮⋮
22TP-0511LG Washing Machine285,000
⋮⋮⋮⋮⋮
33TP-0379LG Washing Machine285,000
⋮⋮⋮⋮⋮
73TP-0336JBL Bluetooth Speaker45,000
⋮⋮⋮⋮⋮
139TP-0143Thermocool AC 1.5HP380,000
⋮⋮⋮⋮⋮
189TP-0592LG 32" TV180,000
⋮⋮⋮⋮⋮
235TP-0649Acer Aspire 5410,000
25 rows match the filter. The first 6 are shown.
25 of 1,070 records foundCleaning ProcessSales DataProduct CatalogueStaff Directory

25 sales have no Quantity. Look at what that means: the product and its price are known, but not how many were sold, so nobody can say what those sales were worth. Write that down; it decides how they are handled in Week 3.

Now try Customer_Type

1.Quantity arrow › Clear Filter From "Quantity"
2.Customer_Type arrow › Untick (Select All) › Tick (Blanks) › OK

This time the status bar says 15 of 1,070 records found: 15 sales with no customer type recorded. Check the other ten columns the same way. You should find no other blanks.

Dimension 2: Consistency

Clear the filters. TechPlug has ten branches. Here is every way just one of them, Lagos Island, is typed in the Branch column, with spaces shown as red dots so you can see them:

Branch, exactly as typedRows
Lagos Island57
LAGOS ISLAND21
lagos island6
···Lagos·Island···3
··Lagos·Island···1
·····Lagos·Island1

Across the four name columns the picture is the same:

ColumnReal valuesWays it is typedRows typed wrongly
Staff_Name10101387
Branch1098355
Category515303
Customer_Type39220
Why Your Filter List Looks Shorter Than This

Excel's filter list ignores capital letters, so "LAGOS ISLAND" and "lagos island" appear as one entry with "Lagos Island". It does not ignore spaces, so " Lagos Island " is a separate entry, and a filter on Lagos Island quietly misses those rows. Totals behave the same way. That is also why Category looks fine in its filter list: its only problem is capital letters (SMARTPHONES, smartphones). Excel groups those together, but they still look careless in a report, and tools you will meet later, such as Power Query, do treat them as different. Clean them all.

What we are looking atWe want to see a few of the sales whose Staff_Name and Branch are typed differently from the Staff Directory.
XTechPlug_Sales_Workbook.xlsx - Excel
Inconsistent names
A⋯HIJ
1Transaction_IDStaff_IDStaff_NameBranch
⋮⋮⋮⋮⋮
7TP-0474EMP-006···EMEKA·NWOSUENUGU
⋮⋮⋮⋮⋮
13TP-0878EMP-008seun olatunjiport harcourt
⋮⋮⋮⋮⋮
25TP-0054EMP-001chidi okonkwoLAGOS ISLAND
⋮⋮⋮⋮⋮
40TP-0983EMP-005YUSUF ABDULLAHIKADUNA
41TP-0144EMP-005yusuf abdullahiKADUNA
⋮⋮⋮⋮⋮
52TP-0267EMP-004···AISHA·MUSA·····Kano
⋮⋮⋮⋮⋮
57TP-0031EMP-009blessing okoro···Warri···
Staff_ID is always right; the names typed beside it are not.
Cleaning ProcessSales DataProduct CatalogueStaff Directory

Notice that Staff_ID is perfect on every row. The codes were picked from a list; the names were typed by hand. That is the commonest pattern in real data, and the reason Week 4 teaches you to look names up from their codes.

Dimension 3: Validity

Every number column should be right-aligned. Every date should be a real date. Then sort each number column and look at the smallest and largest values: is either end impossible?

Click path

1.Quantity filter arrow › Sort Smallest to Largest
2.Look at the top, then press Ctrl + Down Arrow to see the bottom
3.Undo the sort with Ctrl + Z

Quantity runs from 1 to 10: no zeros, no negatives. Dates run from 2024-01-01 to 2024-03-31, the first three months of 2024. Every Quantity and Unit_Price that is there is a real number. The sheet passes this dimension. Saying so is a finding too.

Always Undo the Sort

Sorting while the whole table is selected moves whole rows, which is safe. Sorting a column on its own, after selecting just that column, scrambles the table: quantities end up next to the wrong sales. If Excel asks "Expand the selection?", always choose Expand. When you are only looking, press Ctrl + Z afterwards.

Dimension 4: Uniqueness

Highlight any repeated Transaction_ID

1.Select column A › Home › Conditional Formatting › Highlight Cells Rules › Duplicate Values › OK

40 cells turn red: 20 Transaction_IDs appear twice. Sort by Transaction_ID to put each pair side by side. Here is one, TP-0210:

What we are looking atWe want to see both rows of TP-0210, to decide whether this is one sale entered twice or two different sales.
XTechPlug_Sales_Workbook.xlsx - Excel
Both rows of TP-0210
ABCDEFGHIJKL
1Transaction_IDDateProduct_IDProduct_NameCategoryQuantityUnit_PriceStaff_IDStaff_NameBranchCustomer_TypePayment_Method
⋮⋮⋮⋮⋮⋮⋮⋮⋮⋮⋮⋮⋮
4TP-02102024-03-13PRD-018Anker Power Bank 20KAccessories728,000EMP-007fatima garbaAbujaRETAILCredit
⋮⋮⋮⋮⋮⋮⋮⋮⋮⋮⋮⋮⋮
1052TP-02102024-03-13PRD-018Anker Power Bank 20KAccessories728,000EMP-007fatima garbaAbujaRETAILCredit
Row 4 and row 1,052.
Cleaning ProcessSales DataProduct CatalogueStaff Directory

Every column is the same. This is one sale entered twice, and it would be counted twice in every total. The same is true of all 20 pairs. Remove the highlight afterwards with Conditional Formatting > Clear Rules > Clear Rules from Entire Sheet.

Dimension 5: Accuracy

This workbook gives you something most files do not: two reference tabs to check against. Pick five sales. For each, find its Product_ID on the Product Catalogue tab and compare the Unit_Price; find its Staff_ID on the Staff Directory tab and compare the Branch.

What we are looking atWe want to spot-check five sales: their codes, price and branch, ready to compare with the other two tabs.
XTechPlug_Sales_Workbook.xlsx - Excel
Spot check
A⋯C⋯GH⋯J
1Transaction_IDProduct_IDUnit_PriceStaff_IDBranch
2TP-0892PRD-015380,000EMP-004Kano
3TP-0785PRD-00475,000EMP-007Abuja
4TP-0210PRD-01828,000EMP-007Abuja
5TP-0343PRD-009250,000EMP-004Kano
6TP-0238PRD-02018,000EMP-003Ibadan
1,070 records in rows 2 to 1071. Rows 2 to 6 shown.
Cleaning ProcessSales DataProduct CatalogueStaff Directory

All five prices match the catalogue, and all five branches match the directory, once you ignore the capitals and spaces. In Week 4 you will check all of them in one go with XLOOKUP; for now, a spot-check is enough to say the prices and branches look right.

Picture This

Picture the teacher with the exam pile and a checklist of five ticks on a sticky note: pages, names, possible scores, nobody twice, totals add up. She does not search for "anything wrong"; she checks five things, every time.

3. Write It Down

What a Good Finding Looks Like

A finding someone can act on names four things: what the problem is, which column, how many rows, and why it matters. Compare:

WeakStrong
"Some names are messy.""Branch: 355 rows have wrong capitals or extra spaces, so a filter or total on Lagos Island misses some Lagos Island sales."
"There are blanks.""Quantity: 25 rows are blank, so those sales cannot be valued."
Try This

Write your list now, before opening the model report. One line per finding, in the strong style. Include the dimensions where you found nothing wrong: "Validity: every number and date is real" is a finding your manager needs to know too.

Model report: open this only after writing your own list

Here is the full report for Sales Data:

  • Rows: 1,070 rows of sales in rows 2 to 1,071, 12 columns.
  • Completeness: Quantity is blank in 25 rows, so those sales cannot be valued. Customer_Type is blank in 15 rows. No other blanks.
  • Consistency: Staff_Name is typed 101 ways for 10 people (387 rows); Branch 98 ways for 10 branches (355 rows); Category 15 ways for 5 categories (303 rows, capitals only); Customer_Type 9 ways for 3 types (220 rows). Product, ID, payment and date columns are consistent.
  • Validity: all numbers are real numbers; Quantity runs 1 to 10; all dates are real, January to March 2024.
  • Uniqueness: 20 Transaction_IDs appear twice, every column identical: 20 sales entered twice.
  • Accuracy: spot-checked prices match the Product Catalogue, and branches match the Staff Directory. Full check in Week 4.

Now open the Cleaning Process tab. Its first steps are these findings, in this order.

Checkpoint

Q1. Why does column A count more cells than column F?

Column A has a value in every row. Column F (Quantity) has 25 empty cells, and Count only counts cells that contain something.

Q2. Why does a filter on "Lagos Island" miss some Lagos Island sales?

The filter ignores capitals but not spaces. " Lagos Island " with spaces is a different value.

Q3. Category looks fine in its filter list. Is it clean?

No. It is typed in capitals and small letters. Excel groups those together, but they look careless and other tools treat them as different. It needs cleaning too.

Q4. Two rows share a Transaction_ID. How do you know it is a duplicate and not two sales?

Compare every column. If all twelve are the same, it is one sale entered twice.

Tick Before You Move On

  • ☐ I labelled all twelve columns as text, number or date
  • ☐ I confirmed there are 1,070 rows, in rows 2 to 1,071
  • ☐ I checked all five dimensions of data quality
  • ☐ I found the 25 blank quantities and the 15 blank customer types
  • ☐ I found the inconsistent names in four columns
  • ☐ I found the 20 duplicated sales
  • ☐ I spot-checked prices and branches against the other two tabs
  • ☐ I wrote my findings in the strong style

Quick Recap

Inspect before you analyse: an analysis is only as good as the data under it. Check five dimensions every time: completeness, consistency, validity, uniqueness, accuracy. Filters, sorting, the status bar and the reference tabs find most problems without a single formula. A useful finding names the problem, the column, the count, and why it matters.

Final Scenario

On Monday, a TechPlug manager asks you for total sales by branch "by lunchtime".

Because you inspected the sheet first, you know three things she does not: 20 sales are in it twice, Branch is typed 98 different ways, and 25 sales have no quantity.

You tell her: "I can give you the totals by lunchtime, after a short clean-up. Without it, some branches will look bigger than they are and others smaller." She has never had an analyst say that before. It is the moment she starts trusting your numbers.

The problems you find before you calculate are the mistakes you never have to explain.

Next, Week 2, Live 1: we start fixing, following the Cleaning Process tab: removing the duplicates, finding the blanks, and deciding what to do with each. Your tutor will also send the Verdant Foods file for your pod project.

Learn this with a real instructor

Free lessons take you a long way on your own. The full programmes add live classes, assignments, Skill Points and a certificate — built for African students.