Someone posted this at Red Flag Deals.
https://www.vertex42.com/Calculators/Canadian-mortgage.html
Download a free feature-packed Canadian mortgage calculator spreadsheet! This Microsoft® Excel® template lets you choose a compound period (e.g. semi-annual for Canadian mortgages) and a variety of different payment frequencies (annually, semi-annually, quarterly, bi-monthly, monthly, semi-monthly, bi-weekly, and weekly). It also lets you see how making periodic extra payments (prepayments) can save you money and help pay off your mortgage sooner. You can also calculate the outstanding balance at the end of a given term.