At the bottom of the COMPUTE dialog is an optional IF choice you can use to bring up the dialog, as shown in the following screenshot. This feature allows you to make the calculation defined in the COMPUTE portion conditional:
The cross-tabulation shown in following screenshot displays the relationship between shopping frequency and the distance to a customer's home store. This information can be used to form customer categories that can be used to target specific groups.
The following six IF statements map customers into categories ...