Originally Posted by
MCII
I have a spreadsheet that lists various positions by account at original term to maturity (ex below). For this account the WAM (using SUMPRODUCT) is 128 days.
Account Amount Term
133400101 $75,000,000 182
133400101 $100,000,000 182
133400101 $100,000,000 92
133400101 $150,000,000 91
I would like to extract a WAM for each account. My problem is that the spreadsheet contains over 50 accounts and each account has at least 15 entries (the accounts are in sequence). Thus I need to write a sumproduct that looks only at a specific account. I have tried to write a sumproduct in which IFSUM's are the 1st and 2nd arrays. This does not work. Any ideas?
You should be able to do a SUMIF. What is WAM exactly... Weighted average something or other?
Anyway, assuming your accounts information is as above in columns A:C starting in row 2, you could do something as follows:
Put an account number in column E, and beside each account put the following formula: (Assumes 1000 rows, you can change it though)
or if you don't like errors, you can put:
I'm assuming you're just straight dividing, although you could do things differently quite easily.
S
Bookmarks