Hi guys,
Sorry very new to this but was wondering whether could someone help me out with my problem?
I have a table similar to the one as below. I have around 300 rows
[TABLE="border: 1, cellpadding: 1, width: 500"]
Malaysia
[/td]10
[/td]Australia
[/td]6
[/td]Singapore
[/td]3
[/td]United Kingdom
[/td]5
[/td]China
[/td]1
[/td]
[/TABLE]
Trying to find the difference between each and every row value in the second column and output it into a matrix like below
[TABLE="border: 1, cellpadding: 1, width: 500"]
Malaysia
[/td]Australia
[/td]Singapore
[/td]United Kingdom
[/td]China
[/td]Malaysia
[/td]x
[/td]x
[/td]x
[/td]x
[/td]x
[/td]Australia
[/td]4
[/td]x
[/td]x
[/td]x
[/td]x
[/td]Singapore
[/td]7
[/td]3
[/td]x
[/td]x
[/td]x
[/td]United Kingdom
[/td]5
[/td]1
[/td]-2
[/td]x
[/td]x
[/td]China
[/td]9
[/td]5
[/td]2
[/td]4
[/td]x
[/td]
[/TABLE]
Greatly appreciate the help