Quote:
Originally Posted by pudley4
Use this:
=SUMIFS(RANGE OF TRADE VALUES,RANGE OF TRADE OPEN DATES,"<="&A2,RANGE OF TRADE CLOSE DATES,">="&A2)
In this example, the dates go from 1/1/17 in A2 to 12/31/17 in A366.
This formula starts in cell B2 and copies down.
This formula looks at the dates of the trade to make the calculation.
You can use SUMIF and compare against the OPEN or CLOSED status like this:
=SUMIF(RANGE CONTAINING OPEN/CLOSE STATUS,"OPEN",RANGE CONTAINING TRADE VALUES)
Thank you for the response - I finally had some time to take a shot at this.
The goal is for the formula to SUM outstanding risk by date. In this case, I want to know my outstanding risk on 8/11/16. I am asking it to look at the table on the 'Trade Log' sheet, and SUM the RISK if 8/11/16 is equal to or in between the OPEN and CLOSE DATES.
The first screenshot is the 'Capital Usage' page where I am inputting the formula. The second shot is where I want to reference - the 'Trade Log' sheet, where individual trades are entered.
I am receiving some !VALUE error messages as follows.
This is where I am inputting the formula:
This is a shot of the 'Trade Sheet' data I am trying to reference: