You can have two types of input data to cluster variables: columns of raw data or a matrix of distances.
Typically, you use raw data. Each row contains measurements on a single item or subject. You must have two or more numeric columns, with each column representing a different measurement. Delete rows with missing data from the worksheet before using this procedure.
If you store a p x p distance matrix, where p is the number of variables, you can use the matrix as input data. The (i, j) entry in the matrix is the distance between observations i and j. If you use the distance matrix as input, final partition statistics are not available.