Recent chats
ASKGEEZ Q&A GUIDETechnology & devices

Why does a survey summary count one answer twice when the wording looks the same?

Quick answer

A summary may count answers separately because their stored text is not identical—for example, one value may have an extra space or different punctuation. Some tools compare text exactly; SQLite, for example, uses direct text comparison by default. [S1] Make a separate, documented comparison value, inspect which differences it changes, and review proposed merges before counting. Keep the original responses unchanged so you can audit every decision.

LET’S WORK THROUGH IT

The question, the details, the next step.

Question

The summary shows two rows for what looks like the same answer. Why would that happen?

Geez

The displayed wording can look alike while the stored characters differ. One response might have a trailing space, another a different punctuation mark, or one might use different capitalization. A counting tool that treats those text values as distinct can show separate categories. For example, SQLite’s default BINARY text comparison compares string data directly; that describes SQLite, not every survey or spreadsheet program. [S1]

Start by checking the raw responses, not just the chart labels. Copy both values into a plain-text view if available, and inspect their beginnings and endings. Don’t assume that a visible match means the underlying text is identical, or that every odd-looking character should be removed.

Follow-up question

What is a safe way to check for differences without changing the responses?

Geez

Keep the imported response column as your original-value record. Make a separate working column or copy for comparison, and write down each change you test. For instance, you might first compare values after removing ordinary leading and trailing spaces, while leaving punctuation and capitalization alone. SQLite documents trim(X) as removing ordinary spaces from both ends, but that does not establish how it handles every kind of whitespace or other character. [S2]

Compare the original and working values side by side. If they differ, inspect the pair and decide whether the change is appropriate for this survey. Treat a normalized match as a review candidate, not automatic proof that two answers mean the same thing. A response like “yes!” and “yes” may differ in emphasis or intent even if a punctuation-removal rule would combine them.

Follow-up question

Can you show what that review might look like?

Geez

Suppose the raw answers include North, North , and north. These are illustrative examples, not findings from a particular survey. Create a review list such as:

  • Original North: make no change; use it as a reference value.
  • Original North : test removing an ordinary trailing space, then compare it with North.
  • Original north: compare without changing case, and decide whether capitalization is meaningful for your question.

Keep the proposed change and decision visible for each value. This list is a review record, not an instruction to merge every row. If your tool offers a trim function, check its documentation and test it on a copy; for example, SQLite’s trim(X) is specifically documented for ordinary spaces at both ends. [S2] Neither that detail nor this example establishes how your survey software handles hidden whitespace, punctuation, or Unicode characters. If values still appear identical but count separately, check the tool’s documentation or export the raw values for a closer comparison.

Follow-up question

What should I do before using the cleaned counts in a report?

Geez

Record the proposed rule, the values it groups, and any exceptions. Review the affected response pairs before using combined counts, especially where punctuation, capitalization, or unusual characters could change meaning. Keep the original column and report counts from the reviewed comparison values; don’t replace the raw data with the cleaned version. If you cannot tell whether two answers mean the same thing, keep them separate or label the decision for follow-up rather than silently merging them.

A practical checklist

  • Preserve an unchanged copy of the original response values.

  • Inspect the raw text for likely differences, including extra spaces and punctuation.

  • Create a separate comparison value and document exactly what changes it makes.

  • Review each proposed match before combining its counts; don’t treat a match as proof of equal meaning.

  • Keep a record of merge decisions and exceptions for the report.

A few more useful answers

Should I remove punctuation to make the counts match?

Not automatically. Punctuation may distinguish meaning or emphasis, so compare the affected answers and decide whether combining them is appropriate for your question.

Will trimming spaces find every hidden character?

No. SQLite documents trim(X) as removing ordinary spaces from both ends, but that does not establish how it handles every kind of whitespace or other character. [S2] Check your tool’s behavior and review any remaining matches.

Can I overwrite the original answers after cleaning?

Keep the originals unchanged and store cleaned comparison values separately. That lets you inspect and explain how a reported count was produced.

Sources

References used for this guide.

  1. [S1] SQLite Datatypes and Collating Sequences
    sqlite.org · Checked
  2. [S2] SQLite Built-In Scalar SQL Functions
    sqlite.org · Checked

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