Snap XMP Help

Analysing postcodes and zip codes

You are here:
< All Topics

The best way of analysing postcodes and zip codes is to use a derived variable.

There are some considerations to take into account when analysing postcodes or zip codes in Snap Desktop.

  • Snap Desktop is case sensitive, which means the data can be entered into the postcode or zip code question in a variety of ways and you need to account for every possible variation in order to capture all the data.
  • If the postcodes or zip codes include letter combinations that could be found in another postcode or zip code, for example, S7 and BS7, you should put the more complex codes before the simpler ones, that is, BS7 should be inserted before S7.
  • If the postcodes or zip codes include number combinations that could be found in another postcode or zip code, for example, SW1 and SW11, you should put a space after the shorter code.
  • Additionally, it is always best to enter each postcode or zip code in inverted commas, for example, “BS8”.

To create the derived single variable, please follow the steps below to categorize the postcodes and zip codes by area.

  1. Open the Variables window  VariablesIcon.png and click  NewIcon.png  to add a new variable.
  2. Select Derived from the Type dropdown and Single from the Response dropdown. A single response is used as each respondent only falls into one of the new codes.
  3. When created, a derived variable is automatically named, starting from V1. You can change this name to one that describes the variable. Enter the new derived variable name in Name.
Derived variable used to analyze postcodes and zip codes
  1. In the Code list grid, click in the Label column next to code 1 and type in the first postcode or zip code area you want to categorise, in this case BS4.
  2. In the Values column for code 1 type in the values to search the data. For example, when searching for any cases where BS4 has been entered the values would be Q11=”BS4″ or Q11=”bs4″ or Q11=”Bs4″ or Q11=”bS4”, with each variation of BS4 being accounted for. Note: Using the word OR, or a comma (,) in the values has the same effect.
  3. Repeat steps 4 and 5 for each postcode or zip code you want to search for.
  4. Click Count Responses CountResponsesIcon.PNG  to see the count for each postcode or zip code area in the derived variable.
  5. Click Save SaveIcon.png to save the derived variable.

You can now use the derived variable, in the same way as any other variable, in your analysis or in a filter.

If there is a topic you would like a worksheet on, email to

Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?