The INDEX(…MATCH(…)) function combination is very useful in SC spreadsheet calculations. It allows you to find values within defined ranges, and in SC’s descending-order spreadsheets. Here is an example:
Volume sum between a start time and an end time of the current day.
Put this in cell Y3 (or in any column O to Z…BR):
This increments the day count.
Put this in cell Z3 (or in any column O to Z…BR):
This will extract the time of day of only the current day from the datetime of each bar in column A
Put this in cell H3 (or in any static cell):
This is the start time of your summing window.
Put this in cell H4 (or in any static cell):
This is the end time of your summing window.
Put this in cell H5 (or in any static cell):
This is the sum of the volume between the start and end times of your summing window (assuming you have the default 1000 rows in your worksheet). The value should remain constant as bars/rows are added.