Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default newbie question

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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default newbie question

assume 0+00 is in A2

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

then drag fill down the column.

--
Regards,
Tom Ogilvy

wrote in message
ups.com...
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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie Question Ben Sharvy Excel Discussion (Misc queries) 6 November 13th 07 12:53 AM
Real Newbie newbie question Dave New Users to Excel 0 January 10th 07 07:55 PM
newbie question [email protected] Excel Worksheet Functions 5 July 12th 06 01:25 PM
Newbie Question - Subtraction Formula Question [email protected] Excel Discussion (Misc queries) 3 May 5th 06 05:50 PM
newbie question vapor77 New Users to Excel 5 February 4th 06 12:08 AM


All times are GMT +1. The time now is 05:38 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"