SEE POST #10 FOR A BETTER BREAKDOWN AND SPREADSHEET
I have a spreadsheet that is updated with new data every 15 minutes. It’s pasted in using a macro. There are 1000 lines of data and when a new line is added the oldest line falls off. The columns next to this constantly updated data are static formulas and rules that are always the same. The problem I’m having is when and update takes place the static rules are thrown off. The only time they matchup is at the top of an odd number hour (3:00, 5:00, 7:00, 9:00, 11:00, 13:00 etc.)
It takes (8) 15 minute intervals (cycles) before the static columns are correct again. I need a formula that finds the open, high, low, and close, between two “X” s, which mark the two hour change. More information can be found in the spreadsheet attached.
Can someone help me allowing the data to update but calculates the way I need it to based on the static data?
Breakdown of Formulas Needed for Each Column
DATE: Either the current date for that row if above lower "X" or the date at "X"
TIME: The time for the nearest "X"
OPEN: Is the first instance between two "X"s for all rows
#
1000 High: First row between two "X"s
999 High: MAX Between 1st and 2nd row between two "X"s
998 High: MAX Between 1st through 3rd row between two "X"s
997 High: MAX Between 1st through 4th row between two "X"s
996 High: MAX Between 1st through 5th row between two "X"s
995 High: MAX Between 1st through 6th row between two "X"s
994 High: MAX Between 1st through 7th row between two "X"s
993 High: MAX Between 1st through 8th row between two "X"s
#
1000 Low: First row between two "X"s
999 Low: MIN Between 1st and 2nd row between two "X"s
998 Low: MIN Between 1st through 3rd row between two "X"s
997 Low: MIN Between 1st through 4th row between two "X"s
996 Low: MIN Between 1st through 5th row between two "X"s
995 Low: MIN Between 1st through 6th row between two "X"s
994 Low: MIN Between 1st through 7th row between two "X"s
993 Low: MIN Between 1st through 8th row between two "X"s
CLOSE: Either the current Close for that row if above lower "X" or the Close at "X"
VOLUME: Add the vaule of current row plus the values above until the upper "X"
Please see spreadsheet for a better understanding.
Any and all help you could provide for any of the formulas would be greatly appreciated. Thank you.
Bookmarks