LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default retrieve data interval

Hi,

I'm have diffulties to create VBA macro for following problem

For example, I have large data in sheet1:
A B
date_stamp Pressure
01/01/1940 0:00:00 100
01/01/1940 0:00:15 101
01/01/1940 0:00:20 102
01/01/1940 0:00:35 103
01/01/1940 0:00:45 104
01/01/1940 0:00:55 105
....etc until 65536 row
because excel limitation, I moved remaining data to next column, like :
C D
date_stamp Pressure
01/01/1940 0:01:00 106
01/01/1940 0:01:15 107
01/01/1940 0:01:20 108
01/01/1940 0:01:35 109
01/01/1940 0:01:45 110
01/01/1940 0:01:55 111

I want to extract that data to other sheet (sheet2) with interval
date_stamp for each 30 second. If no data for interval, data get from
previous date, like :

A B
01/01/1940 0:00:00 100
01/01/1940 0:00:30 102 <- data get from 01/01/1940 00:00:20
01/01/1940 0:01:00 106
01/01/1940 0:01:30 108 <- data get from 01/01/1940 0:01:20
because this interval between
0:01:20 and 0:01:35
so iget data from previous date

Please help me.

Regards,
Ardi

 
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
Time interval data and weighting fluff Excel Discussion (Misc queries) 0 October 25th 09 07:53 PM
Averaging an interval of data KK Excel Discussion (Misc queries) 2 June 12th 09 10:47 PM
Grouping a Set of Data By Time Interval Jon[_5_] Excel Discussion (Misc queries) 2 September 14th 07 09:06 AM
How to plot categorical data to show confidence interval? Question... Excel Discussion (Misc queries) 0 April 26th 06 05:28 AM
Timed Interval Data Entry Conor[_2_] Excel Programming 1 November 10th 04 05:12 PM


All times are GMT +1. The time now is 11:45 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"