Excel for Data Analysis: Essential Formulas, Functions and Examples

You open a spreadsheet containing hundreds of fictional learning-resource records. Which subject has the most study sessions? How many sessions were completed? What is the average duration, and do missing records affect it? At first, every row looks like another collection of numbers. The real skill is learning to transform those rows into answers that are measurable, traceable and honest about uncertainty.

This complete Excel for data analysis tutorial teaches how to organize, clean, calculate, join, summarize and visualize structured information using Microsoft Excel. We use one original Global Student Learning Resources Engagement Dataset from the first cell formula to the final project. The downloadable package provides a starter workbook, completed eight-sheet workbook, a formula reference, twenty exercises with solutions, realistic example charts and a project report template.

The source dataset is entirely synthetic: no actual students, grades, addresses or school records were collected. We deliberately included a few duplicate identifiers, invalid values, missing measurements and inconsistent labels to make data-cleaning decisions meaningful. All fixed numerical findings in this guide were checked against the cleaned records. Excel features and formula compatibility were cross-checked with Microsoft’s official function reference, Excel Table documentation and related product guides.

Quick answer: Excel data analysis means preparing structured data, using formulas and functions to calculate reliable measures, summarizing the records with tables or PivotTables, then explaining charts and findings carefully. Start by checking data types, defining what each row means and preserving the raw information. A correct formula does not rescue an invalid dataset or prove a causal relationship.

Conceptual flow from 180 raw source rows to validation, formulas, charts and careful interpretation.
From raw data to evidence: the workbook records its cleaning choices before displaying calculated findings.

What is data analysis in Excel?

Data analysis is the systematic process of asking a question, preparing relevant observations, calculating summaries, investigating patterns and interpreting what the evidence can support. In a spreadsheet, raw data are the original observations; cleaned data have documented quality corrections; calculated fields add derived values; and summaries combine rows into measurements such as counts, averages and totals. A chart visualizes such measurements. The conclusion must still explain the limitations of the source data.

Excel is useful because you can inspect cells directly, change assumptions, reuse formulas, create tables and produce straightforward charts without writing a full application. It works well for manageable datasets, classroom research, budgeting, quality checks and many organizational analyses. Its weaknesses include manual editing errors, workbook-version incompatibilities, difficult collaboration, large-scale data constraints and less reproducible transformations than well-tested scripted pipelines. Excel, SQL and Python complement rather than replace one another.

Meet the fictional eight-sheet learning workbook

WorksheetPurpose
READMEStudy directions, sample provenance and software compatibility
Raw_Sessions180 original fictional session records, with controlled quality defects
Resources32 unique learning-resource IDs, subject names and metadata
Clean_Sessions175 accepted events; normalized labels and resource lookups
AnalysisLive formulas, independently verified values and analysis charts
Formula_Guide50 copyable formulas, definitions and reference values
Practice20 independent tasks with blank answer cells
Answer_KeyVerified expected outputs, formulas and explanations

The main sessions dataset includes SessionID, LearnerCode, ResourceID, SessionDate, StudyLevel, Region, MinutesSpent, Completed and Rating. The resource catalog supplies ResourceID, Subject, ResourceTitle, ResourceType, Difficulty and EstimatedMinutes. Each resource ID uniquely identifies one catalog entry. The cleaned worksheet also contains lookup-derived Subject, ResourceType and ResourceTitle, plus a Month grouping field.

There are 30 possible learner codes, eight subjects and records dated January–June 2026. The raw file contains exactly 180 event rows. Two duplicate SessionID entries, two negative durations and one unknown resource ID were excluded under documented rules, leaving 175 accepted events. Seven valid sessions retain missing duration, and 53 retain missing rating. Those blanks are not converted into invented observations. Different questions therefore have different valid denominators.

Documented synthetic-data cleaning audit 180 raw sessions with five excluded problematic rows.
Five exclusions are reproducible; missing values in otherwise valid rows remain explicitly missing.

Understanding the Excel interface: workbooks, cells and ranges

A workbook is an Excel file containing one or more worksheets. Columns use labels such as A, B and C, while rows are numbered. A cell address such as G2 identifies a position; a range such as G2:G176 includes all listed cells between its endpoints. The formula bar displays the underlying contents of the active cell. Cell formatting controls how a value looks, but changing decimal display places does not necessarily change the stored number.

An Excel Table is more than cells with decorative borders. It provides a managed range with headers, filters, consistent column names and structured references that can expand when new rows are added. Charts turn selected measures into a visual comparison. The Ribbon groups commands such as inserting tables, filtering, conditional formatting and PivotTables; the precise interface arrangement may vary by Excel edition, device and web-versus-desktop environment.

Illustrative labelled Excel worksheet anatomy showing cells, ranges, tables and formula bar; not a product screenshot.
A conceptual interface illustration, not an unverified screenshot of Microsoft Excel.

Formula versus function: how calculations begin

A formula is an expression beginning with =, such as =A2+B2. A function is a built-in operation used inside a formula: =SUM(A2:A10) adds values in a range. Excel evaluates arithmetic using an order of operations, so parentheses matter: =(A2+B2)/2 explicitly calculates an average of two cells. When you copy formulas, Excel normally adjusts relative references to the destination position.

Formula argument separators depend on regional settings; you might use semicolons instead of commas in a particular installation. Decimal punctuation, date formats and list separators also vary. For cross-region reproducibility, keep the companion workbook’s true numeric types and ISO-documented dates, and treat displayed formatting as a separate decision. If Excel shows a formula as text, check whether a leading apostrophe was intentionally used in the Formula_Guide to preserve a copyable example.

Relative, absolute and mixed references

ReferenceMeaning when copied
A1Row and column are relative; both can change
$A$1Both column A and row 1 remain fixed
$A1Column A stays fixed; row can change
A$1Row 1 stays fixed; column can change

Suppose you enter =B2*$F$1 to multiply a row’s minutes by one conversion rate in F1. Fill it down one row and the first reference becomes B3, but $F$1 still points to the fixed conversion cell. That design avoids hardcoding the same rate into every row. The F4 shortcut can cycle common reference modes in supported desktop Excel environments, although shortcut behavior differs across devices. Test a copied formula in a second row before filling an entire analysis.

Diagram distinguishing relative, absolute and mixed Excel cell references.
Reference locking becomes essential when formulas are copied across analytical columns or down large datasets.

Excel Tables and structured references

The companion workbook names its accepted-session table tblSessions and its catalog table tblResources. A structured reference such as tblSessions[MinutesSpent] means the entire MinutesSpent data column. Inside a calculated column of the table, [@MinutesSpent] means the value in the current row. This can make formulas clearer than a long fixed range, especially after new records are appended.

To create a Table yourself, select a rectangular dataset with one header row, choose Insert → Table or an equivalent command, confirm that headers are present, and assign the table a descriptive name. Avoid blank, duplicated or merged field headings. In the completed workbook, the lookups from ResourceID are already supplied through compatible INDEX/MATCH formulas. If you change the catalog intentionally, verify that the resource key remains unique and that unmatched IDs are identified.

Core statistical formulas: SUM, AVERAGE, MIN, MAX, COUNT and COUNTA

=SUM(tblSessions[MinutesSpent])
=AVERAGE(tblSessions[MinutesSpent])
=MIN(tblSessions[MinutesSpent])
=MAX(tblSessions[MinutesSpent])
=COUNT(tblSessions[MinutesSpent])
=COUNTA(tblSessions[SessionID])

SUM adds the 168 measured durations, giving 8,225 recorded minutes. AVERAGE divides this sum by 168 nonblank numeric durations—not by all 175 accepted rows—yielding about 48.96 minutes. MIN is 15 minutes and MAX is 90 minutes. COUNT returns 168 because it counts numeric entries, whereas COUNTA returns 175 for the accepted SessionID field because it counts nonempty identifiers. An empty cell and a real observed zero are not interchangeable.

Missing-value handling is a scientific decision rather than a formatting trick. If seven session durations are unrecorded, replacing them with zero would change the meaning of the mean. If a study question instead required total events, COUNT on a numeric duration would undercount. Use COUNTA(tblSessions[SessionID]) for complete identifiers and explicitly report 168 measured durations whenever averaging or summing recorded minutes.

Median, rounding and standard deviation

=MEDIAN(tblSessions[MinutesSpent])
=ROUND(AVERAGE(tblSessions[MinutesSpent]),2)
=STDEV.S(tblSessions[MinutesSpent])

The median is the middle value after sorting the measured durations; our median is 50 minutes. It can be useful when a few unusually large or small observations influence the mean. ROUND calculates a rounded numerical value, here 48.96 minutes, whereas setting a number format to two decimal places only changes its appearance. STDEV.S measures sample variation among valid durations and gives approximately 21.30 minutes; the population standard deviation follows a different denominator and should be selected deliberately.

A positive sample standard deviation indicates dispersion, not evidence of harmful behavior or poor learning. The modelled session duration is fictional, and categories such as StudyLevel are invented. To inspect outliers, compare a histogram or sorted duration list with the median and maximum. Do not delete extreme values simply because they appear inconvenient; investigate whether they are invalid, unusual yet genuine, or generated by the study process.

Logical formulas: IF, AND, OR, IFS and IFERROR

An IF function returns one value when a condition is TRUE and another when it is FALSE. You might classify a measured session lasting at least 30 minutes as “Long” and a shorter one as “Short.” This cutoff is a teaching convention, not a scientific standard for study duration. A safer formula first checks whether the duration is missing; otherwise Excel may treat an empty cell as though it were a numeric zero. Avoid interpreting the resulting category as a judgment about achievement.

=IF([@MinutesSpent]="","Unknown",IF([@MinutesSpent]>=30,"Long","Short"))
=AND([@MinutesSpent]>=30,[@Completed]="Yes")
=OR([@StudyLevel]="Secondary",[@Region]="North")

AND returns TRUE when every condition holds, whereas OR returns TRUE if any specified condition is satisfied. Both are useful inside filters and conditional formatting rules. IFS can test several branches in compatible versions, but the order matters: first handle missing values, then shorter measured sessions, and use the final branch for longer ones. A nested IF is a workable legacy alternative. IFERROR displays a fallback if a formula fails; do not use it to silently disguise all data-quality problems.

=IFS([@MinutesSpent]="","Missing",[@MinutesSpent]<30,"Short",TRUE,"Long")
=IFERROR(INDEX(tblResources[Subject],MATCH([@ResourceID],tblResources[ResourceID],0)),"Not found")

COUNTIF and COUNTIFS: count records that match your rules

COUNTIF uses one condition. For our cleaned data, =COUNTIF(tblSessions[Completed],"Yes") returns 124 completed sessions. This formula depends on the normalization of Yes/No labels: extra spaces and inconsistent capitalization in the raw data were corrected before counting. The result counts events, not unique learners. COUNTIFS requires every criterion to match in the same row, such as Biology together with completed status.

=COUNTIF(tblSessions[Completed],"Yes")
=COUNTIFS(tblSessions[Subject],"Biology",tblSessions[Completed],"Yes")

The second formula returns 22 completed Biology sessions. It works because the Subject field already exists as a resource-lookup column in tblSessions. In COUNTIFS, all criteria ranges must have corresponding row dimensions; you cannot compare a 175-row session column to a 32-row resource catalog field as if each position described the same event. Try changing the subject criterion to Physics and checking the result against a pivot-style group summary.

SUMIF and SUMIFS: add only the relevant durations

SUMIF sums a numeric field for records satisfying one criterion. Summing the recorded MinutesSpent values for Biology gives 1,260 minutes. SUMIFS applies multiple conditions and expects the sum range first, followed by criteria range and criterion pairs. The distinction matters: selecting completed Mathematics sessions requires both the subject and status tests, not just one.

=SUMIF(tblSessions[Subject],"Biology",tblSessions[MinutesSpent])
=SUMIFS(tblSessions[MinutesSpent],tblSessions[Subject],"Mathematics",tblSessions[Completed],"Yes")

The SUMIFS formula returns 1,310 recorded minutes for Mathematics sessions marked completed. Blanks in MinutesSpent are not invented as measured zero duration. The result describes simulated logged minutes, not the time each person genuinely learned or the quality of their knowledge. When reporting it, also include the number of completed sessions and how many duration measurements were available. A sum without those denominators can be technically correct yet analytically incomplete.

AVERAGEIF, AVERAGEIFS and SUMPRODUCT

=AVERAGEIF(tblSessions[Subject],"Biology",tblSessions[MinutesSpent])
=AVERAGEIFS(tblSessions[MinutesSpent],tblSessions[Subject],"Biology",tblSessions[Completed],"Yes")
=SUMPRODUCT(--(tblSessions[Completed]="Yes"),--(tblSessions[StudyLevel]="Secondary"))

AVERAGEIF calculates a mean from numeric values matching one condition, whereas AVERAGEIFS matches several. The Biology overall mean and the Biology completed-only mean both happen to equal 45 minutes in this dataset. They are distinct questions despite identical numerical outcomes. The average ignores missing duration cells; a category with no qualifying measured values must be reported as missing or undefined rather than automatically treated as zero. In the completed Analysis sheet, an equivalent SUMIFS divided by a COUNTIFS of nonblank measurements is also used for formula-engine compatibility.

SUMPRODUCT multiplies corresponding array values and totals the products. The double unary operators in the example convert logical TRUE/FALSE tests into 1/0, counting 34 completed Secondary-level sessions. It is useful for some array conditions, although simpler COUNTIFS formulas are often easier for beginners to audit. Keep array dimensions consistent and explain precisely which event qualifies.

Verified synthetic COUNTIF COUNTIFS SUMIFS AVERAGEIFS outputs with 124 completed sessions.
The four illustrated results were calculated and independently checked using the original fictional dataset.

XLOOKUP, VLOOKUP and INDEX/MATCH: join a session with its resource

A session record stores ResourceID rather than repeatedly copying a resource’s complete catalog description. To analyze activity by subject, we need an exact-match lookup from the session key to tblResources. For example, R007 matches Chemistry. XLOOKUP takes a lookup value, lookup array, return array and optional missing-match response. Its exact-match behavior is convenient, but Excel 2016 and Excel 2019 do not provide XLOOKUP; use VLOOKUP or INDEX/MATCH in those older editions.

=XLOOKUP([@ResourceID],tblResources[ResourceID],tblResources[Subject],"Not found")
=VLOOKUP([@ResourceID],tblResources[[ResourceID]:[Subject]],2,FALSE)
=IFERROR(INDEX(tblResources[Subject],MATCH([@ResourceID],tblResources[ResourceID],0)),"Not found")

VLOOKUP requires the lookup key in the first column of its selected table and a numeric return-column index. Use FALSE for exact matches; omitting it can produce an unintended approximate match. INDEX/MATCH separates finding the key position from returning its corresponding value, making it a flexible older-compatible method. MATCH with a third argument of zero specifies exact matching. If ResourceID is duplicated in the catalog, first-match lookup behavior may hide ambiguity; the companion resource IDs were constructed uniquely.

The raw ID R999 deliberately has no catalog match. It must be flagged and handled through the cleaning policy rather than assigned an invented subject. The Clean_Sessions sheet keeps calculated Subject, ResourceType and ResourceTitle columns tied to ResourceID, and the workbook’s basic lookup results were inspected against independent mapping logic. A failed lookup does not necessarily indicate a defective spreadsheet formula: it may reveal a legitimate source-data problem.

ResourceID R007 resolves to Chemistry and R999 is correctly treated as an unknown key.
A traceable relationship is preferable to manually guessing a missing resource classification.

Clean inconsistent text without rewriting raw records

The raw data intentionally contain variations such as the region label NORTH , a lowercase study level with extra spaces, and a completed status with inconsistent capitalization. In a clean analytical table, such values should map to a consistent category where that mapping is justified. TRIM removes ordinary repeated spaces, while UPPER, LOWER and PROPER change capitalization. They are tools, not universal correction rules: a proper noun, student code or scientific symbol may require its original case.

=TRIM("  NORTH ")
=PROPER("environmental science")
=LOWER("YES")
=UPPER("north")

CLEAN removes some nonprinting control characters but does not remove every possible Unicode invisible symbol. Nonbreaking spaces sometimes survive an ordinary TRIM, so a targeted formula can use SUBSTITUTE with CHAR(160) before trimming. LEFT, RIGHT and MID extract code fragments; LEN measures character length; and FIND and SEARCH locate substrings, respectively with and without normal case sensitivity. TEXTJOIN combines values with a separator and optional blank-value handling.

=TRIM(SUBSTITUTE(A2,CHAR(160)," "))
=LEFT("L009",1)
=RIGHT("R007",3)
=MID("R007",2,2)
=LEN("R007")
=TEXTJOIN(" - ",TRUE,"Mathematics","Lesson")

For this project, the cleaning policy preserves all 180 source rows on Raw_Sessions and creates 175 accepted rows on Clean_Sessions. Two duplicate session identifiers, two negative measured durations and one unknown resource ID are excluded; seven accepted duration cells remain blank because their values were never observed. Removing every repeated learner code would be wrong: one learner can legitimately have several different sessions. Keep a record of every transformation so another analyst can reproduce the accepted sample.

Dates: TODAY, DATE, YEAR, MONTH, DAY, TEXT and EOMONTH

A real Excel date is a serially represented date value, not just text formatted to resemble a date. Our cleaned workbook stores genuine date cells, and the Month column contains a separate year-month label. DATE constructs a date, while YEAR, MONTH and DAY extract its components. TEXT can produce a formatted month key such as 2026-03, but that result is text rather than a native date. Sorting a fixed yyyy-mm string works here, though not all locale-specific formatted strings are safe chronological keys.

=DATE(2026,3,15)
=YEAR([@SessionDate])
=MONTH([@SessionDate])
=DAY([@SessionDate])
=TEXT([@SessionDate],"yyyy-mm")
=EOMONTH(DATE(2026,3,15),0)

EOMONTH returns the last date of the requested month, so March 2026 gives March 31. NETWORKDAYS counts weekdays over a date interval, with an optional list of holidays; it assumes the normal Saturday/Sunday weekend in its standard form. TODAY returns the environment’s current date and can change when the workbook recalculates, so we avoid a fabricated fixed output for that function. Always confirm the date system and region before merging files from different sources.

The source dates span January through June 2026. After excluding the five invalid records, the monthly event counts are 29, 30, 29, 28, 29 and 30. Their sum is exactly 175. They describe logged activity in the fictional data, not a real seasonal trend, and should not be confused with the number of unique learners in each month.

Executed synthetic monthly session counts Jan 29 Feb 30 Mar 29 Apr 28 May 29 Jun 30.
Verified chronological activity, with a defined unit of accepted session events.

Dynamic arrays: FILTER, UNIQUE, SORT and SORTBY

Modern Excel has formulas that return an entire array of results rather than a single cell. FILTER chooses matching rows, UNIQUE returns distinct values, SORT orders an array, and SORTBY sorts based on a separate associated range. In supported Excel versions, a result can “spill” into neighboring cells. Place the formula outside an Excel Table in an empty output area; an obstructing value may generate a #SPILL! error.

=FILTER(tblSessions,tblSessions[Completed]="Yes","No matching records")
=SORT(UNIQUE(tblSessions[Subject]))

The FILTER example would return 124 completed-session rows from the current fixture. The distinct-subject expression returns eight subject names sorted alphabetically. Excel for Microsoft 365, Excel 2021 and Excel 2024 support the modern functions discussed here, but Excel 2016 and 2019 require alternatives such as built-in filters, helper columns, or PivotTables. Excel for the web and alternative spreadsheet applications can differ in detailed compatibility; check the current version and supported formula list rather than assuming every workbook will recalculate identically.

Cleaning without formulas: remove duplicates, validation and conditional formatting

Excel also supplies interface tools for tasks that do not require formulas. Remove Duplicates can delete records judged duplicates, but only after the identifier and business meaning have been defined. Our policy treats repeated SessionID as an error; it does not remove all rows belonging to the same LearnerCode because repeated sessions are valid. Find and Replace can correct a documented text pattern; Text to Columns can split structured text; and Flash Fill, where available, suggests pattern-based transformations that still need inspection.

Data Validation helps restrict new entries to expected choices such as Yes/No, study levels or resource identifiers. Conditional Formatting can flag negative numbers, blank fields, duplicate identifiers or unusually long measured durations using colors and data bars. These features reveal issues but do not guarantee their correction. Preserve the original data before changing any rules and ensure highlighted colors have sufficient contrast for readers who do not perceive every color equally.

For a useful exercise, highlight Raw_Sessions durations less than zero, then compare those two flagged source rows with the README’s exclusion list. Next, highlight missing rating cells without replacing them with guesses. Finally, apply a rule to identify duplicate SessionID entries and explain why two different sessions from the same LearnerCode should remain. The activity teaches the difference between cleaning measurement errors and erasing legitimate repeated observations.

Build and validate a PivotTable

A PivotTable summarizes rows by dragging fields into Rows, Columns, Values and Filters. On desktop Excel, select a cell inside tblSessions, choose Insert → PivotTable, and create the report in a new worksheet. For PivotTable 1, put Subject in Rows and SessionID in Values, summarized by Count rather than Sum. The expected result is Mathematics 34, Chemistry 33, Physics 30, Biology 29, Geography 14, Economics 13, Computer Science 12 and Environmental Science 10, totaling 175.

For PivotTable 2, put Month in Rows, StudyLevel in Columns and MinutesSpent in Values, summarized by Sum. The six-month, three-level matrix should total 8,225 measured minutes. In the completed downloadable Analysis sheet, both of these reports are already reproduced as formula-driven, PivotTable-equivalent summaries. The file does not contain an automatically generated native PivotTable object: create one with Excel’s Insert → PivotTable command if you want to practise the interactive feature itself.

MonthFirst-Year minutesFoundation minutesSecondary minutes
2026-01295500490
2026-02670400435
2026-03490700215
2026-04420475410
2026-05655405340
2026-06225620480

Before accepting a PivotTable, verify its row count and aggregation type. Text numbers are sometimes counted rather than summed; genuinely missing duration values are excluded from the sum. Refresh the PivotTable after changing the underlying data or source range, and check that the source is the intended cleaned table rather than Raw_Sessions. Creation and refresh options vary between desktop editions and Excel for the web, so refer to Microsoft’s PivotTable instructions for the current interface.

Actual rendered Analysis worksheet values comparing computed formulas with independent reference totals.
This is a genuine spreadsheet render, not a recreated interface screenshot; values are independently checked.

Choose an effective chart without misleading your audience

A column chart compares categories, such as the eight subjects’ event counts. A horizontal bar chart works well for long category names. A line chart shows an ordered time series such as monthly sessions. A histogram helps inspect the distribution of measured durations, and a scatter plot can display an association between two meaningful numeric variables. Do not choose a chart solely because it looks decorative; start from the comparison your research question requires.

Our verified subject chart places Mathematics first with 34 sessions and Environmental Science last with 10. The genuine monthly chart displays only small fluctuations between 28 and 30 accepted events, with no evidence of a dramatic trend. Label axis units, declare that observations are fictional, and avoid 3D effects or truncated axes that exaggerate differences. When charting missing ratings or durations, avoid treating them as actual zeros unless a carefully defined calculation demands that convention.

Verified accepted-session counts by all eight subjects from the completed workbook.
A category comparison based on actual calculated fictional workbook totals.

Descriptive statistics, distribution and responsible interpretation

The mean duration is about 48.96 minutes, the median is 50, and the sample standard deviation is 21.30 minutes. The range runs from 15 to 90 measured minutes. A histogram can reveal whether the measured durations are concentrated around a few typical values or spread broadly; an apparent extreme value still needs quality investigation before removal. Use the mean and median together rather than assuming one statistic represents the entire distribution.

Most importantly, the dataset contains no verified educational outcomes. A logged session marked completed does not prove that the learner understood the material, and longer sessions do not automatically indicate better learning. The region, subject, resource type and study-level labels are fictional. This is an exercise in descriptive analysis, missing-data awareness and reproducible reporting—not a basis for general claims about real people.

Excel versus SQL versus Python: choosing the right tool

Excel combines a familiar graphical interface with formulas, filters, tables and charts, making it helpful for interactive reviews and many manageable analyses. SQL excels at selecting, joining and aggregating structured records stored in databases. Python can automate repeatable cleaning, statistics and visualization, and supports more advanced analysis. These approaches can be used together: retrieve resource logs with SQL, verify and clean them with Python, then explore selected summaries in Excel. No one tool is automatically the best choice for every data volume, team or research question.

Educational explanation of how Excel, SQL and Python contribute to a data-analysis workflow.
The tools can complement one another in a single transparent workflow.

Complete capstone: from raw Excel records to evidence-based findings

Your capstone is to answer ten questions about the fictional workbook while documenting each formula, its input range, its expected outcome and what cannot be inferred. Work from Clean_Sessions and the Analysis sheet for accepted records, and from Raw_Sessions to explain rejected data. A completed assignment should include at least one subject chart, one month chart and a short written interpretation. Open the starter workbook first; use the completed workbook only after making an independent attempt.

Capstone question 1: 1. How many session records are valid?

Use =COUNTA(tblSessions[SessionID]). The verified result is 175, after five documented exclusions from 180 raw rows. This counts accepted event identifiers; it is not the number of unique students. Challenge: compare the five exclusions listed in README with the original source rows.

Capstone question 2: 2. How many accepted sessions were completed?

Use =COUNTIF(tblSessions[Completed],"Yes"). The result is 124, approximately 70.86% of 175 accepted events. A completion status is only a stored flag, not a verified assessment of understanding. Challenge: calculate the rate for First-Year and Secondary levels separately.

Capstone question 3: 3. What is the total measured study time?

Use =SUM(tblSessions[MinutesSpent]). The recorded total is 8,225 minutes across 168 measured sessions. Seven duration values remain missing; it would be misleading to call this the true total of all study time. Challenge: group the recorded minutes by subject and verify that their sums match.

Capstone question 4: 4. What is average valid measured session duration?

Use =ROUND(AVERAGE(tblSessions[MinutesSpent]),2). The mean is 48.96 minutes, with 168 numeric observations. The raw negative durations were excluded before the calculation. Challenge: compare the mean with the verified median of 50 minutes and explain why they need not coincide.

Capstone question 5: 5. Which subject has the most accepted sessions?

Use COUNTIF by subject, or create a PivotTable with Subject in Rows and Count of SessionID in Values. Mathematics has 34 accepted events, narrowly ahead of Chemistry with 33. The subject grouping comes from the resource lookup, not a manually guessed source label. Challenge: count the number of distinct learners within each subject.

Capstone question 6: 6. Which study level has the highest completion rate?

Compare completed event counts against the total events for each level: First-Year 46/59 = 77.97%; Foundation 44/64 = 68.75%; Secondary 34/52 = 65.38%. The highest rate in this sample is First-Year. These fictional differences do not prove greater learning success. Challenge: explain whether different session counts affect the comparison’s reliability.

Capstone question 7: 7. Which resource type is used most frequently?

Use COUNTIF against tblSessions[ResourceType] after confirming the lookup formulas. Worksheet has 53 events, followed by Video 42, Lesson 42 and Quiz 38. Together these counts equal 175. This is observed format use within a simulation; it does not demonstrate that worksheets are the most effective method. Challenge: calculate completion percentage for each resource type.

Capstone question 8: 8. How do accepted events vary by month?

Group Month values with COUNTIF or a PivotTable and draw a chronological line. The results from January through June are 29, 30, 29, 28, 29 and 30. February and June tie for the largest month-level count. Challenge: replace session counts with measured-minute totals and explain the different questions.

Capstone question 9: 9. Which records require a data-quality explanation?

The original input includes two duplicate session identifiers, two negative duration values and one unknown resource key. These five source rows are excluded. Of the 175 accepted events, seven still have missing duration and 53 missing rating. Challenge: propose a defensible rule for missing ratings without fabricating numerical scores.

Capstone question 10: 10. Write three evidence-based findings and limitations.

One defensible summary is: Mathematics has 34 accepted event records, 124 of 175 valid events are marked completed, and 8,225 measured minutes are recorded across 168 measured durations. Each statement is supported by an identified formula or chart. Limitations include fictional generation, a small sample and absent direct learning-outcome measures. Challenge: submit your three findings in the accompanying editable Word report template.

Formula-based reporting worksheet and reproducibility checks

The completed Analysis worksheet contains live formulas next to independently checked reference totals. It reports valid sessions, completion status, a completion rate, measured minutes, an average, a median, standard deviation, subject counts and month counts. The workbook includes two embedded charts built from the grouped data. To verify your own work, compare the totals: session groups must sum to 175, monthly counts also to 175, and the month-by-study-level measured-minute matrix to 8,225. If a result differs, inspect the cleaning rules, missing-value handling and filters before changing the expected answer.

For a formal submission, use the report template to state the research question, provenance of the synthetic data, exclusions, exact formulas, verification totals, charts, three findings and limitations. The PDF answer guide is intended for checking your practice work, not for submitting unchanged. A well-documented difference between your result and the reference can be educational if you can explain which records or criteria caused it.

Common Excel data-analysis mistakes and how to correct them

Formula mistakes 1–5: forgetting the equals sign; referencing an incorrect cell range; copying a formula without fixing an intended absolute reference; entering a numeric value as text; and confusing formula calculation with number display formatting. Check the formula bar and one copied cell before filling down. Test totals against an independent count of source rows.

Data mistakes 6–10: treating date-looking text as a genuine date; using COUNT when COUNTA was intended; including negative invalid durations in an average; replacing unknown values with zero without a rule; and removing every repeated learner record as though it were an accidental duplicate. Preserve the source, document exclusions and identify exactly what one observation represents.

Compatibility mistakes 11–15: using VLOOKUP with approximate matching by accident; using XLOOKUP in Excel 2016 or 2019; ignoring a missing ResourceID; hiding broken formulas with IFERROR; and putting a dynamic-array formula where its spill range is blocked. Microsoft documents function availability by edition: check it before sharing a workbook with another computer.

Reporting mistakes 16–20: forgetting to refresh PivotTables, selecting an inappropriate chart, truncating a chart axis in a misleading way, treating synthetic correlation as proof of causation, and typing summary results as constants instead of formulas that update. A formula-based analytical record is generally easier to verify after legitimate source changes.

ErrorTypical meaningFirst check
#N/AA lookup item cannot be foundLookup key, spaces, key type and catalog
#VALUE!A value or argument has an unsuitable typeNumbers stored as text and mismatched range sizes
#REF!A formula references an invalid locationDeleted columns or moved cells
#DIV/0!Division has a zero denominatorMissing matching observations
#NAME?Excel does not recognize a name or functionSpelling and version compatibility
#SPILL!A dynamic-array result cannot expandOccupied cells or a formula placed inside a Table

Four-week Excel learning roadmap

WeekFocusHands-on deliverable
1 — BasicsCells, references, simple formulas and statisticsExplain eight core calculations and their denominators
2 — ConditionsIF, COUNTIFS, SUMIFS, lookups and legacy alternativesReproduce Biology and Mathematics results
3 — CleaningText, dates, validation, charts and PivotTablesDocument five exclusions and verify two group summaries
4 — CapstoneComplete analysis, 20 exercises and written reportingSubmit charts plus three carefully qualified findings

Four weeks is an introduction to responsible spreadsheet analysis, not a promise of professional mastery. You can progress faster or repeat difficult skills as needed. The important habit is to independently reproduce a result, explain its unit and denominator, and inspect whether the underlying data actually support the conclusion.

Twenty original Excel practice exercises — attempt before revealing answers

The companion Practice worksheet contains these twenty tasks with blank answer areas, and the Answer_Key sheet gives separately verified reference responses. Work through five exercises at a time. Their difficulty increases from relative references and aggregates to conditional calculations, cleaning, lookups and graphical interpretation. Where an Excel edition lacks a modern function, use the documented alternative and state your version.

Level 1 — Foundations

1. Add two relative cell values

Task: Enter 12 in A2 and 8 in B2; write a formula giving their total.

Hint — exercise 1

Refer to both cells instead of typing the result.

Reveal checked answer — exercise 1
=A2+B2

Verified output or method: 20.

2. Sum cleaned study duration

Task: Find the total of accepted recorded minutes.

Hint — exercise 2

Use SUM on tblSessions[MinutesSpent].

Reveal checked answer — exercise 2
=SUM(tblSessions[MinutesSpent])

Verified output or method: 8,225 minutes.

3. Calculate a rounded mean

Task: Find average measured duration to two decimals.

Hint — exercise 3

AVERAGE excludes missing values.

Reveal checked answer — exercise 3
=ROUND(AVERAGE(tblSessions[MinutesSpent]),2)

Verified output or method: 48.96 minutes.

4. Count valid numeric times

Task: Count accepted sessions with a measured duration.

Hint — exercise 4

Use COUNT rather than COUNTA on MinutesSpent.

Reveal checked answer — exercise 4
=COUNT(tblSessions[MinutesSpent])

Verified output or method: 168.

5. Find minimum and maximum

Task: Identify the shortest and longest measured sessions.

Hint — exercise 5

Use MIN and MAX on the same numeric column.

Reveal checked answer — exercise 5
=MIN(tblSessions[MinutesSpent]) and =MAX(tblSessions[MinutesSpent])

Verified output or method: 15 and 90 minutes.

Level 2 — Conditional formulas

6. Classify a 30-minute example

Task: Label an example Long when it reaches the 30-minute cutoff.

Hint — exercise 6

IF evaluates the logical comparison.

Reveal checked answer — exercise 6
=IF(30>=30,"Long","Short")

Verified output or method: Long.

7. Count completed sessions

Task: Count all accepted records marked completed.

Hint — exercise 7

One criterion is sufficient.

Reveal checked answer — exercise 7
=COUNTIF(tblSessions[Completed],"Yes")

Verified output or method: 124.

8. Count completed Biology sessions

Task: Require both Biology and Yes in the same record.

Hint — exercise 8

Use COUNTIFS with matching row ranges.

Reveal checked answer — exercise 8
=COUNTIFS(tblSessions[Subject],"Biology",tblSessions[Completed],"Yes")

Verified output or method: 22.

9. Sum Mathematics completed minutes

Task: Add durations only when subject and completion match.

Hint — exercise 9

SUMIFS takes the sum range first.

Reveal checked answer — exercise 9
=SUMIFS(tblSessions[MinutesSpent],tblSessions[Subject],"Mathematics",tblSessions[Completed],"Yes")

Verified output or method: 1,310 minutes.

10. Find Biology completed mean minutes

Task: Average measured duration for Biology sessions marked Yes.

Hint — exercise 10

AVERAGEIFS ignores blank measured values.

Reveal checked answer — exercise 10
=AVERAGEIFS(tblSessions[MinutesSpent],tblSessions[Subject],"Biology",tblSessions[Completed],"Yes")

Verified output or method: 45 minutes.

Level 3 — Cleaning and lookups

11. Remove ordinary surrounding spaces

Task: Normalize a sample region text value.

Hint — exercise 11

Use TRIM.

Reveal checked answer — exercise 11
=TRIM("  NORTH ")

Verified output or method: NORTH.

12. Remove a nonbreaking space

Task: Repair a known CHAR(160) character after the text North.

Hint — exercise 12

Use SUBSTITUTE before TRIM.

Reveal checked answer — exercise 12
=TRIM(SUBSTITUTE("North"&CHAR(160),CHAR(160)," "))

Verified output or method: North.

13. Handle an unknown ResourceID

Task: Produce a visible fallback when R999 cannot be matched.

Hint — exercise 13

Combine INDEX and MATCH with IFERROR.

Reveal checked answer — exercise 13
=IFERROR(INDEX(tblResources[Subject],MATCH("R999",tblResources[ResourceID],0)),"Not found")

Verified output or method: Not found.

14. Look up the subject for R007

Task: Find the catalog subject using a legacy-compatible exact match.

Hint — exercise 14

Use INDEX/MATCH or XLOOKUP if supported.

Reveal checked answer — exercise 14
=INDEX(tblResources[Subject],MATCH("R007",tblResources[ResourceID],0))

Verified output or method: Chemistry.

15. Make a year-month text label

Task: Format March 15, 2026 as a year-month grouping key.

Hint — exercise 15

Use DATE inside TEXT.

Reveal checked answer — exercise 15
=TEXT(DATE(2026,3,15),"yyyy-mm")

Verified output or method: 2026-03.

Level 4 — Analytical challenges

16. Filter completed rows

Task: Return all accepted completed records in a supported Excel edition.

Hint — exercise 16

Use FILTER outside the Table, or the built-in filter.

Reveal checked answer — exercise 16
=FILTER(tblSessions,tblSessions[Completed]="Yes","No matches")

Verified output or method: 124 returned rows.

17. Build a subject-count PivotTable

Task: Summarize accepted events by subject.

Hint — exercise 17

Rows: Subject; Values: Count of SessionID.

Reveal checked answer — exercise 17
Insert PivotTable using tblSessions; Sum not appropriate for IDs

Verified output or method: Mathematics 34, Chemistry 33.

18. Highlight invalid raw durations

Task: Flag negative source durations before applying cleaning rules.

Hint — exercise 18

Use conditional formatting in Raw_Sessions column G.

Reveal checked answer — exercise 18
Cell Value < 0 on Raw_Sessions!G2:G181

Verified output or method: 2 negative rows.

19. Choose a chart for monthly events

Task: Plot January through June counts in order.

Hint — exercise 19

Use a line or column chart with visible units.

Reveal checked answer — exercise 19
Use Analysis!A35:C40, chart type Line

Verified output or method: 29, 30, 29, 28, 29, 30.

20. Complete an evidence-based report

Task: State three findings, five exclusions and one caution.

Hint — exercise 20

Use Analysis and README, then describe what cannot be inferred.

Reveal checked answer — exercise 20
Template: 175 valid; 124 completed; 8,225 measured minutes

Verified output or method: All data are fictional; no causal claim.

Download the starter workbook, completed workbook and practice resources

Both Microsoft Excel workbooks and the Word project template were successfully uploaded to the connected site’s media library. Download the eight-sheet starter workbook (.xlsx) or the completed formula workbook (.xlsx). You can also get the 50-formula reference (PDF), 20 student exercises (PDF), worked answer guide (PDF) and editable project report template (.docx).

A separate complete ZIP package and raw CSV dataset are available with this article’s completion report. The WordPress media connector accepted .xlsx, .docx, .pdf and PNG files, but not .zip, so the article does not invent a WordPress-hosted archive link. The formula guide contains modern functions as copyable text rather than pretending all modern functions were executed in every Excel version. The completed Analysis sheet’s core calculations and lookup results were evaluated and independently checked; native PivotTable construction remains a student activity in Excel.

Optional Excel courses on Coursera and Udemy

The tutorial and its downloadable workbook require no paid course. These options provide additional structured learning. Disclosure: no approved Notes for SHS affiliate tracking URL was available for verification here; links are ordinary course destinations, not invented sponsored tracking links. Check the courses’ current prerequisites, availability and enrollment terms before joining.

Original editorial Excel subject count chart, not official Coursera artwork

Excel Skills for Business: Essentials

Coursera / Macquarie University: introductory Excel navigation, formulas, data organization and productivity.

View official Coursera course

Original editorial Excel monthly comparison chart, not official Udemy artwork

Microsoft Excel: Data Analysis with Excel Pivot Tables

Udemy: further practice constructing and interpreting PivotTable-based analytical reports.

View official Udemy course

Frequently asked questions about Excel data analysis

Can beginners learn data analysis using Excel?

Yes. Start with well-structured data, basic cell references, SUM and COUNT, then progress to conditional summaries, lookups, cleaning and charts. Practise on fictional records before handling sensitive real datasets.

Which Excel functions matter most to a new analyst?

SUM, COUNT, COUNTA, AVERAGE, IF, COUNTIFS, SUMIFS, AVERAGEIFS, INDEX/MATCH, date functions and basic text cleaning are excellent foundations. Your task determines which are most useful.

What is the difference between COUNT and COUNTA?

COUNT counts numeric cells. COUNTA counts nonempty cells and may count formula-generated empty strings, so neither should be used without understanding the data type and intended denominator.

How do COUNTIFS and SUMIFS differ?

COUNTIFS returns the number of rows meeting all specified criteria; SUMIFS adds the values in a numeric sum range for rows meeting those criteria. Their outputs have different units.

Can Excel 2019 use XLOOKUP?

No. Microsoft’s documentation states that XLOOKUP is not available in Excel 2016 and Excel 2019. Use exact-match VLOOKUP or INDEX/MATCH instead.

How should I remove duplicates from a worksheet?

Define what makes a record duplicate, keep the raw data, inspect affected rows and remove only records that meet a documented rule. Repeated learners can have legitimate repeated sessions.

How should missing or invalid duration values be handled?

Flag negative or invalid entries, define whether they should be excluded, and preserve genuine missing values as missing. Do not invent measurements or silently substitute zero.

What is a PivotTable?

A PivotTable groups and aggregates records interactively using Rows, Columns, Values and Filters. Verify that Count or Sum is selected as intended and refresh it when the data change.

Is Excel enough for all data science projects?

No. Excel is excellent for many spreadsheet analyses, but SQL, Python and specialized tools can be better for large relational datasets, advanced reproducibility or machine learning.

Can I practise these formulas without Microsoft 365?

Many core functions work in Excel 2016/2019 and compatible alternatives. Modern XLOOKUP and dynamic-array functions need supported editions; the workbook includes older-compatible lookup examples.

Continue with the verified SQL for Data Science Beginners, 30 SQL Practice Questions, Pandas for Data Analysis, Cleaning CSV Files with Python and Your First Data Science Project. These are confirmed published posts on the connected staging website. Each builds different skills rather than duplicating the Excel formula tutorial.

Authoritative Excel documentation: Microsoft Excel functions reference, structured Table references, XLOOKUP, FILTER, PivotTable creation and refreshing PivotTable data. The linked pages establish terminology and product compatibility; the numerical charts in this lesson come from the separately executed synthetic dataset.

Conclusion: turn spreadsheet rows into carefully supported findings

Data analysis in Excel is not simply memorizing functions. It is a repeatable process: preserve raw records, define valid observations, organize clean tables, write transparent formulas, inspect results, visualize appropriate summaries and explain what the evidence can—and cannot—show. You have worked with references, SUM and AVERAGE, conditional logic, XLOOKUP alternatives, text and date cleaning, dynamic arrays, PivotTable methods and genuinely calculated study-session charts.

The fictional project makes those ideas concrete. There are 175 accepted sessions, of which 124 are marked completed, and 8,225 measured minutes recorded across 168 nonmissing durations. Those figures are correct for the constructed workbook, not estimates of real student outcomes. Begin with the starter file, complete the twenty exercises, compare results with the checked answer guide, and write a short report supported by formulas and charts. When you’re comfortable with this workflow, a dedicated Excel dashboard project can be your next step.