Thread: [Solved] Condensing financial data
View Single Post
 
Old 04-01-2017, 05:53 PM
NoSparks NoSparks is offline Windows 7 64bit Office 2010 64bit
Excel Hobbyist
 
Join Date: Nov 2013
Location: British Columbia, Canada
Posts: 842
NoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of light
Default

This macro solution uses 3 separate macros all called from the first.

first:
creates a temporary sheet
distributes the data to columns

second:
creates lists of unique dates and hours

third:
a loop within a loop filters by date and hour
numbers extracted and written to separate sheet
deletes the temp sheet when finished

Your sample data of 28,707 records requires 624 filters being applied and removed.
Results in 501 lines being written to the sheet.
Takes an eternity to run (43 seconds on my computer).
Sorry, I'm not sharp enough to speed that up.

Zipped due to file being just over 500 KB.
Attached Files
File Type: zip tick_testing.zip (323.2 KB, 14 views)
Reply With Quote