LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 82
Default Array or VB script?

Hi,

I have a list of data comprising movement events and their starting and
ending locations that looks like this (its much longer):


ID TRAIN Start Finish ORIG DEST 1ST CONNECT
1 A4589 1 2/11/07 0:01 2/11/07 3:25 MARKIL BATCRK 18
2 H5306 1 2/11/07 0:01 2/11/07 2:31 EFLINT PTHURO
3 H5316 1 2/11/07 0:01 2/11/07 2:16 PTHURO EFLINT
4 Q1957 1 2/11/07 0:02 2/12/07 7:00 NEWORL CHIINT
5 A4108 1 2/11/07 0:05 2/11/07 7:30 WISRAP FONLAC
6 M3437 1 2/11/07 0:30 2/11/07 21:00 JACKMS SYMING
7 A4038 1 2/11/07 1:00 2/11/07 8:55 STEPOI SITASC
8 A4198 1 2/11/07 1:00 2/11/07 4:40 FONLAC GREBAY
9 A4329 1 2/11/07 1:15 2/12/07 11:20 DECATU MEMPHI
10 M3017 1 2/11/07 1:15 2/11/07 20:50 BATROU MEMPHI
11 A4158 1 2/11/07 1:15 2/11/07 6:30 GREBAY STEPOI
12 A4317 1 2/11/07 1:30 2/12/07 10:55 MEMPHI DECATU
13 A4379 1 2/11/07 2:30 2/11/07 6:25 CHAMPA MARKIL
14 A4426 1 2/11/07 3:30 2/11/07 6:30 PONTIA FLAROC
15 A4887 1 2/11/07 4:00 2/11/07 14:00 JACKMS MOBILE
16 M3207 1 2/11/07 4:30 2/11/07 23:59 MEMPHI GEISMA
17 E2516 1 2/11/07 4:50 2/11/07 19:15 DETROI GIBSON
18 A4566 1 2/11/07 5:00 2/11/07 14:00 BATCRK PONTIA


I am trying to figure out how to create a formula that evaluates subsequent
events (IDs) in the list and returns the ID of the first subsequent event
who's departure location matches the arrival location of the event being
evaluated, and the start time of the subsequent event is = of the finish
time of the event being evaluated. as in the example, the solution for line
1 would be 18.

The actual spreadsheet I am working on contains 14 days of scheduled events
(about 1600 lines) - I have been able to generate about 3 days of data using
a 240 x 240 table, but I run out memory and end up with a 50 meg spreadsheet
that doesn't open when I try to expand the table to multiple spreadsheets in
a workbook...I'm hoping someone with VBA knowledge can offer some advice?

Thanks in advance,

JDA

 
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
meaning of : IF(Switch; Average(array A, array B); array A) DXAT Excel Worksheet Functions 1 October 24th 06 06:11 PM
VB Script Krista Excel Worksheet Functions 4 May 20th 06 03:12 PM
VB script help - please!! Anthony Excel Discussion (Misc queries) 1 July 13th 05 01:19 AM
VBA script help..Please !!!! Anthony Excel Discussion (Misc queries) 6 June 6th 05 01:40 PM
VB script help..please !! Anthony Excel Worksheet Functions 2 June 5th 05 03:26 PM


All times are GMT +1. The time now is 03:09 AM.

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

About Us

"It's about Microsoft Excel"