Lookup distances in table and display them

hansa

New Member
Joined
Oct 14, 2017
Messages
1
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:

TABCDE
T02220515963
A22010303650
B20100324045
C51303201132
D59364011040
E63504532400

<tbody>
</tbody>

I would now like to use a formula to display all these distances like this:

fromtodistance
taFORMULA WHICH LOOKS UP THE DISTANCE BETWEEN T AND A AND DISPLAYS IT HERE
tbFORMULA WHICH LOOKS UP THE DISTANCE BETWEEN T AND B AND DISPLAYS IT HERE
tcetc
tdetc
teetc
atetc
abetc
acetc
adetc
aeetc
btetc
baetc
bcetc
bdetc
beetc
ctetc
caetc
cbetc
cdetc
ceetc
dtetc
daetc
dbetc
dcetc
deetc
etetc
eaetc
ebetc
ecetc
edetc

<tbody>
</tbody>


Thanks for all input and help!
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
You could use INDEX / MATCH.

Copy formula down as needed.
Excel Workbook
ABCDEFG
1TABCDE
2T02220515963
3A22010303650
4B20100324045
5C51303201132
6D59364011040
7E63504532400
8
9
10ta22
11tb20
12tc51
13td59
14te63
15at22
16ab10
17ac30
18ad36
19ce32
Sheet
 
Upvote 0

Forum statistics

Threads
1,214,619
Messages
6,120,550
Members
448,970
Latest member
kennimack

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top