Hello All,
Thank you very much for your replies. Its working fine.
In addition to the above query, I would like to extend the same from 'n' columns. That is, I have a file with 100 lines with 1000 columns, I would like to subtract each line with each other.
HTML Code:
For example, (with 5 lines and 5 columns)
Input
Col1 Col2 Col3 Col4 Col5
line1 A1 B1 C1 D1 E1
line1 A2 B2 C2 D2 E2
line1 A3 B3 C3 D3 E3
line1 A4 B4 C4 D4 E4
line1 A5 B5 C5 D5 E5
I would like to subtract line1 with line1, line2, line3, line4 and line5, line2 with line1, line2, line3, line4 and line5, line3 with....so on ....
(all against each other)
Can any one help me in the regard?
Expecting your reply and thanks in advance.
Warm regards
Fredrick.