Hi again! Please...

I have a list of cars and cars' prices. what i need is to build cross matrix, meaning:

in the head row - cars names, in the head column - same cars names, inside the matrix, as values, simple diffencies in prices of two cars. Visualisation:

a b c d
a 0 -5 -1 -3
b 5 0 -8 -9
c 1 8 0 -4
d 3 9 4 0

Again: values inside are just one car price - another car price.

This is just an example. Real case is much more complex. That's why i need to know what is the best practice to build such matricies. Thanks in advance!