Weighted Average Maturity of the mortgage pooldef WAM(tup):
return (x[0] * (x[2]/12) + y[0] * (y[weightedAM(tup):
sum_val = sum(amount for amount, rate, t
+ i, 2) Let wam1 = Cells(3 + i, 3) Let prince1 = Cells(3 + i, 4) Let annualdef1 = Cells(3+ i, 5) Let annualprepay1 = Cells(3 + i, 6) Let loss1 = Cells(3 + i, 7) W