Skip to content
ryanduguidPublic

About

165 Excel LAMBDA functions and 5 help tables for Australian GST and financial modelling. Needs Microsoft 365 or Excel 2024 or later.

Topics

Resources

Code of conduct

Contributing

Security policy

Accessibility

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1,081 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Ozzit. 165 native Excel LAMBDAs. No add-ins, no macros. Pixel art of a lambda in a circle beside the Ozzit wordmark in slab-serif block letters.

Ozzit is one Excel workbook of native LAMBDA functions under the oz. prefix, for accountants and analysts modelling in Excel, with Australian GST and financial-year helpers: 165 functions and 5 named help tables in release v3.8.0.

Ozzit is not a bookkeeping tool and never touches a ledger. The functions cover amortisation, depreciation, ratios including the ATO's small business benchmarks, a checked dated rate lookup and AASB 16 lessee schedules. They need no add-in, macro, VBA or external dependency, so a copied function travels inside your own file and a reviewer can read the arithmetic. The file carries a hidden reference to the Advanced Formula Environment task pane used to author the functions; the functions do not depend on it.

Needs Microsoft 365 or Excel 2024 or later, which support LAMBDA and dynamic arrays. LibreOffice, Google Sheets and earlier Excel versions cannot evaluate the functions. The Apache License, Version 2.0 covers Ryan Duguid's original work on main. See NOTICE for retained third-party terms. Each earlier release keeps its own licence.

Excel Tested
Windows desktop Yes: the native gates on the tracked workbook (Excel 16.0 build 20625, 22 November 2026) and a copy-cell install check on v3.4.2 (build 20430, 25 September 2026)
Mac Not tested
Web Not tested
Advanced Formula Environment import of oz.txt Not tested

The cross-platform recalculation check has 4 cases with expected spill values. All 4 passed on Windows Excel build 20625 on 23 November 2026. The workbook build instructions reproduce the tracked workbook from text and verify its SHA-256.

Latest release on GitHub, or install via Homebrew (brew tap ryanduguid/tap && brew install ozzit, which installs the ozzit CLI and places ozzit.xlsx, oz.txt and functions.csv under $(brew --prefix)/share/ozzit).

  • v3.8.0, published 24 November 2026 from the cut dated 24 November 2026, with 165 functions. Download ozzit.xlsx (553,054 bytes, SHA-256 6395c321ec12a1c77ae5a62c79cb9784f3bf99a408b8c1f97df278d15b13499a).
  • v3.7.0, published 18 November 2026 from the cut dated 18 November 2026, with 151 functions. Download ozzit.xlsx (492,757 bytes, SHA-256 0ed09fc130d30394c97f6a41e40ab72d3f68093b65a5e109adf11bd901f006bd).
  • v3.6.0, published 14 November 2026 from the cut dated 14 November 2026, with 150 functions. Download ozzit.xlsx (485,256 bytes, SHA-256 95006168d685496f27b04ab95099a7c103d3013cf031178046ffcbfcfd88d65b).
  • v3.5.0, published 19 October 2026 from the cut dated 19 October 2026, with 143 functions. Download ozzit.xlsx (462,490 bytes, SHA-256 76d3722c785abd3813ffffffc5fbb2d6ab80628da10fb7f36cea7c67fd171330).

Fixed in v3.5.0, still present in v3.4.2. One blank cell in a column of GST rates gives every row 10%, zero-rated rows included; one blank opening in oz.Movementλ sets every row's opening to 0; and negative CFADS raises the balance in oz.DebtSculptFixedλ and oz.DebtSculptVariableλ. One blank cell likewise gives every row the default in a column of PeriodsPerYear for oz.PeriodRateλ and oz.AnnualRateλ, of Unit for oz.DateDifλ and of Repeats for oz.IsOccurrenceDateλ, whose LastOccurrence column reads no text date once another row holds a date or a blank. In v3.4.2, fill every such cell and enter last occurrences as dates, or move to v3.5.0. Further changes and the DB/DDB compatibility limitations are recorded under v3.5.0 in the changelog.

The example below is synthetic, and the reviewer decides the GST treatment.

Input: $1,100, assumed wholly taxable and GST-inclusive at 10%.

=oz.GSTExtractλ(1100)

Output: the cell displays $100.00 GST under currency formatting, reproduced in Excel 16.0 build 20430 against the exact v3.4.2 release on 25 September 2026. Inputs, raw results and unchanged workbook hash. The function returns the unrounded binary-float result, 99.999999999999986, so a caller who needs cent-exact totals wraps it in ROUND(...,2). The hand calculation is $1,100 / 11.

Human decision: Does the evidence establish that the whole supply is taxable?

Browse 10 worked formulas, including arguments, expected results and limits for v3.6.0.

Historical v3.2.0 screenshot

Synthetic GST example in Excel: $1,100 input and oz.GSTExtractλ(1100) returning $100.00 Captured in Microsoft 365 using Ozzit v3.2.0, Australian tax!A19:B19; the reviewer still decides whether the supply is taxable.

This earlier image is retained as historical evidence. The current numerical check above used a different workbook file.

Start with a task

An Ozzit user does not need all 165 functions. Start with the task you need to complete. The loan and depreciation guides show the spilled result for a synthetic input you can check by hand; the lease guide explains the 4 lessee functions.

Task Formula Guide
Loan schedule =oz.Amortiseλ(Principals, APRs, Terms, StartDates) 100,000 at 5% over 60 months
Depreciation =oz.DiminishingValueλ(Cost, Life) 1,000 over 5 years
AASB 16 lease =oz.LeaseScheduleλ(Payments, Rate, [InAdvance]) for the liability, =oz.ROUScheduleλ(Cost, Periods) for the right-of-use asset Lessee functions and rate conversion
Practice or business calculator Open the standalone companion; select one of its 21 calculators Inputs, assumptions and limits
PAYG withholding, from v3.7.0 =oz.PAYGWithholdingλ(Earnings, Coefficients, [Period]) with the payee's coefficients from the ATO's Schedule 1 What it applies and leaves out
Lease journals, from v3.8.0 =oz.LeaseJournalλ(LeaseSchedule, ROUSchedule, [Accounts]) from the 2 lease schedules Entries and AASB 16 paragraphs
Hire purchase or chattel mortgage, from v3.8.0 =oz.HPScheduleλ(Financed, AnnualRate, Periods, [PeriodsPerYear], [InAdvance], [Balloon]), journalled by =oz.HPJournalλ(HPSchedule, [Accounts]) Schedule, rounding and journal
Lease, hire purchase, loan or cash, from v3.8.0 =oz.FinanceCompareλ(CashFlows, DiscountRate, [PeriodsPerYear], [Labels]) Pre-tax present values
Capital gains on shares or units, from v3.8.0 =oz.CGTParcelsλ(Parcels, Sales) first in, first out, then =oz.NetCapitalGainλ(IncomeYear, Gains, [Discountable], [Losses], [PriorLosses], [Entity]) for 2025-26 or 2026-27 Parcels, the 12 months and the discount
Income tax on taxable income, from v3.8.0 =oz.IncomeTaxλ(TaxableIncome, IncomeYear, [Resident]) at the general rates for 2024-25 to 2026-27 Rates and what is left out
Division 7A minimum yearly repayment, from v3.8.0 =oz.Div7AMinRepaymentλ(OpeningBalance, BenchmarkRate, RemainingTerm) under ITAA 1936 s 109E(6) Formula, term and what is left out
GST under the margin scheme, from v3.8.0 =oz.MarginSchemeGSTλ(Consideration, MarginBase) under GST Act s 75-10 Margin, base and what is left out
FBT gross-up, from v3.8.0 =oz.FBTGrossUpλ(TaxableValues, Type) under FBTAA s 5B at 47% Factors and what is left out
Balancing adjustment on a depreciating asset, on main only =oz.BalancingAdjustmentλ(TerminationValue, AdjustableValue, [SumOfReductions], [TotalDecline]) under ITAA 1997 s 40-285, less non-taxable use under s 40-290 Reduction and what is left out
Division 296 tax on superannuation earnings, 2026-27, on main only =oz.Division296Taxλ(TotalSuperEarnings, TotalSuperBalance, IncomeYear) at 15% above a $3 million balance and a further 10% above $10 million, ITAA 1997 Subdivision 296-B Thresholds and what is left out
Division 7A loan schedule, on main only =oz.Div7AScheduleλ(LoanAmount, LoanYear, Term, [Repayments], [LodgmentDay], [Rates]): each income year's minimum yearly repayment, interest, principal, shortfall and closing balance under ITAA 1936 s 109E, with interest on the daily balance as the ATO's Division 7A calculator works it Basis of each figure and what is left out
Professional firm profit allocation risk, on main only =oz.ProfitAllocationλ(Returned, Entitlement, TaxPaid, [Benchmark], [Remuneration]): PCG 2021/4's risk assessment factor scores, aggregate and risk zone; the gateways stay the practitioner's Factors, zones and what is left out
Division 296 tax projected by income year, on main only =oz.Division296Projectionλ(TotalSuperEarnings, OpeningBalance, ClosingBalance, IncomeYear, [DecemberCPI], [BaseCPI]): 2026-27's enacted thresholds, later years indexed from the CPI you give Indexation and exact rounding
Lump sum payment in arrears tax offset, 2012-13 to 2026-27, on main only =oz.LumpSumArrearsOffsetλ(TaxableIncome, IncomeYear, AccrualYears, Arrears, AccrualIncomes) under ITAA 1936 ss 159ZR to 159ZRD, at each year's resident rates Test, rates and what is left out
Income test measures, 2024-25 to 2026-27, on main only =oz.IncomeTestλ(Measure, Components, IncomeYear): income for surcharge purposes, Division 293 income, rebate income, repayment income, adjusted taxable income, co-contribution total income or spouse income for the spouse contribution offset Definitions, components and sources
Low-value and small business pools, from v3.8.0 =oz.LowValuePoolλ(OpeningBalance, LowCostAssets) and =oz.SmallBusinessPoolλ(OpeningBalance, Additions), a year in each column Rates, thresholds and what is left out

oz.PAYGWithholdingλ arrived in v3.7.0. It works out the amount before tax offsets and the Medicare levy adjustment and does not apply either, or the extra withholding for 53 or 27 pays. It does not choose the scale and does not do scale 4, for a payee who has not given a TFN.

oz.LeaseJournalλ, oz.HPScheduleλ, oz.HPJournalλ and oz.FinanceCompareλ arrived in v3.8.0. They are bookkeeping arithmetic: the comparison is before tax, and none works out Division 240 of the Income Tax Assessment Act 1997 or GST input tax credits.

oz.CGTParcelsλ and oz.NetCapitalGainλ arrived in v3.8.0. They are arithmetic for the 2025-26 and 2026-27 income years: they do not decide who can use the CGT discount, apportion it for foreign or temporary residents, or apply the small business concessions. oz.IncomeTaxλ applies the general rates only: no Medicare levy, tax offsets or part-year tax-free threshold. oz.Div7AMinRepaymentλ is the s 109E(6) arithmetic only: it does not decide whether a loan complies or a shortfall is a dividend; nor does oz.Div7AScheduleλ, which works the yearly arithmetic of a complying loan. oz.ProfitAllocationλ scores PCG 2021/4's risk assessment factors only: it does not assess the gateways or decide whether the Guideline applies. oz.MarginSchemeGSTλ does not decide whether the margin scheme applies or which base is right. oz.FBTGrossUpλ grosses up taxable values only: it does not value a benefit or decide its type. oz.LowValuePoolλ and oz.SmallBusinessPoolλ roll a pool forward; they do not decide which assets belong in it.

Open, copy functions and use modern Excel shows how to copy a function into your own workbook.

To bring in every function at once, the Advanced Formula Environment in the Excel Labs add-in imports a module from a GitHub gist. Microsoft's module import page, last changed 9 February 2023 and read on 27 November 2026, says the add-in imports only from a gist URL, reads the gist's single file, and does not allow tab or carriage return characters in a module; the v3.8.0 oz.txt has neither.

  1. Download https://raw.githubusercontent.com/ryanduguid/Ozzit/v3.8.0/oz.txt; that file is the v3.8.0 library as one module, and its 170 names match that release's workbook.
  2. Signed in to GitHub, create a gist at https://gist.github.com/ holding that file alone, unchanged. A secret gist works too, and anyone with its URL can read it.
  3. In Excel, open the Advanced Formula Environment's Names tab, choose import, give the gist's URL and the module name oz.

Then type =oz. in a cell and pick a function from autocomplete. This route has not been tested in Excel.

For an AI assistant, the Ozzit skill routes function selection and composition through the existing catalogue and approved workbook. Copy skills/ozzit into the host's skill directory and supply the approved bundle location and revision. Installing the skill does not install the Excel names.

Copilot in Excel's skill builder turns 'your preferred workflow, instructions, previous prompts, or examples of completed work' into a reusable skill. Give it the text of skills/ozzit/SKILL.md as the instructions, and supply functions.csv and oz.txt from the approved bundle revision. Microsoft's What's New in Excel (October 2026) post of 29 October 2026 says skill builder is rolling out on Windows, Mac and the web; this route has not been tested.

In Claude Code the repository is also a plugin marketplace that installs the skill:

claude plugin marketplace add ryanduguid/Ozzit
claude plugin install ozzit@ozzit

The marketplace follows main, which can be ahead of the latest release, so still supply the approved bundle revision. Its manifests pass claude plugin validate; installing it from GitHub has not been tested.

Claude for Excel (Pro, Max, Team and Enterprise) applies the Skills enabled in your Claude settings. To add this one, zip the skills/ozzit folder, then in Claude choose Customize, Skills, +, Create skill, Upload a skill, and turn it on; code execution must be enabled. On Team and Enterprise an owner can provision it for everyone instead. The zip holds only SKILL.md, so attach functions.csv and oz.txt from the same release tag, or open its ozzit.xlsx, for the skill to read. Steps as Anthropic's Claude for Excel and Skills pages gave them on 12 November 2026; this route has not been tested end to end.

Alternatives

Ozzit is a finance-focused LAMBDA library with Australian helpers. As read on 5 November 2026, general-purpose libraries cover nearby ground: a documented library of more than 50 functions importable from a gist, a 97-function dynamic-array library in 10 categories and a general MIT-licensed library.

As read on 13 November 2026, AI assistants built into or added to Excel, including the 2 hosts above, work on your workbook on request rather than supplying a fixed function library.

Similar tools and improvement decisions compares the companion calculators with similar calculators.

Capture evidence, guides, verification and licence

The workbook also holds inline help and editable demonstration worksheets.

Capture evidence

The 6 September 2026 capture used Excel 16.0 build 20326. The released workbook opened without a repair prompt and a full calculation rebuild returned numeric 100 for the displayed formula.

v3.2.0 release asset SHA-256: 13df5eb0e2e7a3d1b17a743a990c30adfd187d409be133996ec154543e78ff28.

The capture record and PowerShell reproduction preserve the Excel command, returned value, crop and image fingerprint.

The screenshot uses a disposable copy with a synthetic label, an explicit argument in B19 and currency formatting. It certifies this example in v3.2.0. The v3.4.2 workbook is a different file; its full native gate results are recorded in its release notes and in CHANGELOG.md. The shipped workbook was not edited.

Guides

The Ozzit guides are grouped as how-to, reference and background pages.

How-to:

Reference:

Background:

Verification and attribution

v3.5.0, dated 19 October 2026, is under Apache-2.0. It was published on 19 October 2026 from the signed tag v3.5.0 on commit 40b0408c3f1bd9a9cea7cf1580bd039bcba03fde, after the native gates RELEASING.md requires ran on the exact file it ships. The release page carries ozzit.xlsx, provenance.json and SHA256SUMS, and GitHub reports the release immutable. The v3.5.0 changes describe what it adds. v3.4.2 (dated 16 September 2026, published 20 September 2026 from commit 621af0e265306f00a83e17c4d27dca09031c5ccd) and earlier releases remain under MIT.

v3.6.0, cut dated 14 November 2026, is under the Ryan Duguid Public Attribution Licence 1.0. Its citation metadata names the cut. Cite the signed tag v3.6.0 on commit 50eeb90aaed628e73b54cdac74d28eddc44643bb; GitHub reports its release page immutable. The v3.6.0 changes describe the workbook and source views included in this cut, and its known issues. RELEASING.md requires the 18 gates and exact-candidate approval before a release is published.

v3.7.0, cut dated 18 November 2026, is under the Ryan Duguid Public Attribution Licence 1.0. Its citation metadata names the cut. Cite the signed tag v3.7.0 on commit 44257fc252afc67e87c3788776d10f67663a3136; GitHub reports its release page immutable. The v3.7.0 changes describe what it adds and fixes.

v3.8.0, cut dated 24 November 2026, is under the Apache License, Version 2.0. Its citation metadata names the cut. Cite the signed tag v3.8.0 on commit 4c9daa4b5018653c22412da18cb310850ad30c7b; GitHub reports its release page immutable. The v3.8.0 changes describe what it adds, fixes and changes.

v3.9.0, cut dated 1 December 2026, is under the Apache License, Version 2.0. Its citation metadata names the cut. Cite the signed tag v3.9.0 once its release page exists, and the exact commit before then. The v3.9.0 changes describe what it adds, fixes and changes.

v3.8.0 ozzit.xlsx SHA-256: 6395c321ec12a1c77ae5a62c79cb9784f3bf99a408b8c1f97df278d15b13499a (553,054 bytes), the same bytes as the release asset. main is ahead of that tag, so the file you clone is not the file the release ships: the tracked ozzit.xlsx is SHA-256 be222526c8896058fd0ab8bbe7b7e4f69b3cd0d24c15a101937c5289c9e1a439 (617,709 bytes), pinned in release/workbook-base.json and checked by the tool tests, and adds the 14 functions and the changes listed under v3.9.0 in the changelog. On 1 December 2026, Excel 16.0 build 20625 recalculated 1,129 formulas in the tracked workbook with 0 in error, ran 3,526 self-test assertions with 0 failures and found 19,485 cached values equal to what their formulas produce. The workbook was byte-identical before and after both native gates.

Ozzit's functions were written by Ryan Duguid. Ozzit is not derived from any third-party workbook or library.

Licence

Ryan Duguid's original work is licensed under the Apache License, Version 2.0. When redistributing this work or a derivative, preserve the applicable attribution notices in NOTICE as required by section 4(d). Versions released before this change keep the licence they were released with. See DISCLAIMER.md for scope and review requirements.


'Yeah, science!' Well, arithmetic.
Reusing this code? See NOTICE for attribution. AI agents: see AGENTS.md.
Made in Newcastle, Australia by Ryan Duguid.

About

165 Excel LAMBDA functions and 5 help tables for Australian GST and financial modelling. Needs Microsoft 365 or Excel 2024 or later.

Topics

Resources

Code of conduct

Contributing

Security policy

Accessibility

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages