Weighted Average

cjpascoe1

New Member
Joined
Nov 30, 2017
Messages
18
I need to find the weighted average loan amount of all loans between and including interest rates 4.75 and 5.25. I also include the volume percentage per note rate.
InterestRateLoanAmount
4.875150500
4.8752540575
5187500
5.37515200
4.87514848784
4.375282292
5.1254095500
4.5025000045
4.502836007
4.875373500
5.6251163035
4.7513945900
5.62518915072
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
I was confused as what weight needs to be multiplied with Loan Amount

I have calculated the Loan Amount falling under the criteria and divided it with no of intererst rates falling under the criteria

Book1
OPQRS
1InterestRateLoanAmount
24.8751505002780168
34.8752540575
45187500
55.37515200
64.87514848784
74.375282292
85.1254095500
94.525000045
104.52836007
114.875373500
125.6251163035
134.7513945900
145.62518915072
Sheet5
Cell Formulas
RangeFormula
S2S2=SUM(IF((O2:O14>=4.75)*(O2:O14<=5.25),P2:P14))/COUNT(O2:O14)-SUM(--((IF((O2:O14>=4.75)*(O2:O14<=5.25),P2:P14))=FALSE))
 
Upvote 0
can you explain with an example manually. I am not able to get you
 
Upvote 0
Is this what you want?
Note: the formula in D20 is done without the helper columns D&E.

Book1
ABCDE
1InterestRateLoanAmountLoan Wt. FactorLoan
24.8751505007336.875150500
34.8752540575123853.03132540575
451875009375187500
55.3751520000
64.87514848784723878.2214848784
74.37528229200
85.1254095500209894.3754095500
94.52500004500
104.5283600700
114.87537350018208.125373500
125.625116303500
134.7513945900662430.2513945900
145.6251891507200
15Total1754975.87636142259
16
17Wt. Average Interest
18Wt. Average4.86%
19
204.86%All in one formula
Sheet2
Cell Formulas
RangeFormula
D2:D14D2=IF(AND(A2>=4.75,A2<=5.25),(A2/100)*B2,0)
E2:E14E2=IF(D2=0,0,B2)
D15:E15D15=SUM(D2:D14)
D18D18=ROUND(D15/E15,4)
D20D20=ROUND(SUMPRODUCT(($A$2:$A$14>=4.75)*($A$2:$A$14<=5.25)*(($A$2:$A$14/100)*($B$2:$B$14)))/SUMIFS(B2:B14,A2:A14,">="&4.75,$A$2:$A$14,"<="&5.25),4)
 
Upvote 0

Forum statistics

Threads
1,223,099
Messages
6,170,111
Members
452,302
Latest member
TaMere

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top