Data · 5 steps

Recode values and make bins

Give old values new ones, reverse a rating scale, or cut a number column into ordered groups such as age bands.

Step by step

  1. Open Recode values

    Click Data in the menu bar; under Tools choose Recode values….

    The Data menu: the Tools group
  2. Give the new values

    Choose the Column. Each old value is listed with its number of rows; type a new value next to the ones you want to change and leave the others empty to keep them. Rules are tried from the top, and the first one that fits a cell is used. Three settings below the list: Everything else says what happens to values you gave no new value (keep the old value, make it blank, or set them all to one value); Blanks gives empty cells a value; New values are says whether the new values are categories (text) or numbers.

    Recode values
  3. Reverse a scale or recode ranges (number columns)

    For a number column, Reverse the scale fills the new values so the lowest becomes the highest (1 to 5 becomes 5 to 1), and Add a range (for example 0 to 17) gives every value in a range one new value. To recode several columns with the same rules, such as a set of rating items, open Recode other columns with the same values and tick them.

  4. Write the result and recode

    Under Write the result to, keep A new column named (for example “island (recoded)”) or choose Replace '…'. The preview says how many values will change. Press Recode; Ctrl+Z undoes it.

  5. Cut a number column into bins

    Click Data in the menu bar; under Tools choose Bin…. Choose the column and How to cut: Equal width (with Number of bins and Round edges), Equal count (quantiles), or Cut points I type (for example 18, 65: each cut point starts a new bin). Each bin holds values from its lower edge up to, not including, its upper edge; the last bin includes its upper edge. Tick Type my own labels to name the bins, check the rows per bin and press Add binned column.

    Bin a number column

What you should see

A new column (or the replaced one) with the new values; a binned column is an ordered category, ready for a frequency table, a crosstab or a group comparison.

Common problems

Reverse the scale does nothing.

It works when every value in the column is a number; a text answer such as “N/A” stops it. Convert or recode that value first.

A value fits two ranges.

The first rule from the top wins; put the more specific range first.

Ask Oobi

Type one of these into Ask Oobi beside your data:

  • How do I reverse-score a 1 to 5 item?
  • How do I make age groups from an age column?

Last reviewed November 16, 2026.

Report an unclear step