Recent chats
ASKGEEZ Q&A GUIDETechnology & devices

How can I test a spreadsheet’s filters and summaries before adding real records?

Quick answer

Make a clearly labeled copy of the spreadsheet and use sample entries, not real records. Include ordinary cases plus a blank, a duplicate, and dates at the start and end of the range you plan to filter, along with a date outside it. Write down which rows each filter should show and what each summary should count or total. Compare the sheet’s results with your expectations, then remove the test entries.

LET’S WORK THROUGH IT

The question, the details, the next step.

Question

What’s a good way to set up a small test before I put actual records into my spreadsheet?

Geez

Start with a copy of the spreadsheet so you can test without changing your working version. Label the copy and its sample entries clearly, such as “TEST—delete before use.” Keep the test data small enough to check by hand, but include ordinary cases and examples that could expose a mismatch.

Suppose the sheet tracks requests with columns for ID, category, date, and amount. A small test set could be:

  • T00 | Supplies | 2025-03-01 | 5
  • T01 | Supplies | 2025-03-10 | 12
  • T02 | Travel | 2025-03-31 | 40
  • T03 | Supplies | 2025-04-01 | 8
  • T04 | Travel | 2025-03-15 | [blank amount]
  • T01 | Supplies | 2025-03-10 | 12

The last row repeats the first T01 entry. Decide in advance whether a repeated row should count separately or be treated as a duplicate. The spreadsheet cannot infer which meaning you intend. These are test examples, not records to reuse as real data.

Follow-up question

How do I check that the filters are returning the right rows, especially for dates and blanks?

Geez

Write down the expected result for each filter before applying it. For a date range from March 1 through March 31, decide whether the endpoints are included. If they are, T00 on March 1 and T02 on March 31 should appear; T03 on April 1 should not. T01 and T04 should also appear because their dates are in March. The repeated T01 row will appear too if the filter shows every matching row.

Test one condition at a time: filter by category, note the visible IDs, clear that filter, and test the date range. For the blank amount, decide whether the filter should show rows with missing amounts, exclude them, or flag them as incomplete. Compare the visible rows with your written list, not just the displayed row count. If dates might be entered in different formats, include a sample of the formats you expect to encounter and check whether they behave as intended. A small test does not establish how every possible entry will behave.

Follow-up question

What should I expect from the summaries, and how do I catch a duplicate-related mistake?

Geez

Choose one summary at a time and calculate its expected result by hand. If a summary totals the amount for Supplies and counts every row, the sample set gives 5 + 12 + 8 + 12 = 37. If the repeated T01 row should count only once, the expected total is 5 + 12 + 8 = 25. State which rule you are checking before comparing the sheet’s result.

For a count, there are six rows in the sample, including the repeated row, and five distinct IDs. Decide whether your summary counts rows or distinct IDs; those are different questions. Also specify how blanks should be treated. Do not assume a blank amount means zero unless that is your chosen data rule. You can check the summary with and without the blank row, then compare each result with your manual expectation. If a filter is meant to affect the summary, write down the expected total or count for the filtered rows and verify it separately.

Follow-up question

Can you give me a short checklist for deciding whether the sheet is ready?

Geez

Use this acceptance checklist and keep the expected answers beside the test copy so you can repeat the checks after changing a filter or summary:

  1. Confirm the sample includes ordinary rows, a blank, a duplicate, dates on both range boundaries, and a date outside the range.
  2. For each filter, list the IDs that should remain visible; apply it and compare the rows, not just the row count.
  3. Check each summary against a hand calculation, stating how blanks and repeated rows are handled.
  4. Change one filter condition and verify that the visible rows and any affected summary change as expected.
  5. Remove the test entries from the working copy and check that the intended headers and summary setup remain.

If a result differs, note the input, selected filter, and observed result. That gives you a specific mismatch to investigate rather than a guess. These checks cover the cases and rules you chose; they do not guarantee how every future entry will behave. Repeat relevant checks if you change the sheet’s rules or start using different kinds of values.

A practical checklist

  • Use a clearly labeled copy of the sheet for testing.

  • Include ordinary rows, a blank, a duplicate, both date boundaries, and a date outside the range.

  • Write down the expected visible rows for each filter before applying it.

  • Hand-calculate summaries and define how blanks and repeated rows count.

  • Remove test entries and retest relevant rules after changing the sheet.

A few more useful answers

How many sample rows do I need?

Use enough rows to cover each case you want to check, while keeping the set small enough to verify by hand. A few deliberately chosen examples can be more useful than many ordinary rows.

Should a duplicate always be removed from a summary?

Not necessarily. Decide whether repeated rows are accidental duplicates or separate valid entries, then calculate the expected count or total using that rule.

Do passing these checks guarantee the spreadsheet is error-free?

No. They check the specific sample cases and rules you chose. New formats, categories, or edge cases may behave differently, so repeat relevant checks when the sheet changes.

YOUR QUESTION. YOUR DETAILS.

Let’s work through your situation.

Get a tailored answer or help with your next task. Starts at $1, with a quote before you pay.

Ask your own question
← Back to Geez at Work