I’ve been thinking about this problem off and on for quite a while, now that I’ve learned a bit more in Excel it’s time to redesign a performance spreadsheet which I use frequently. I’ve always resorted to sorting/filtering manually then copying and pasting into my destination cells which have various formulas set up to perform calculations on the filtered items/list. However I feel as if I’m on the verge of making this a less tedious process if I can figure a few things out.
The long way:
I set up a very simplified dummy spreadsheet compared to the ‘real data’; I import the correct activity records into my destination/calculation sheet. The criteria for which lines need to move are certain activities (withdrawals and deposits) that fall in a particular date range. I have a named range for these codes, “activity_codes”. I’m pretty good with vlookup and sumifs, index/match I’m getting better at and I have used Sumproduct with arrays but I don’t fully understand it yet (although I do understand matrix math, just not in Excel )….
The efficient way:
My ultimate goal is to get a time weighted performance number for a given period. I got that formula down. However there is one component of the performance calculation I would love to arrive at without sorting/filtering/copy/paste or using helper columns if possible. I’m currently stuck on trying to arrive at a sum of time weighted cash flow (WtdCF) without using helper columns. I really just want to design my sheet so that I can upload or reference the raw data without having to copy/paste helper column formulas each time. It’s probably easiest to inspect the time wieghted formulas written in my example. I have a feeling if this is possible the answer will further my knowledge of sumproduct and use of array formulas in Excel.
Thanks in advance for a fruitful discussion
Bookmarks