Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-24-2017, 03:30 PM
H28Sailor H28Sailor is offline Condensing financial data Windows 7 32bit Condensing financial data Office 2007
Advanced Beginner
Condensing financial data
 
Join Date: Mar 2013
Posts: 55
H28Sailor is on a distinguished road
Default Condensing financial data

Hi



I have one minute financial data of the form:-

20010102, 230300, OP, HP, LP, CP

where OP = Open Price , HP = High Price, LP = Low Price, CP = Close Price
and Date = YYYYMMDD, and Time = HHMMSS

However, some minute data does not exist i.e. there are a variable number of minute data to make up each hour

I would like to condense the minute data into hourly data such that

(i) OP becomes OP for 1st available minute data for that hour
(ii) HP becomes max(of all available HP's) for that hour span
(iii) LP becomes min(of all available LPs) for that hour span
(iv) CP becomes CP for last available minute data for that hour

Any suggestions for the appropriate formulae gratefully received

Thank you

Bob M

p.s. if the fields were separated into their own columns and there were say 6 rows per minute I could use the following:-
OP: =OFFSET(Sheet1!C$2,(ROW()-1)*6-6,0)
HP: =MAX(OFFSET(Sheet1!D$2,(ROW()-1)*6-6,0,6,1))
LP: =MIN(OFFSET(Sheet1!E$2,(ROW()-1)*6-6,0,6,1))
CP: =OFFSET(Sheet1!F$2,(ROW()-1)*6-1,0)

but I do not know how to accommodate the variable number of rows per minute











Last edited by H28Sailor; 03-25-2017 at 12:03 AM. Reason: adding suggestions
Reply With Quote
 

Tags
condensing data



Similar Threads
Thread Thread Starter Forum Replies Last Post
Condensing financial data Condensing MS word document Taylor Word 1 11-22-2012 01:09 AM
Condensing a spread sheet hawkeyefxr Excel 4 08-22-2012 05:17 AM
Condensing financial data Financial Data Organization captain_hawkeye Excel 1 06-14-2010 04:09 AM
Condensing financial data Federal financial rounding? markg2 Excel 6 05-26-2010 09:54 AM
Formatting financial ratios jtrobinson Word 0 01-19-2010 06:46 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:20 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft