PC Review


Reply
Thread Tools Rate Thread

how to compare times of events btwn worksheets

 
 
daveg
Guest
Posts: n/a
 
      28th Feb 2009
In worksheet 1, column A I have a long list (350K rows) of dates and times
of an event (namely when an ambulance goes enroute to the hospital..)

In worksheet 2 (8K rows) I have data from hospitals with times they are
unable to accept ambulances with column A (start date/time) and column B
(stop date/time)

My goal is this: In a new column (column B, worksheet 1) I need a formula
that creates a flag for every transport in worksheet 1 that occurs during any
time between Columns A and B in worksheet 2.

I can use "if" statements to analyse one row but I can't figure out how to
compare multiple rows...I'm using Excel 2007 for windows.

thanks



 
Reply With Quote
 
 
 
 
Shane Devenshire
Guest
Posts: n/a
 
      28th Feb 2009
Hi,

I'm not clear on you question, with 8000 rows on sheet2 each with a
different time? what are your time increments? 24*60 = 1440. Are you
tracking at the 10 second interval? Also since you have a start and an end
time which interval do you want reflected in sheet1, the start or the end?
Say it starts at 8:01 AM and ends at 11:37 AM (long ride) that would be
about 800 time slots it could fall into.

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"daveg" wrote:

> In worksheet 1, column A I have a long list (350K rows) of dates and times
> of an event (namely when an ambulance goes enroute to the hospital..)
>
> In worksheet 2 (8K rows) I have data from hospitals with times they are
> unable to accept ambulances with column A (start date/time) and column B
> (stop date/time)
>
> My goal is this: In a new column (column B, worksheet 1) I need a formula
> that creates a flag for every transport in worksheet 1 that occurs during any
> time between Columns A and B in worksheet 2.
>
> I can use "if" statements to analyse one row but I can't figure out how to
> compare multiple rows...I'm using Excel 2007 for windows.
>
> thanks
>
>
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compare Rows on different Worksheets and Output Difference's to other Worksheets. dids72@gmail.com Microsoft Excel Programming 3 19th Sep 2007 04:48 PM
How to compare times - only need AM/PM gweasel Microsoft Access Forms 2 9th Apr 2007 04:16 PM
Compare times : IF time < time2 then david-witts@lycos.co.uk Microsoft Excel Worksheet Functions 4 12th Jul 2006 11:36 AM
EXCEL - I need to compare times to the hundredth of a second =?Utf-8?B?c2F2ZXJ5NDIy?= Microsoft Excel Setup 1 20th Jun 2005 06:32 PM
Compare Times =?Utf-8?B?Y2FybA==?= Microsoft Excel Worksheet Functions 2 3rd Dec 2004 06:27 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:40 PM.