In a contract, the risk is rarely the expiration date. It is the last day to give notice that you do not want to renew. If that day passes without notice and the clause provides for tacit renewal, the contract extends automatically, including its rent, minimum purchase commitment, or annual license.
Residential leases in Spain are a useful example: under art. 10 of the LAU, the contract is extended if no one gave notice at least four months in advance, in the case of the landlord, or two months, in the case of the tenant [1]. A provision published in the BOE on October 7, 2026 raises the landlord’s notice period to six months [2]. That is why this template calculates the last notice day for each contract and leaves the period as a data point you can edit, never hard-coded into the formula.
Download the template (Excel) (in Spanish)
What this template does and does not do
It is designed to bring into one sheet what is usually scattered across folders, emails, and the memory of the person who negotiated the contract. It records the expiration date, the last day to send the notice, whether renewal is tacit or express, who is responsible for each contract, and what recurring obligations it creates.
It does not replace reading the clause. The template calculates a date based on the data you enter. If the clause requires notice by certified mail, to a specific address, or with minimum content, that is for the lawyer to review. Nor does it validate the notice: it only tells you until when you can send it with a buffer.
The file has these tabs:
- Contracts: one row per contract, with dates, notice period, status light, owner, and validation.
- Obligations: the recurring commitments under each contract, linked by its ID.
- Holidays: one column of dates per country.
- Settings: the weekend code and the status-light thresholds.
- Instructions: the summarized step-by-step guide, within the same file.
How to fill it out field by field
“Contracts” tab: identification
The first columns identify the contract. Fill them in even if they seem obvious: they will let you filter today and migrate tomorrow.
| Field | What to enter | Example |
|---|---|---|
| ID | A unique code that does not change even if the counterparty’s name changes | CT-001 |
| Counterparty | The legal name as it appears in the contract | Inmobiliaria Los Andes S.A.S. |
| Contract type | The category you use for filtering | Office lease |
| Country | The holiday calendar that applies. It must match a header in “Holidays” | Colombia |
| Start date | A real date, not text | 01/02/2024 |
| Expiration date | The date set by the contract or its latest extension | 31/01/2027 |
| Source clause | The number of the term and notice clause | Clause 4.2 |
Renewal and notice
These columns define the calculation. Read the term clause and transfer these data:
- Renewal type: tacit (it extends if no one gives notice), express (an agreement is required to renew), or no renewal (simple expiration).
- Who must give notice: us, the counterparty, or either one.
- Notice unit: months, calendar days, or business days.
- Amount: the number set by the clause. If there is no renewal, enter 0 and choose calendar days: the template will treat the expiration date as the management deadline.
- Safety buffer: the calendar days you subtract so that the notice arrives on time by certified mail or other reliable notice.
Even if the counterparty is the one required to give notice, it is still useful to monitor the date. Once that day has passed, you know whether the contract continues and can plan the transition or renegotiation.
Owner, backup, and validation
Each contract has an owner and a backup. The backup covers vacations, leaves, or the owner’s departure, which always seem to coincide with the notice month.
The “Validated by” and “Validation date” columns record that a person reviewed the calculated date against the clause. A well-written formula produces the wrong date if someone entered the wrong unit or country. As long as those two cells are blank, treat the date as provisional.
“Obligations” tab
Many contracts fail midway, not at expiration: an insurance policy lapses, a quarterly report was never sent, an adjustment was not applied. This tab records each obligation with the contract ID, frequency, next date, and how many days in advance you want to start managing it. The “Alert” column changes to “Manage” when you enter that window.
| Obligation | Contract | Frequency | Next date | Lead time |
|---|---|---|---|---|
| Rent payment | CT-001 | Monthly | 05/11/2026 | 5 days |
| Performance bond renewal | CT-003 | Annual | 15/01/2027 | 30 days |
| Bank guarantee update | CT-004 | Annual | 01/12/2026 | 20 days |
| License usage report | CT-002 | Quarterly | 31/12/2026 | 10 days |
| Annual price adjustment | CT-007 | Annual | 01/05/2027 | 30 days |
“Holidays” and “Settings” tabs
In “Contracts,” the “Country” column indicates which column in “Holidays” the formula uses. The name must match the header exactly: “México,” with the accent mark, not “Mexico.”
| Country | Baseline rule | Source |
|---|---|---|
| Colombia | Law 51 of 1983 (Emiliani Law) | Concept 146731 of 2021 from Función Pública [3] |
| Mexico | Federal Labor Law, art. 74 | Chamber of Deputies [4]; sexennial holiday under sec. VII [5] |
| Argentina | Law 27.399 | Official Gazette [6] |
| Spain | DGT Resolution of 10-17-2025, 2026 labor holidays | BOE [7] |
| Chile and Peru | Not included | Load them from each country’s official source before using them |
Before loading or using 2026 holidays, check them against the official source and add any applicable regional or municipal holidays.
“Settings” contains the weekend code used by the formula. DIA.LAB.INTL accepts custom parameters for weekends [8]. The status-light thresholds are also there.
The last notice day formula, explained
In the file, “Holidays” is replaced by INDICE with COINCIDIR, which takes the column for each contract’s country. Here we use the short name to make it easier to read.
Notice in months
=DIA.LAB.INTL(FECHA.MES(venc;-meses)+1;-1;1;Festivos)
FECHA.MES subtracts the months from the expiration date. DIA.LAB.INTL returns the date that is a given number of business days before or after the start date, with the weekend you specify [8]. If you add one day and then request one business day backward, you get the same date when it is a business day. When it falls on a Saturday, Sunday, or holiday, you get the previous business day. Holidays are an optional list of dates excluded from the working calendar [9]. The function also exists in LibreOffice Calc as of version 4.3 and accepts negative values to count backward [10].
The formula moves the date backward for a practical reason. In Colombia, monthly periods are computed according to the calendar and, if the last day is a holiday, they are extended to the first business day [11]. They also end at midnight on the last day [12]. That rule is useful for arguing whether a notice arrived on time. It is not a good bet for planning delivery.
The extension to the next business day is useful to defend a notice that arrived just in time. For scheduling delivery, the right date is the prior one.
Notice in business days
=DIA.LAB.INTL(venc;-días;1;Festivos)
The formula counts backward in business days from expiration, excluding Saturdays, Sundays, and the holidays on the list [8]. In Colombia, day periods stated in laws and official acts exclude holidays, unless otherwise provided [11]. In a contract, the clause controls. If it says “30 days” and nothing more, decide with your team how to read it and record that decision in “Notes.”
Calendar days and safety buffer
=DIA.LAB.INTL(venc-días-margen+1;-1;1;Festivos)
The formula subtracts the calendar days and the buffer, and then moves the date to the previous business day. The buffer is deducted before the calculation in all three units. In months, the formula is: =DIA.LAB.INTL(FECHA.MES(venc;-meses)-margen+1;-1;1;Festivos). In business days, the buffer is subtracted from the expiration date before counting backward.
If your Excel is in another language
Function names and the argument separator may vary depending on the installation and regional settings. If you copy the formula manually, check those names before pasting it into your file.
The status light: how to read it and adjust thresholds
=DIAS.LAB.INTL(HOY();último_día;1;Festivos)
This function counts the business days between today and the last notice day. It excludes weekends and the holidays on the list, and the dates in that list may be in any order [13].
- Red: 10 business days or fewer remain, or the date has already passed.
- Yellow: between 11 and 30 business days remain.
- Green: more than 30 business days remain.
- Gray: the contract is closed or the notice has already been sent.
To change the thresholds, edit “Red threshold” and “Yellow threshold” in “Settings.” A lease portfolio that sends notices by postal mail needs wider thresholds than a portfolio of licenses that are canceled through a portal.
Common mistakes
- Dates entered as text. Especially in the holidays list, dates must be specified using the FECHA function or as the result of other formulas [9]. A date pasted from a PDF often remains as text, which you can tell because the cell aligns to the left.
- Holidays outside the range or a year not loaded. If a date in the holidays list is outside the valid interval, DIA.LAB.INTL returns #NUM! [8]. If you simply did not load 2027, the formula does not fail: it calculates without holidays and does not warn you of the problem, which is worse.
- Confusing the expiration date with the last day to give notice. The status light looks at the notice deadline. If you enter the expiration date in the wrong column, the alert arrives months late.
- Leaving the notice period hard-coded in the formula. In Spain, a provision published in October 2026 stated that the landlord’s notice period increases from four to six months. The transitional regime allows a minimum of four months if fewer than six months remain until expiration [2]. A formula with “-4” written into it would have been wrong for all contracts at once. Verify the current status of that provision before applying it.
- Forgetting Argentina’s movable holidays and Spain’s local holidays. In Argentina, transferable holidays that fall on a Tuesday or Wednesday move to the preceding Monday. In addition, the Executive Branch may set up to three holidays or nonworking days each year for tourism purposes [6]. In Spain, each municipality may have up to two local holidays [7].
- Failing to load Mexico’s sexennial holiday and election day. The LFT includes election day among mandatory rest days [4], and also October 1 every six years, for the transfer of the Federal Executive Branch [5]. Because they do not recur every year, add them when applicable.
- An owner with no backup. The template gives notice, but if the only person looking at the row is away, no one acts.
How to adapt it to your firm or legal department
Add a country or city
For a new country, insert a column in “Holidays” before “Notes,” enter the country name in the header, and load the dates with FECHA. Then expand the range of the formulas in “Contracts” and add the country to the drop-down list. Chile and Peru are not loaded: if you work with them, take the dates from each country’s official source.
For a city, the simplest approach is to duplicate the country column, rename it, for example “Spain (Madrid),” and add the regional and local holidays.
Leases, supply agreements, or licenses
Each contract type has its own notice period, and sometimes the law sets it. Two residential lease examples:
- Colombia: a transcription of article 22 of Law 820 of 2003 refers to written notice to the tenant, by authorized postal service, at least three months before the expiration date [14]. The citation comes from a transcription, so check it against the Senate Secretariat.
- Spain: according to the text cited by the BOE in 2023, the tenant must give two months’ notice and the landlord four [1]. A provision published in October 2026 states a six-month period for the landlord [2]. Before applying it, check its current status in the BOE.
In supply agreements and software license agreements, the notice period usually comes from the contract, not the law. Whatever the type, verify the law in effect when signing and when loading each contract.
Several years
The “Holidays” tab accepts several years in the same column. Add the 2027 dates below the 2026 dates as soon as they are published, and expand the range if you add more rows outside the planned range. In Argentina, review the act that sets the tourism days for the year [6]. In Spain, review the annual resolution of the Directorate-General for Labor: the 2026 resolution was published in the BOE on October 28, 2025 [7]. Schedule that task once a year.
When Excel is not enough
The spreadsheet falls short when there are many contracts, several owners, or you need to prove who validated each date. In a shared file, anyone can overwrite a formula without leaving a trace. In addition, alerts depend on someone opening the file.
In the matters it manages, Sorthon proposes each deadline in business days with holidays. A team member validates it, and the deadline goes into the owner’s calendar and “My Work” inbox, with a record of who validated it. Sorthon also offers end-to-end contract management, permissions by module and profile, and a record of who accessed what and what changed. The columns in this template (ID, counterparty, dates, owner, and validation) are designed to migrate to a system like Sorthon.




