Three Excel Foundations for Every Data Analyst

Learn the three Excel foundations every analyst needs. Understand formulas, lookups, and pivot tables using first principles, examples, and clear tables.

blog
Coronavirus / Covid-19 cases in the United States, PC: KOBU Agency, Unsplash

This article explains how to build strong Excel analysis skills using 3 foundational skills; formulas, lookups and pivot tables with clear examples and structured practice.

Strong analysis starts with order. Excel rewards clear thinking. You perform better when you master three skills. Formulas. Lookups. Pivot tables. This article explains each skill from first principles. One dataset. Clear examples. Direct use.

Example Dataset Exactly as It Appears in Excel

Assume your worksheet looks like this.

ABCDEFGH
1OrderIDCustomerProductCategoryOrderDateQuantityUnitPriceRegion
21001john doeMaizegrain3/1/24105north
31002Mary KRiceGrain01-03-202457North
41003JOHN DOEmaizeGrains2024/03/0285south

Do not analyze yet. First clean and structure.

1. Formulas. Build Reliable Data

A. Aggregation Formulas

Step 1. Create Total Sales Per Order

Insert a new column I.

I
1TotalSales

In cell I2 type:

=F2*G2

Copy down to I4.

Result.

AFGI
2100110550
310025735
410038540

Step 2. Calculate Summary Values

Below the table.

Total sales in I6:

=SUM(I2:I4)

Average order value in I7:

=AVERAGE(I2:I4)

Number of orders in I8:

=COUNT(I2:I4)

B. Logical Formulas

Step 3. Classify Order Size

Insert column J.

J
1OrderSize

Rule. Orders above 40 equal Large.

In J2 type:

=IF(I2>40,"Large","Normal")

Copy down.

Result.

IJ
250Large
335Normal
440Normal

Step 4. Apply Multiple Conditions

Insert column K.

K
1PriorityFlag

Rule. Large orders in North equal Priority.

In K2 type:

=IF(AND(I2>40,H2="North"),"Priority","Standard")

Copy down.

Step 5. Protect Against Errors

Example calculation.

In L2 type:

=IFERROR(F2/G2,0)

This prevents error values.

C. Text Cleaning Formulas

Step 6. Clean Customer Names

Insert column M.

M
1CleanCustomer

In M2 type:

=PROPER(TRIM(B2))

Copy down.

Result.

BM
2john doeJohn Doe
3Mary KMary K
4JOHN DOEJohn Doe

Step 7. Clean Product Names

Insert column N.

N
1CleanProduct

In N2 type:

=PROPER(TRIM(C2))

Copy down.

Step 8. Clean Categories

Insert column O.

O
1CleanCategory

In O2 type:

=LOWER(TRIM(D2))

Copy down.

Result.

DO
2graingrain
3Graingrain
4Grainsgrains

Manually standardize remaining labels.

D. Date Formulas

Step 9. Standardize Dates

Insert column P.

P
1CleanDate

In P2 type:

=DATE(YEAR(E2),MONTH(E2),DAY(E2))

Copy down.

Step 10. Extract Month and Year

Insert column Q.

Q
1Month

In Q2 type:

=MONTH(P2)

Insert column R.

R
1Year

In R2 type:

=YEAR(P2)

Result.

EPQR
23/1/2401/03/202432024
301-03-202401/03/202432024
42024/03/0202/03/202432024

2. Lookups. Connect Data

Reference Table on Sheet PriceTable

AB
1ProductStandardPrice
2Maize5
3Rice7

Step 11. Use XLOOKUP

Back in sales sheet.

In G2 type:

=XLOOKUP(N2,PriceTable!A:A,PriceTable!B:B)

Copy down.

Step 12. Use INDEX and MATCH

Alternative.

=INDEX(PriceTable!B:B,MATCH(N2,PriceTable!A:A,0))

3. Pivot Tables. Analyze Clean Data

Step 13. Create Pivot Table

Select A1:R4.

Insert Pivot Table.

Example. Sales by Product

Rows. CleanProduct
Values. Sum of TotalSales

ProductSum of TotalSales
Maize90
Rice35

Example. Sales by Region

Rows. Region
Values. Sum of TotalSales

RegionSum of TotalSales
North85
South40

Example. Monthly Sales

Rows. Month
Values. Sum of TotalSales

MonthSum of TotalSales
3125

Download the Excel practice workbook

Practice Rule

Type every formula manually.
Reference real cells.
Check results row by row.
Repeat using new data.

Excel skill grows through structure and repetition.

GlenH Profile Photo

GlenH - Jan 4, 2026gghayoge at gmail.com

GlenGH Logo

© 2026 Glensea.com - Contents from 2018 / Open Source Code

Crafted using - ReactNextJSMDXTailwind CSS& ContentLayer2Hosted on Netlify