Originally Posted by
Mojave
Hi Finance. Yes, you didn't explain it very well, but I gave it a shot anyway.
I came up with a formulaic solution that gives you an answer for each day, but you need to add a couple columns for each day. Expand the ranges as necessary.
The formula uses the "Sumifs" function. Please go read up on that if you're unfamiliar. Basically, it looks at a date, for instance 11/10/11, and tests each line of your data to see if the Settlement date is less than or equal to (<=) and the Maturity date is greater than the chosen date. A complicated 'between' if you will. It performs that test for Funds borrowed, then performs the test again for funds lent and subtracts it.
The two columns in blue are the new ones. I can't figure out how to get the "<=" into the sumifs formula itself. If I could, you wouldn't need these columns. Maybe someone else knows.
My answers are the same as the previous posters, but slightly different from yours. So either there is another condition we aren't aware of, or the manual calculations may not be correct. For instance, the 16th you show 10-2=8, but the 16th is a maturity date, and the 10 should be gone so it's just -2. At least, that is the rule that was applied on the 10th when the 50 wasn't counted. Capisce?
Hope this helps. See Luciano file attached. (Tenor humor... not much though)
Bookmarks