House price and mortgages

phillipus2005

New Member
Joined
Jun 29, 2018
Messages
34
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
  3. Mobile
Hi
I am desperately trying to write a formula to calculate the maximum possible property purchase price, based on a range of monthly payment amounts BUT also incorporating stamp duty (a land tax calculated based on the purchase price of the property)…

So, I have:

A/ Deposit amount
B/ interest rate
C/ payment term
D/ monthly payment
E/ mortgage amount =PV(B/12,C*12, D,,1)
X/ stamp duty formula

So theoretically, the max purchase price should be: A+E-X

But the actual stamp duty on (A+E-X) is lower than X (so reversing back into PMT, gives a lower monthly payment than we started with)

How do I make this work? This is driving me nuts

Thanks in advance
 
Apologies, I can't get this to work - maybe my excel is not up to date but {=TABLE(C4,D4)} returns an error saying: "That function is not valid"
 
Upvote 0

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
"I can't get this to work - maybe my excel is not up to date but {=TABLE(C4,D4)} returns an error saying: "That function is not valid""

The Data Table feature under the menu Data What if Analysis Data Table is a long time part of Excel.
The setup is not completely intuitive. Try searching for videos or help articles.
A condensed version of the instructions
setup a sample of the calculation such as B4:H4
enter the horizontal variables such as C8:F8
enter the vertical variables such as B9:B49
for Payment table enter =E4 in cell B8
use the Data Table feature to create the table Start the feature and enter the C4 and D4

N.B. You do not enter =TABLE(C4,B4) and ignore the Press CTRL+SHIFT+ENTER to enter array formulas. The Data Table feature
records the formulas behind the scene.
 
Upvote 0
You could automate or simplify the information using the Goal Seek with VBA.
The example below changes the initial data to the new value shown in D8.

initial
T202304a.xlsm
ABCD
1Deposit84,588.99
2Interest4%
3Term25
4Payment2,500.00
5PV473,631.21
6Total558,220.20
7Stamp Duty15,411.01
8Total Cash100,000.00new amt -->100,000.00
3e
Cell Formulas
RangeFormula
B5B5=PV(B2/12,B3*12,-B4,0,0)
B6B6=B1+B5
B7B7=SUM((B6>aB)*(B6-aB)*aR)
B8B8=B1+B7


run the VBA
T202304a.xlsm
ABCD
1Deposit464,897.16
2Interest4%
3Term25
4Payment2,500.00
5PV473,631.21
6Total938,528.37
7Stamp Duty35,102.84
8Total Cash500,000.00new amt -->500,000.00
9see VBA
3e
Cell Formulas
RangeFormula
B5B5=PV(B2/12,B3*12,-B4,0,0)
B6B6=B1+B5
B7B7=SUM((B6>aB)*(B6-aB)*aR)
B8B8=B1+B7





VBA Code:
Sub GoalSeekStampDuty()

Range("B8").GoalSeek Goal:=Range("D8").Value, ChangingCell:=Range("B1")

End Sub
 
Upvote 0
You can inset a button, name it, and attach the VBA. The button does not show on the extract below.

T202304a.xlsm
ABCDE
1Deposit346,496.88
2Interest rate6%
3Term25
4Payment5,000.00
5PV776,034.32
6Total1,122,531.20
7Stamp Duty53,503.12
8Total Cash400,000.00new amt -->400,000.00
9Edit rate, term, payment, and/or cash D8; then click on "Goal Seek"
10
3e
Cell Formulas
RangeFormula
B5B5=PV(B2/12,B3*12,-B4,0,0)
B6B6=B1+B5
B7B7=SUM((B6>aB)*(B6-aB)*aR)
B8B8=B1+B7
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

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