Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Rob Rob is offline
external usenet poster
 
Posts: 718
Default Comparison of columns and calculate differences

I have three columns. Column A & B represent the order in which items have to
be made. Column C represents the difference between the order in the two
columns in terms of how many rows the value in Column B has moved forward or
backward relative to Column A. How can I calculate the value of the
difference and populate column C ?

Col Col Col
A B C
1127 1129 +1
1129 1130 +1
1130 1132 +3
1102 1102 0
1131 1131 0
1132 1133 +1
1133 1135 +1
1135 1137 +2
1062 1138 +2
1137 1062 -1
1138 1141 +1
1141 1143



  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Comparison of columns and calculate differences

Doesn't look like too many people understand what you want to do. Myself
included!

If you can explain the logic of how you arrive at the results maybe someone
will be able to figure it out.

--
Biff
Microsoft Excel MVP


"Rob" wrote in message
...
I have three columns. Column A & B represent the order in which items have
to
be made. Column C represents the difference between the order in the two
columns in terms of how many rows the value in Column B has moved forward
or
backward relative to Column A. How can I calculate the value of the
difference and populate column C ?

Col Col Col
A B C
1127 1129 +1
1129 1130 +1
1130 1132 +3
1102 1102 0
1131 1131 0
1132 1133 +1
1133 1135 +1
1135 1137 +2
1062 1138 +2
1137 1062 -1
1138 1141 +1
1141 1143





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
Differences between columns Richard Excel Worksheet Functions 3 April 28th 09 01:04 PM
Formula to calculate differences between dates?? Lisa Excel Discussion (Misc queries) 8 March 30th 07 06:56 PM
How to calculate Date & Time differences robs Excel Worksheet Functions 2 October 4th 05 04:22 PM
Calculate differences between age carlharris Excel Discussion (Misc queries) 1 October 3rd 05 04:24 PM
calculate date differences in years and months Joyce Excel Worksheet Functions 1 March 14th 05 05:18 PM


All times are GMT +1. The time now is 10:37 PM.

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"