Skip to content

Instantly share code, notes, and snippets.

@danielcompton
Created September 27, 2013 04:53
Show Gist options
  • Save danielcompton/6724333 to your computer and use it in GitHub Desktop.
Save danielcompton/6724333 to your computer and use it in GitHub Desktop.
Excel formula for calculating NZ tax paid on annual income.
=IF(B2<=14000,SUM(B2*10.5%),IF(B2<=48000,SUM(B2-14000)*17.5%+1470,IF(B2<=70000,SUM(B2-48000)*30%+7420,IF(B2>=70001,SUM(B2-70000)*33%+14020))))
@benjamin-brady
Copy link

Lambda function for FY25 blended rates:

=LAMBDA(x,SUMPRODUCT((x>{0,14000,15600,48000,53500,70000,78100,180000})*(x-{0,14000,15600,48000,53500,70000,78100,180000}),{0.105,0.0232,0.0468,0.0414,0.0836,0.0099,0.0201,0.06}))(A1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment