Lab 3 · Week 3

Excel Functions: One Question, One Formula

Week two of the engagement, and word has gotten around that the new analyst answers emails with exact numbers. Three new emails are waiting for you this morning.

Last week's questions were about everything at once, totals and averages of whole columns; this week's ask more pointed questions: this store, that category, members only, etc. Excel has a family of functions built for exactly that shape, and they all work the same way: which column to look in, what to look for, what to do with the rows that match.

Contents Part A · Follow along  ·  Part B · Now you  ·  Reflection & certificate  ·  What to submit

Wanna go analog?or save it as a PDF; the navigation drops out

Red · No AI in Labs 2 through 5

AI use is not allowed in these four labs. That means no formula help, no error explanations, and no AI checking your work. An AI tool can produce accurate responses to this lab in seconds, which is exactly why it is not allowed: the AI's work never becomes your own.

These four labs build your Excel skills, which are critical in business settings. So, even though it is tedious, this means typing every formula yourself. The goal is to be able to write a formula like =SUM without thinking. If you get stuck, that is what the walkthrough steps, the hints, and your lab professor are for.

AI comes back in Lab 6, where you will use it as a coach under the three lights from Lab 1.

Download

Same workbook as last week: cascadia-sales-2025.xlsx. Download a fresh copy so your tabs match the ones named below. It opens on three tabs: Analyst, where your answers go; Sales2025, the data; and Read Me, which explains what every column holds. Columns you will use for this lab are all on Sales2025: C store, F category, H quantity, K revenue, N is_member.

Email 1 · Monday, 8:52 AM

From: Regional Manager · Subject: Two numbers for the store reviews

"I start store performance reviews this week, Bellingham and Portland Pearl are first on the calendar. Before I walk in I want two numbers: how many sales Bellingham rang up in 2025, and what Portland Pearl's total revenue was. Exact figures, please."

How the checkpoints work

Here is how this lab works: Checkpoint 1 matches Step 1, Checkpoint 2 matches Step 2, etc. You'll do the actual work in your own workbook, in the row with the same number on the Analyst tab, then paste the answer in the relevant checkpoint box. If you get it right, the next question will unlock. There is no penalty for a wrong answer, so guess, check, and lean on the hint if you get stuck. That's what it is there for.

Once you have cleared all the checkpoints, write your reflection and download your certificate for Canvas. Your progress saves automatically in this browser, so you can close the tab and pick up where you left off. It does not follow you to a different computer or a private window. Clearing your browser data will reset your answers. If you need to start this lab over, use the button.

Checkpoint progress: 0 / 11

Part AFollow along: answering the GM, together

This lab runs on eleven numbered steps, and every step has a checkpoint with the same number. Step 4 fills in Checkpoint 4, which goes in the row labeled 4 on the Analyst tab. If you lose your place, the numbers will tell you where you are.

  1. Step 1Find your two tabs
  2. Step 2The GM's first number, with COUNTIF
  3. Step 3What a typo looks like
  4. Step 4The GM's second number, with SUMIF
  5. Step 5The GM's follow-up: a formula that decides
  6. Steps 6–11Part B: the other two emails, on your own
Step 1Find your two tabsAnswer goes in Checkpoint 1 · cell B5

Open the workbook and look at the tabs along the bottom of the window. The Analyst tab is where your answers go, laid out the same way as last week: a numbered row for each checkpoint, your answer in column B, room for a note in column C. Checkpoint 1 goes in B5, Checkpoint 2 in B6, and so on down to Checkpoint 11 in B15; type the 11 in A15 yourself, since the tab stops at row 10.

The Sales2025 tab holds the data: every 2025 sale line, one per row. Click that tab now. Press Ctrl + End on Windows, or ⌘ + Fn + → on a Mac. Excel jumps you to the last cell that holds anything, and the Name Box in the top left tells you where you landed.

What you just learned: the sheet ends at row 2900, and row 1 is the header, so there are 2,899 sales in front of you. Knowing that number is how you will catch a formula that quietly went wrong later. If a count comes back larger than 2,899, the formula is counting something it should not be.

Step 2The GM's first number, with COUNTIFAnswer goes in Checkpoint 2 · cell B6

The manager wants a count of Bellingham's sales. Build this formula by clicking rather than typing the whole thing. Clicking is how you will write formulas once tab names get long, and it is how you avoid misspelling a sheet reference.

  1. Go to the Analyst tab and click cell B6.
  2. Type =COUNTIF( and stop. Do not press Enter yet.
  3. Click the Sales2025 tab at the bottom of the window. Excel follows you there and holds your formula open.
  4. Click the letter C at the top of the store column. The whole column highlights, and Excel writes the reference for you: Sales2025!C:C.
  5. Continue the formula by typing ,"Bellingham") and press Enter. Excel returns you to the Analyst tab with the answer sitting in B6.

Your finished formula should read =COUNTIF(Sales2025!C:C,"Bellingham").

What the formula is doing: COUNTIF reads down column C of the Sales2025 tab one row at a time. Each time a cell has data that matches exactly Bellingham, it adds one to a running count. Bellingham is inside quotation marks because it is text rather than a number. Notice what COUNTIF does not do: it never looks at revenue or any other column. It only counts the relevant rows that contain an exact match of the data inside the quotation marks.

Excel has to be told where to find the data. The Sales2025! in front of C:C is the tab name. Your formula lives on the Analyst tab, but the data lives somewhere else. Clicking the Sales2025 tab put it there for you.

Step 3What a typo looks likeAnswer goes in Checkpoint 3 · cell B7

Before you trust a formula, you should practice finding out how it fails. In B7, type this exactly as printed, misspelling and all:

=COUNTIF(Sales2025!C:C,"Portland Parl")

Press Enter. Excel does not warn you. Nothing turns red, no error code appears. You get a number back, and the number is wrong.

What the formula is doing: COUNTIF matches text exactly. There is no store called Portland Parl, so no row matches, so the count is zero. A misspelled word, a trailing space, or Bellingham typed as Bellingahm all produce the same quiet result. This is the most common error in this lab and the hardest to notice, because a zero looks like a real answer instead of a broken formula.

Fix the spelling to "Portland Pearl" for a moment and watch the number change, then put the misspelling back. Row 7 is the one place in this workbook where a wrong formula is the right answer. In C7, write a few words about what happened.

Step 4The GM's second number, with SUMIFAnswer goes in Checkpoint 4 · cell B8

The GM's second question is not how many, it is how much: total revenue at Portland Pearl. Counting rows will not answer that question. You need to add up a column, but only for the rows that match.

  1. On the Analyst tab, click cell B8.
  2. Type =SUMIF(.
  3. Click the Sales2025 tab, then click the letter C to select the store column.
  4. Type ,"Portland Pearl", and include both commas.
  5. Click the letter K to select the revenue column.
  6. Type ) and press Enter.

Your finished formula reads =SUMIF(Sales2025!C:C,"Portland Pearl",Sales2025!K:K).

What the formula is doing: SUMIF needs three pieces of information where COUNTIF needed two. Column C is where to look. "Portland Pearl" is what to look for. Column K is what to add up. For every row where column C says Portland Pearl, Excel takes that row's revenue out of column K and adds it to a running total. Rows belonging to other stores contribute nothing at all. The GM's email is now answered.

Step 5The GM's follow-up: a formula that decidesAnswer goes in Checkpoint 5 · cell B9

The GM writes back within the hour: "One more, since you are in there. The warehouse treats any line of three units as a bulk pick. How many bulk lines did we have last year, all stores?" The export has no bulk column, so you will make one.

This time the function will produce a word rather than a number. The function we'll use is called IF. =IF tests a cell and returns a value if the test passes (i.e., true). If the test fails (i.e., false) it displays a different value.

  1. On the Sales2025 tab, click cell P1, the first empty column to the right of month, and type the header size.
  2. In P2, type =IF(H2>=3,"Bulk","Single") and press Enter. Column H is quantity.
  3. Click P2 again, then double-click the small square in the cell's bottom-right corner. Excel copies the formula down every row. Scroll: every row now says Bulk or Single.
  4. On the Analyst tab, in B9, type =COUNTIF(Sales2025!P:P,"Bulk").

What the formula is doing: The IF function requires three parameters, separated by commas.

  1. The test (H2>=3: is the quantity greater than two?).
  2. What to display if the test is true ("Bulk").
  3. What to write if the test is false ("Single").

Excel runs the test on every row. The COUNTIF formula from Step 2 works the same way it worked on the store column. IF makes the category; COUNTIF uses it.

An IF can also sit inside another IF, =IF(K2>=300,"High",IF(K2>=100,"Mid","Low")), when you need three buckets instead of two. You'll use nested formulas, like these, in Lab 5. Those two formulas are the pattern for the rest of this lab.

FunctionThe question it answersWhat goes inside the parentheses
COUNTIFHow many rows match?where to look, what to match
SUMIFAdd up a column, only for matching rowswhere to look, what to match, what to add up
AVERAGEIFAverage a column, only for matching rowswhere to look, what to match, what to average
COUNTIFSHow many rows meet two or more conditions?where to look, what to match, repeated for each condition
SUMIFSAdd up a column, for rows meeting two or more conditionswhat to add up first, then where to look and what to match for each condition

Read the last row of that table twice. SUMIFS moves the column you are adding up from last position to first. It is the single most common place students lose ten minutes in this lab.

If a formula misbehaves
  1. A zero you did not expect: the text you typed does not match the data exactly. Check the spelling against the Sales2025 tab, and check that your quotation marks are straight (") rather than curly. This is Step 3 happening to you for real.
  2. #NAME?: the function name is misspelled, or the tab name in front of the column is wrong. It is Sales2025, with no space and no underscore. Click the tab instead of typing it.
  3. #VALUE! in SUMIFS: the column you are adding up is probably not first. The S versions reorder the arguments; the table above shows where everything goes.
  4. A count larger than 2,899: your formula is matching more than it should, or is pointed at the wrong column.

Part BNow you: two emails, six formulas, on your own

Email 2 · Monday, 10:15 AM

From: Merchandise Planner · Subject: Winter buy: sizing the Snow order

"I place the winter Snow-category order next week and I am sizing it from last year. Three numbers: how many Snow-category sales we made in 2025, the average revenue on a Snow sale, and how much Snow revenue came from the Seattle Flagship specifically, since that store gets the deepest inventory."

Email 3 · Monday, 1:30 PM

From: Membership Coordinator · Subject: Two for the membership report

"For the quarterly membership report: how many of Tacoma's sales last year were member sales? And a different one, the board keeps asking how concentrated we are: what percent of our total revenue comes from Portland Pearl alone?"

The numbering continues, and you will add rows 10-15 on the Analyst worksheet. (Steps 6 through 11 for checkpoints 6 through 11). Each task names the function to use, the column to look in, and the text to match. You write the formulas.

Step 6Planner: how many Snow sales?Answer goes in Checkpoint 6 · cell B10

In B10, write a COUNTIF that looks in the category column (F) and matches "Snow". Same shape as Step 2, different column and different text.

Step 7Planner: average revenue on a Snow saleAnswer goes in Checkpoint 7 · cell B11

In B11, write an AVERAGEIF that looks in the category column (F) for "Snow" and averages the revenue column (K). Three pieces of information, in the same order as Step 4's SUMIF. The only change is what Excel does with the rows that match: it averages them instead of adding them.

Step 8Planner: Snow revenue at the Seattle FlagshipAnswer goes in Checkpoint 8 · cell B12

Two conditions this time, so the function gains an S. In B12, write a SUMIFS with the revenue column (K) first, then category (F) matching "Snow", then store (C) matching "Seattle Flagship". A row has to satisfy both conditions to be included. Your answer should be smaller than all Snow revenue across every store, which is Step 6's count times Step 7's average. If it is not, check your argument order.

Step 9Coordinator: Tacoma's member salesAnswer goes in Checkpoint 9 · cell B13

In B13, write a COUNTIFS with two conditions: the store column (C) matching "Tacoma", and the is_member column (N) matching "Y". COUNTIFS has nothing to add up, so it is only pairs of where-to-look and what-to-match.

Step 10Coordinator: total revenue, every storeAnswer goes in Checkpoint 10 · cell B14

The coordinator's second question asks for a share: Portland Pearl's revenue as a percentage of the whole co-op's. A share is one number divided by another, so build the second number first and give it a cell of its own.

In B14, write a plain =SUM of the entire revenue column (K) on the Sales2025 tab. No condition and no matching; every row counts.

Why this gets its own cell: you now have a total you can look at and sanity check on its own, and one you can point other formulas at. When the next email asks for a different store's share, you reuse this cell instead of rebuilding the total inside a longer formula. Long formulas that compute several things at once are hard to check and harder to fix.

Step 11Coordinator: Portland Pearl's shareAnswer goes in Checkpoint 11 · cell B15

In B15, divide your Step 4 answer by your Step 10 answer by pointing at the two cells: =B8/B14. Click the cells rather than retyping the formulas inside them.

The result arrives as a decimal, something like 0.175. Do not multiply it by 100. Format the cell as a percentage instead. With B15 selected, go to the Home tab, click the % button in the Number group, then click Increase Decimal once so one decimal place shows.

Why formatting instead of arithmetic: the cell still holds the true ratio. Formatting changes how the number is displayed, not what it is. Multiplying by 100 changes the value itself into something you can no longer safely divide, average, or chart alongside other ratios, and anyone who later builds on your cell inherits the error. Getting the number right and getting it readable are two separate jobs, and formatting is how a spreadsheet does the second one without breaking the first.

Finished early? Get ahead of next week's email

In a blank area, list the eight store names down a column. Beside each, a COUNTIF for its lines, a SUMIF for its revenue, and a COUNTIFS for its member lines, filled down. Eight rows, four columns: you have just hand-built the table that dashboards are made from. Keep it; next week's lab turns exactly this block into charts.

FinishReflection & certificate

Red · Your reflection, your words

Same rule as the rest of this lab. Write the reflection below yourself. Do not ask an AI tool to write it, rewrite it, or clean it up.

This is the one part of the lab that shows your lab professor how you think. Rough is fine and typos are fine. It just has to be yours.

One last thing before your certificate

Think of a business, team, or club you know from the inside. If you had their data in a spreadsheet, write a question that could be answered with a COUNTIF or SUMIF formula, and name the decision that knowing the number would change. If the number would not change any decision, pick a better question.

Fifty words is the minimum, but do not write to the counter. This prints as page 2 of your certificate, so it is the part your lab professor actually reads. Answer it like someone asked you the question out loud.

0 words

All checkpoints cleared

Put your name in exactly as it appears in Canvas, then download your certificate. The code on it is generated from your name, so it is yours and nobody else's.

CanvasWhat to submit

Go to the Lab 3 assignment in Canvas and upload two files.

File 1: your workbook, saved as LAB3_Last_First.xlsx. Your answers go on the Analyst tab in column B, on the row matching each checkpoint number, with a short note in column C where it helps. Formulas must be live in the cells; a typed-in number does not count.

Before you save: turn on Show Formulas

Once every checkpoint is cleared and the workbook is finished, switch it to formula view so your work is visible to whoever grades it. Go to the Formulas tab on the ribbon and click Show Formulas in the Formula Auditing group. The shortcut is Ctrl + ` on Windows and ⌘ + ` on a Mac; the ` key sits just above Tab, sharing a key with ~.

Every cell switches from showing its answer to showing the formula behind it, and the columns widen to fit. That is expected. Leave it on, save, and upload. Do this last: while Show Formulas is on you cannot read your answers off the sheet, so finish all eleven checkpoints first.

A cell showing a number instead of a formula is a typed-in answer and earns no credit. A correct formula that returns a wrong answer earns partial credit. A correct number with nothing behind it earns none.

File 2: your completion certificate PDF. Clear all the checkpoints above, write your reflection, and click Download certificate. Your reflection prints as page 2, so you do not submit it separately.