This should be a straight-forward question, but I haven't done Excel in a while, so maybe there is a kind soul here that can point me in the right direction
I have a table that displays distances between Points T, A, B, C, D, E, which looks like this:
[TABLE="width: 0"]
<tbody>[TR]
[TD][/TD]
[TD]T[/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[/TR]
[TR]
[TD]T[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]22[/TD]
[TD="align: right"]20[/TD]
[TD="align: right"]51[/TD]
[TD="align: right"]59[/TD]
[TD="align: right"]63[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD="align: right"]22[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]30[/TD]
[TD="align: right"]36[/TD]
[TD="align: right"]50[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD="align: right"]20[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]32[/TD]
[TD="align: right"]40[/TD]
[TD="align: right"]45[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD="align: right"]51[/TD]
[TD="align: right"]30[/TD]
[TD="align: right"]32[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]11[/TD]
[TD="align: right"]32[/TD]
[/TR]
[TR]
[TD]D[/TD]
[TD="align: right"]59[/TD]
[TD="align: right"]36[/TD]
[TD="align: right"]40[/TD]
[TD="align: right"]11[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]40[/TD]
[/TR]
[TR]
[TD]E[/TD]
[TD="align: right"]63[/TD]
[TD="align: right"]50[/TD]
[TD="align: right"]45[/TD]
[TD="align: right"]32[/TD]
[TD="align: right"]40[/TD]
[TD="align: right"]0[/TD]
[/TR]
</tbody>[/TABLE]
I would now like to use a formula to display all these distances like this:
[TABLE="width: 0"]
<tbody>[TR]
[TD]from[/TD]
[TD]to[/TD]
[TD]distance[/TD]
[/TR]
[TR]
[TD]t[/TD]
[TD]a[/TD]
[TD]FORMULA WHICH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TR]
[TD]c[/TD]
[TD]e[/TD]
[TD]etc[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]d[/TD]
[TD]t[/TD]
[TD]etc[/TD]
[/TR]
[TR]
[TD]d[/TD]
[TD]a[/TD]
[TD]etc[/TD]
[/TR]
[TR]
[TD]d[/TD]
[TD]b[/TD]
[TD]etc[/TD]
[/TR]
[TR]
[TD]d[/TD]
[TD]c[/TD]
[TD]etc[/TD]
[/TR]
[TR]
[TD]d[/TD]
[TD]e[/TD]
[TD]etc[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]e[/TD]
[TD]t[/TD]
[TD]etc[/TD]
[/TR]
[TR]
[TD]e[/TD]
[TD]a[/TD]
[TD]etc[/TD]
[/TR]
[TR]
[TD]e[/TD]
[TD]b[/TD]
[TD]etc[/TD]
[/TR]
[TR]
[TD]e[/TD]
[TD]c[/TD]
[TD]etc[/TD]
[/TR]
[TR]
[TD]e[/TD]
[TD]d[/TD]
[TD]etc[/TD]
[/TR]
</tbody>[/TABLE]
Thanks for all input and help!
I have a table that displays distances between Points T, A, B, C, D, E, which looks like this:
[TABLE="width: 0"]
<tbody>[TR]
[TD][/TD]
[TD]T[/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[/TR]
[TR]
[TD]T[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]22[/TD]
[TD="align: right"]20[/TD]
[TD="align: right"]51[/TD]
[TD="align: right"]59[/TD]
[TD="align: right"]63[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD="align: right"]22[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]30[/TD]
[TD="align: right"]36[/TD]
[TD="align: right"]50[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD="align: right"]20[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]32[/TD]
[TD="align: right"]40[/TD]
[TD="align: right"]45[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD="align: right"]51[/TD]
[TD="align: right"]30[/TD]
[TD="align: right"]32[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]11[/TD]
[TD="align: right"]32[/TD]
[/TR]
[TR]
[TD]D[/TD]
[TD="align: right"]59[/TD]
[TD="align: right"]36[/TD]
[TD="align: right"]40[/TD]
[TD="align: right"]11[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]40[/TD]
[/TR]
[TR]
[TD]E[/TD]
[TD="align: right"]63[/TD]
[TD="align: right"]50[/TD]
[TD="align: right"]45[/TD]
[TD="align: right"]32[/TD]
[TD="align: right"]40[/TD]
[TD="align: right"]0[/TD]
[/TR]
</tbody>[/TABLE]
I would now like to use a formula to display all these distances like this:
[TABLE="width: 0"]
<tbody>[TR]
[TD]from[/TD]
[TD]to[/TD]
[TD]distance[/TD]
[/TR]
[TR]
[TD]t[/TD]
[TD]a[/TD]
[TD]FORMULA WHICH LOOKS UP THE DISTANCE BETWEEN T AND A AND DISPLAYS IT HERE
[/TD]
[/TR]
[TR]
[TD]t[/TD]
[TD]b[/TD]
[TD]FORMULA WHICH LOOKS UP THE DISTANCE BETWEEN T AND B AND DISPLAYS IT HERE
[/TD]
[/TR]
[TR]
[TD]t[/TD]
[TD]c[/TD]
[TD]etc[/TD]
[/TR]
[TR]
[TD]t[/TD]
[TD]d[/TD]
[TD]etc[/TD]
[/TR]
[TR]
[TD]t[/TD]
[TD]e[/TD]
[TD]etc[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]a[/TD]
[TD]t[/TD]
[TD]etc[/TD]
[/TR]
[TR]
[TD]a[/TD]
[TD]b[/TD]
[TD]etc[/TD]
[/TR]
[TR]
[TD]a[/TD]
[TD]c[/TD]
[TD]etc[/TD]
[/TR]
[TR]
[TD]a[/TD]
[TD]d[/T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