Hi,
I'm struggling with the following problem and would really appreciate some help.
I have one sheet with two columns:
- date and time
- price
I want to find relevant values (open, high, low and close) for every day and place them in another sheet that has five columns:
- date
- open
- high
- low
- close
Open is the first price of a particular day (as found on sheet one)
High is the highest price of a particular day (as found on sheet one)
Low is the lowest price of a particular day (as found on sheet one)
Close is the last price of a particular day (as found on sheet one)
The finished result could look something like this:
SHEET ONE (datetime and price)
2008-01-01 00:25 200
2008-01-01 13:25 250
2008-01-01 19:40 170
2008-01-01 22:40 150
2008-01-02 01:05 205
2008-01-02 12:15 125
2008-01-02 14:35 250
2008-01-02 23:20 170
etc.
SHEET TWO (date, open, high, low, close)
2008-01-01 200 250 150 150
2008-01-02 205 250 125 170
I've attached the excel files here too. Thanks!
Bookmarks