matwright06

New Member
Joined
Jan 20, 2017
Messages
9
Hi all,

I'm creating a property investment calculator and I'm trying to automate the stamp duty calculation with a formula rather than checking the government site for each and every property analysed.

Eg, Cell B2 contains the purchase price, Cell J2 needs to show the TAS Stamp Duty payable on that purchase price. The schedule is as follows

Value of the property (including chattels)Duty payable
Not more than $3 000 $50
More than $3 000 but not more than $25 000 $50 plus $1.75 for every $100, or part, by which the dutiable value exceeds $3 000
More than $25 000 but not more than $75 000 $435 plus $2.25 for every $100, or part, by which the dutiable value exceeds $25 000
More than $75 000 but not more than $200 000 $1,560 plus $3.50 for every $100, or part, by which the dutiable value exceeds $75 000
More than $200 000 but not more than $375 000 $5,935 plus $4.00 for every $100, or part, by which the dutiable value exceeds $200 000
More than $375 000 but not more than $725 000 $12,935 plus $4.25 for every $100, or part, by which the dutiable value exceeds $375 000
More than $725 000 $27,810 plus $4.50 for every $100, or part, by which the dutiable value exceeds $725 000

<tbody>
</tbody>

So I completed 200K to 375K rule and the 375K to 725k rule with the below formula...I guess for figures greater than 725K the calculation will be inaccurate.

=IF(AND(B2>=200000,B2<375000),5935+4*INT((B2-199901)/100),IF(B2>=375000,12935+4.25*INT((B2-374901)/100),"-"))


I tried adding the 375K - 725K rule to the end of this formula but Excel returned an error saying I had too many arguments.

Can anyone assist? I wonder if its possible to have a formula where all 7 rules in the table above can be calculated accurately in one cell? Perhaps its too complicated for one cell...

Thanks for listening

MW
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
you can use following formula:

Code:
=IFERROR(VLOOKUP(AGGREGATE(14,6,($A$2:$A$7)/(($A$2:$A$7-$D$1)<=0),1),$A$2:$C$7,2,0)+ROUNDUP(($D$1-AGGREGATE(14,6,($A$2:$A$7)/(($A$2:$A$7-$D$1)<=0),1))/100,0)*VLOOKUP(AGGREGATE(14,6,($A$2:$A$7)/(($A$2:$A$7-$D$1)<=0),1),$A$2:$C$7,3,0),50)

D1=property value
A2:A7=3000 to 725000
B2:B7=50 to 27810
C2:C7= 1.75 to 4.5

I'm sure some one else here will have shorter version of it
 
Last edited:
Upvote 0
Here is a shorter version:

=LOOKUP(E2-0.01,A2:A8,B2:B8)+LOOKUP(E2-0.01,A2:A8,C2:C8)*(ROUNDUP(E2,-2)-LOOKUP(E2-0.01,A2:A8))/100

E2 =property value
A2 =0, B2 =50, C2 =0.00
A3 =3000, B3 =50, C3 =1.75
A4 =25000, B4 =435, C4 =2.25
A5 =75000, B5 =1560, C5 =3.50
A6 =200000, B6 =5935, C6 =4.00
A7 =375000, B7 =12935, C7 =4.25
A8 =725000, B8 =27810, C8 =4.50
 
Upvote 0

Excel 2010
ABCDEFG
1BracketsRateRate Diff
2Purchase Price725,000.0027,810.003,0001.75%1.75%
325,0002.25%0.50%
475,0003.50%1.25%
5200,0004.00%0.50%
6375,0004.25%0.25%
7725,0004.50%0.25%
2a
Cell Formulas
RangeFormula
C2=SUMPRODUCT(--(B2>rB),B2-rB,rDiff)+(B2>0)*50
G2=F2-N(F1)
Named Ranges
NameRefers ToCells
rB='2a'!$E$2:$E$7
rDiff='2a'!$G$2:$G$7
 
Upvote 0
Value of the property (including chattels)Duty payable
Not more than $3 000$50
More than $3 000 but not more than $25 000$50 plus $1.75 for every $100, or part, by which the dutiable value exceeds $3 000
More than $25 000 but not more than $75 000$435 plus $2.25 for every $100, or part, by which the dutiable value exceeds $25 000
More than $75 000 but not more than $200 000$1,560 plus $3.50 for every $100, or part, by which the dutiable value exceeds $75 000
More than $200 000 but not more than $375 000$5,935 plus $4.00 for every $100, or part, by which the dutiable value exceeds $200 000
More than $375 000 but not more than $725 000$12,935 plus $4.25 for every $100, or part, by which the dutiable value exceeds $375 000
More than $725 000$27,810 plus $4.50 for every $100, or part, by which the dutiable value exceeds $725 000
with a look up reference table should the rates change just amend the table15000
3000.01501.753000
formula giving the first value 85 below is25000.014352.2525000
75000.0115603.575000
=((A25-VLOOKUP(A25,mytable,4))/100)*VLOOKUP(A25,mytable,3)+VLOOKUP(A25,mytable,2)200000.0159354200000
375000.01129354.25375000
725000.01278104.5725000
999999999278104.5725000
500085
25300441.75
80,5001752.5
1357003684.5
190,9005616.5
2461007779
301,3009987
35650012195
411,70014494.75
46690016840.75
522,10019186.75
57730021532.75
632,50023878.75
68770026224.75
742,90028615.5
79810031099.5

<colgroup><col><col><col span="6"><col><col span="4"></colgroup><tbody>
</tbody>
 
Upvote 0
Brilliant - thanks mate. I ended up putting the table in another data sheet. Just had to add in the $ symbols to make it work on the following rows. Cheers!

Here is a shorter version:

=LOOKUP(E2-0.01,A2:A8,B2:B8)+LOOKUP(E2-0.01,A2:A8,C2:C8)*(ROUNDUP(E2,-2)-LOOKUP(E2-0.01,A2:A8))/100

E2 =property value
A2 =0, B2 =50, C2 =0.00
A3 =3000, B3 =50, C3 =1.75
A4 =25000, B4 =435, C4 =2.25
A5 =75000, B5 =1560, C5 =3.50
A6 =200000, B6 =5935, C6 =4.00
A7 =375000, B7 =12935, C7 =4.25
A8 =725000, B8 =27810, C8 =4.50
 
Upvote 0
Thanks for the quick response! Appreciate it!

you can use following formula:

Code:
=IFERROR(VLOOKUP(AGGREGATE(14,6,($A$2:$A$7)/(($A$2:$A$7-$D$1)<=0),1),$A$2:$C$7,2,0)+ROUNDUP(($D$1-AGGREGATE(14,6,($A$2:$A$7)/(($A$2:$A$7-$D$1)<=0),1))/100,0)*VLOOKUP(AGGREGATE(14,6,($A$2:$A$7)/(($A$2:$A$7-$D$1)<=0),1),$A$2:$C$7,3,0),50)

D1=property value
A2:A7=3000 to 725000
B2:B7=50 to 27810
C2:C7= 1.75 to 4.5

I'm sure some one else here will have shorter version of it
 
Upvote 0
Thanks for having a crack. Much appreciated Oldbrewer!

Value of the property (including chattels)Duty payable
Not more than $3 000$50
More than $3 000 but not more than $25 000$50 plus $1.75 for every $100, or part, by which the dutiable value exceeds $3 000
More than $25 000 but not more than $75 000$435 plus $2.25 for every $100, or part, by which the dutiable value exceeds $25 000
More than $75 000 but not more than $200 000$1,560 plus $3.50 for every $100, or part, by which the dutiable value exceeds $75 000
More than $200 000 but not more than $375 000$5,935 plus $4.00 for every $100, or part, by which the dutiable value exceeds $200 000
More than $375 000 but not more than $725 000$12,935 plus $4.25 for every $100, or part, by which the dutiable value exceeds $375 000
More than $725 000$27,810 plus $4.50 for every $100, or part, by which the dutiable value exceeds $725 000
with a look up reference table should the rates change just amend the table15000
3000.01501.753000
formula giving the first value 85 below is25000.014352.2525000
75000.0115603.575000
=((A25-VLOOKUP(A25,mytable,4))/100)*VLOOKUP(A25,mytable,3)+VLOOKUP(A25,mytable,2)200000.0159354200000
375000.01129354.25375000
725000.01278104.5725000
999999999278104.5725000
500085
25300441.75
80,5001752.5
1357003684.5
190,9005616.5
2461007779
301,3009987
35650012195
411,70014494.75
46690016840.75
522,10019186.75
57730021532.75
632,50023878.75
68770026224.75
742,90028615.5
79810031099.5

<tbody>
</tbody>
 
Upvote 0
Thanks Dave! Looks sharp and clean. You guys are jets!

Excel 2010
ABCDEFG
1BracketsRateRate Diff
2Purchase Price725,000.0027,810.003,0001.75%1.75%
325,0002.25%0.50%
475,0003.50%1.25%
5200,0004.00%0.50%
6375,0004.25%0.25%
7725,0004.50%0.25%

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
2a

Worksheet Formulas
CellFormula
C2=SUMPRODUCT(--(B2>rB),B2-rB,rDiff)+(B2>0)*50
G2=F2-N(F1)

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>

Workbook Defined Names
NameRefers To
rB='2a'!$E$2:$E$7
rDiff='2a'!$G$2:$G$7

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,215,262
Messages
6,123,938
Members
449,134
Latest member
NickWBA

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