I want to create a 4x4 matrix in Excel 2007 by taking three or more columns or conditions, for example:

```
Column index Row index Name
1 2 x
2 3 y
3 4 z
4 1 p
```

This is how data looks, and I want it for 1x1 cell as p and 1x2 cell as x and so on, and I want output as follows:

```
matrix 1 2 3 4
1 p x y z
2 p x y z
3 p x y z
4 p x y z
```

And I have very huge data like this. Sometimes the matrix size goes up to 60x60.