Data · 4 steps

Clean up category spellings

Merge spellings of the same category, such as “Female”, “female” and “F”, so analyses count them as one group.

Step by step

  1. Open Clean up categories

    Click Data in the menu bar; under Tools choose Clean up categories…. The table toolbar’s Tools and a column’s right-click menu offer it too.

    The Data menu: the Tools group
  2. Check the proposed spellings

    Choose the Column. Spellings that differ only in capitals or spaces, and obvious abbreviations such as F for Female, are set to the most common spelling. Each old value shows its number of rows. Change any new value, or clear it to keep the old one.

    Clean up categories
  3. Apply

    By default the result replaces the column (Replace '…'); choose A new column named to keep the original. Check the preview of the first rows and press Clean up. Ctrl+Z undoes it.

  4. Set the order of the categories

    Choose Data > Column Properties… and select the column. Under Level order, arrange the levels (the categories) with A to Z, By frequency, As first seen or the arrows, tick Use this order and press Save order (Clear order removes it). Analyses, charts and Sort use this order where they follow a declared order: in a regression the first level is the reference level the other levels are compared with, and an ordinal regression’s outcome is fitted in this order.

What you should see

One spelling per category in the column, and analyses that count each group once.

Common problems

Two different categories were proposed as one.

Clear the new value next to the one that should stay as it is before pressing Clean up.

You want to merge categories that are spelled quite differently.

Type the new value yourself in the same window, or use Recode values.

Ask Oobi

Type one of these into Ask Oobi beside your data:

  • Why does my group column have too many groups?
  • How do I merge "F" and "Female"?

Last reviewed November 16, 2026.

Report an unclear step