twoplustwo
Registered User.
- Local time
- Today, 12:01
- Joined
- Oct 31, 2007
- Messages
- 507
Hi guys,
Hope you're all well.
I have a set of data that has 48 periods per record with +ive and -ive values.
I'd like to sum per settlement date across the range where each value is evaluated and summed if it is >0 in one column and <0 in t'other.
The processed set of data would look something like:
Date BuyVol SellVol
From a set of data like:
Date P1 P2 P3 P4 -> P48
Any suggestions appreciated.
I'm assuming I open the table in a recordset and evaluate each data point in a given record then, using an IF statement add it to either of the running totals per day but I'm not too sure where to start
Hope you're all well.
I have a set of data that has 48 periods per record with +ive and -ive values.
I'd like to sum per settlement date across the range where each value is evaluated and summed if it is >0 in one column and <0 in t'other.
The processed set of data would look something like:
Date BuyVol SellVol
From a set of data like:
Date P1 P2 P3 P4 -> P48
Any suggestions appreciated.
I'm assuming I open the table in a recordset and evaluate each data point in a given record then, using an IF statement add it to either of the running totals per day but I'm not too sure where to start