newbie question

  • Thread starter Thread starter wccppp
  • Start date Start date
W

wccppp

Hello,

I have two columns of data (From and To) and I want to calculate the
distance between the two stations and put in the third column. How do I
do it? Thank you very much.
From To Distance
0+00 5+10 510
5+30 6+75 145
7+11 12+13 502
12+35 14+80 245

- wcc
 
assume 0+00 is in A2

in C2
=ABS(SUBSTITUTE(B2,"+","")-SUBSTITUTE(A2,"+",""))

then drag fill down the column.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top