How to Track Instrument Calibration Due Dates in Google Sheets and Email Reminders Before They Lapse (2026)
If you look after a lab, a QC bench, a machine shop, a food plant or a school science department, you have a list of things that measure: balances, pipettes, thermometers, pH meters, pressure gauges, torque wrenches, calipers. Each one is only trustworthy until its next calibration date, and the usual way to find out one has lapsed is an auditor reading the sticker. This guide builds a calibration tracker in Google Sheets that catches that first: a log with one row per calibration (date, certificate, as-found result), an instrument list whose due dates work themselves out from the log, a “do not use” list of everything overdue, a review list for out-of-tolerance results, and a free Apps Script that emails each instrument's custodian before the due date, with a summary for whoever runs quality. It runs in preview mode first, so nothing goes out until you have read it.
Your written program sets the interval; the sheet keeps you to it. How often each instrument is calibrated comes from your own procedures, the manufacturer's recommendation and the instrument's history, so the sheet doesn't guess: you type an interval in months per instrument. If you make drugs, the US rules are explicit about the program: 21 CFR 211.160(b)(4) requires calibration of instruments, apparatus, gauges and recording devices “at suitable intervals in accordance with an established written program” with schedules, accuracy limits and “provisions for remedial action”, and says instruments not meeting specifications “shall not be used”; 21 CFR 211.68(a) adds that written records of the calibration checks must be kept. Other quality systems say much the same. The layout below gives you those pieces: a schedule, a record of every calibration and its result, and a clear list of what must not be used. (Servicing on mileage or engine hours, such as oil changes and filter swaps, is a different job; the maintenance schedule guide covers it.)
Step 1: a Log tab with one row per calibration
Name a tab Log. Every time an instrument is calibrated, in house or by a vendor, add a row. Never type over an old row: the log is your calibration history, and the instrument list reads its dates from here.
| Col | Header | What goes in it |
|---|---|---|
| A | Asset ID | The ID on the instrument's label, exactly as on the Instruments tab (BAL-01, PIP-07…) |
| B | Calibrated on | The calibration date from the certificate or your worksheet |
| C | Done by | In-house, or the calibration provider's name |
| D | Certificate no. | The certificate or report number, so you can find the paper or PDF |
| E | As found | Pass or Fail: was it within tolerance before anyone adjusted it? Use a Data › Data validation dropdown. |
| F | As left | Pass, Adjusted or Removed from service |
| G | Notes | Anything an auditor would ask about: what was adjusted, which reference was used |
| H | Previous calibration | A helper formula (below) |
Format B as a date (Format › Number › Date). The certificates themselves can live in a Drive folder; paste a link in Notes if you like. In H2, fill down. It finds the calibration before this one for the same instrument, which matters when a result fails (Step 3):
=IF(A2="", "", LET(p, MAXIFS(B:B, A:A, A2, B:B, "<"&B2), IF(p=0, "", p)))
Step 2: an Instruments tab whose due dates fill themselves in
Name a second tab Instruments, one row per instrument. The script finds columns by their header, so the order is up to you, but the formulas below assume this layout:
| Col | Header | What goes in it |
|---|---|---|
| A | Asset ID | Unique per instrument |
| B | Instrument | What it is: “Analytical balance”, “Pipette 100–1000 µL” |
| C | Location | Room, line or bench, so people can find it |
| D | Custodian email | Who books the calibration. Two people? Separate the addresses with commas. |
| E | Last calibrated | Formula: the latest date in the Log for this Asset ID |
| F | Interval (months) | From your procedure: 3, 6, 12, 24… |
| G | Due | Formula: Last calibrated plus the interval. Type a date over it for a one-off due date. |
| H | Status | Blank while in normal use. Out for calibration or At vendor pauses reminders; Out of service, Tagged out, Retired, Disposed, Reference only or No calibration required stop them. |
| I | Sent log | Leave empty; the script records what it sent |
| J | Last result | Formula: the As found result of the latest calibration |
Put these in row 2 and fill down. E2 (format as a date; MAXIFS returns 0 when there is no calibration yet, which the IF turns into a blank):
=LET(d, MAXIFS(Log!B:B, Log!A:A, A2), IF(d=0, "", d))
G2 uses EDATE, which adds whole months and keeps the day of the month (a balance calibrated on March 14 with a 6-month interval is due September 14). Format it as a date:
=IF(OR(E2="", F2=""), "", EDATE(E2, F2))
J2:
=IF(E2="", "", IFERROR(INDEX(FILTER(Log!E:E, Log!A:A=A2, Log!B:B=E2), 1), ""))
Now recording a calibration is one step: add the Log row, and the instrument's Last calibrated, Due and Last result update by themselves. A new instrument shows a blank Due until its first calibration is logged, and the script reports it as having no due date, which is exactly the question an auditor would ask about it.
Step 3: see what is due, what must not be used, and what needs a review
Select A2:J on Instruments, open Format › Conditional formatting, choose Custom formula is, and add these rules in this order (the first rule that matches wins):
| Custom formula | Color | Meaning |
|---|---|---|
=REGEXMATCH(LOWER($H2), "^(retired|disposed|scrapped|inactive|out of service|not in use|tagged out|reference only|not required|no calibration required|out for calibration|at vendor)$") | Grey text | Not in use, or away being calibrated |
=AND(ISNUMBER($G2), $G2<TODAY()) | Red | Overdue: do not use |
=AND(ISNUMBER($G2), $G2>=TODAY(), $G2<=TODAY()+30) | Amber | Due in the next 30 days |
=$J2="Fail" | Purple | Last calibration found it out of tolerance |
The “do not use” list. On a summary tab, every instrument that is overdue and not marked as out of use, oldest first. Print it or pin it where people pick up instruments:
=IFERROR(SORT(FILTER({Instruments!A2:A, Instruments!B2:B, Instruments!C2:C, Instruments!G2:G},
ISNUMBER(Instruments!G2:G), Instruments!G2:G<TODAY(),
NOT(REGEXMATCH(LOWER(Instruments!H2:H),
"^(retired|disposed|scrapped|inactive|out of service|not in use|tagged out|reference only|not required|no calibration required|out for calibration|at vendor)$"))),
4, TRUE), "Nothing overdue")
Plan the next 60 days by location. Useful when a calibration provider comes on site or you ship a batch out: everything due soon, grouped by room or line, then by date:
=IFERROR(SORT(FILTER({Instruments!A2:A, Instruments!B2:B, Instruments!C2:C, Instruments!G2:G},
ISNUMBER(Instruments!G2:G), Instruments!G2:G>=TODAY(), Instruments!G2:G<=TODAY()+60,
Instruments!H2:H=""), 3, TRUE, 4, TRUE), "Nothing due in 60 days")
Never calibrated. Instruments with no Log row at all:
=IFERROR(FILTER(Instruments!A2:B, Instruments!A2:A<>"", Instruments!E2:E=""), "None")
Out-of-tolerance review list. When a calibration finds an instrument out of tolerance (As found = Fail), the measurements made with it since its previous good calibration may be wrong. This lists every failed result with the window to look at (Previous calibration to Calibrated on), so each one can get a documented review of what was measured in that window and whether anything needs rechecking:
=IFERROR(SORT(FILTER({Log!A2:A, Log!H2:H, Log!B2:B, Log!C2:C, Log!D2:D, Log!G2:G},
Log!E2:E="Fail"), 3, FALSE), "No failed calibrations")
Format the second and third columns of the result as dates. Add a Review done column on the Log if you want to tick them off.
Step 4: email custodians before the due date
Google Sheets doesn't send email when a date arrives. Its conditional notifications react to cell changes, are only available on certain work or school accounts, and Google notes they can miss changes from a TODAY() formula while the file is closed. A short Apps Script with a daily trigger does the job. Open Extensions › Apps Script, paste this, and at the top set LAB_NAME (it signs the email and becomes the sender name) and, optionally, QA_EMAIL for a summary. Save, then:
- Run
sendCalibrationRemindersonce and approve the permissions.PREVIEWistrue, so every email goes to you, with the real recipients in the subject, and nothing is logged. - Read the preview emails as a custodian would. When they look right, set
PREVIEW = falseand save. - Add the trigger: Triggers › Add trigger › sendCalibrationReminders › Time-driven › Day timer, for example 7 to 8 AM.
/**
* Calibration due-date reminders from an "Instruments" tab: one row per
* instrument, gauge or meter. The due date comes from the Due column, or,
* if Due is empty, from Last calibrated + Interval (months), worked out the
* same way as EDATE (Jan 31 + 1 month = Feb 28).
* Headers used (any order): Asset ID, Instrument, Location, Custodian email,
* Last calibrated, Interval (months), Due, Status, Sent log.
* Instrument, Location, Status and either Due or Last calibrated +
* Interval (months) are optional. Custodian email can hold several
* addresses, comma-separated.
* Each custodian gets one email per run covering all of their instruments,
* and the optional QA_EMAIL gets a summary with every overdue instrument
* that is still in service.
*/
const SHEET_NAME = 'Instruments';
const REMIND_DAYS = [30, 14, 3]; // days before Due
const OVERDUE_DAYS = [1, 7, 14, 28]; // days after Due, while not recalibrated
const STOP_STATUS = /^(retired|disposed|scrapped|inactive|out of service|not in use|tagged out|reference only|not required|no calibration required|out for calibration|at vendor)$/i;
const LAB_NAME = 'Your lab or company name';
const QA_EMAIL = ''; // optional summary for the quality lead
const INCLUDE_LINK = true; // custodians are staff: add the sheet link
const PREVIEW = true; // true: everything goes to you, nothing is logged
const MAX_EMAILS = 50; // safety cap per run (custodian emails)
const LOG_KEEP = 20; // entries kept in each Sent log cell
function sendCalibrationReminders(now) {
const lock = LockService.getDocumentLock();
if (!lock.tryLock(30000)) return; // another run is still going
try {
// A time-driven trigger passes an event object, so only use a real Date.
return remind_(now instanceof Date ? new Date(now) : new Date());
} finally {
lock.releaseLock();
}
}
function remind_(now) {
const ss = SpreadsheetApp.getActive();
const sh = ss.getSheetByName(SHEET_NAME);
if (!sh) throw new Error(`No tab named ${SHEET_NAME}.`);
const rows = sh.getDataRange().getValues();
const head = rows[0].map((h) => String(h).trim().toLowerCase());
const col = (...names) => { const i = names.map((n) => head.indexOf(n.toLowerCase())).find((x) => x !== -1); return i === undefined ? -1 : i; };
const c = { id: col('Asset ID'), name: col('Instrument'), loc: col('Location'), to: col('Custodian email'),
last: col('Last calibrated'), every: col('Interval (months)', 'Interval'), due: col('Due'),
status: col('Status'), log: col('Sent log') };
if ([c.id, c.to, c.log].includes(-1) || (c.due === -1 && (c.last === -1 || c.every === -1))) {
throw new Error('Need Asset ID, Custodian email and Sent log columns, plus Due or Last calibrated and Interval (months).');
}
// Count whole days in the spreadsheet's own time zone (File > Settings).
const tz = ss.getSpreadsheetTimeZone();
const isDate = (v) => v instanceof Date && !isNaN(v);
const parts = (d) => Utilities.formatDate(d, tz, 'yyyy-MM-dd').split('-').map(Number);
const dayOf = (y, m, d) => Date.UTC(y, m - 1, d) / 86400000;
const dayNum = (d) => dayOf(...parts(d));
const edate = (d, months) => { // same result as =EDATE(d, months)
const [y, m, dd] = parts(d), t = y * 12 + (m - 1) + Math.trunc(months);
const ty = Math.floor(t / 12), tm = t - ty * 12 + 1;
return dayOf(ty, tm, Math.min(dd, new Date(Date.UTC(ty, tm, 0)).getUTCDate()));
};
const show = (n) => { // day number -> "Thu, Nov 19, 2026"
const d = new Date(n * 86400000);
return `${['Sun','Mon','Tue','Wed','Thu','Fri','Sat'][d.getUTCDay()]}, ` +
`${['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'][d.getUTCMonth()]} ${d.getUTCDate()}, ${d.getUTCFullYear()}`;
};
const key = (n) => new Date(n * 86400000).toISOString().slice(0, 10);
const today = dayNum(now);
const EMAIL = /^[^\s@,;]+@[^\s@,;]+\.[^\s@,;]+$/;
const me = Session.getEffectiveUser().getEmail();
const text = (row, i) => (i === -1 ? '' : String(row[i]).trim());
const people = (row) => [...new Set(text(row, c.to).split(/[,;]/).map((s) => s.trim().toLowerCase()).filter(String))].sort();
const dueOf = (row) => {
if (c.due !== -1 && isDate(row[c.due])) return dayNum(row[c.due]);
const n = c.every === -1 ? NaN : Number(row[c.every]);
if (c.last !== -1 && isDate(row[c.last]) && n >= 1) return edate(row[c.last], n);
return null;
};
const groups = {}, overdue = [], noDue = [], seen = {}, dupes = new Set();
let badEmail = 0;
for (let r = 1; r < rows.length; r++) {
const row = rows[r], id = text(row, c.id);
if (!id) continue;
const idKey = id.toLowerCase().replace(/\s+/g, ' ');
if (seen[idKey]) dupes.add(id); else seen[idKey] = true;
if (STOP_STATUS.test(text(row, c.status))) continue;
const due = dueOf(row);
if (due === null) { noDue.push(`Row ${r + 1} (${id})`); continue; }
const left = due - today; // negative = overdue
const label = [id, text(row, c.name)].filter(String).join(' ') + (text(row, c.loc) ? ` (${text(row, c.loc)})` : '');
const when = left > 1 ? `calibration due ${show(due)} (in ${left} days)` :
left === 1 ? `calibration due ${show(due)} (tomorrow)` :
left === 0 ? `calibration due ${show(due)} (TODAY)` :
`OVERDUE since ${show(due)} (${-left} day${left === -1 ? '' : 's'}): do not use until calibrated`;
if (left < 0) overdue.push({ left, line: `- ${label}: ${when}` });
// The one step that fits today: no pile of earlier ones after a gap,
// and an overdue instrument never gets a "before" reminder.
const steps = REMIND_DAYS.concat(OVERDUE_DAYS.map((n) => -n));
const hit = steps.filter((s) => left <= s && (left >= 0 || s < 0)).sort((a, b) => a - b)[0];
if (hit === undefined) continue;
const sent = String(row[c.log] || '').split(';').filter(String);
const k = `${key(due)}@${hit}`; // a new due date starts over
if (sent.includes(k)) continue;
const list = people(row);
if (!list.length || !list.every((a) => EMAIL.test(a))) {
badEmail++; console.log(`Row ${r + 1}: check the Custodian email column`); continue;
}
const to = list.join(',');
const g = (groups[to] = groups[to] || { to, n: list.length, items: [] });
g.items.push({ r: r + 1, left, id, line: `- ${label}: ${when}`, log: sent.concat(k).slice(-LOG_KEEP).join(';') });
}
// Most urgent custodian first, in case the quota runs out.
const order = Object.values(groups).map((g) => {
g.items.sort((a, b) => a.left - b.left || a.r - b.r);
g.worst = g.items[0].left;
return g;
}).sort((a, b) => a.worst - b.worst);
const done = [];
for (const g of order) {
if (done.length >= MAX_EMAILS || MailApp.getRemainingDailyQuota() < (PREVIEW ? 1 : g.n)) break;
const what = g.items.length === 1 ? g.items[0].id : `${g.items.length} instruments`;
const subject = g.worst < 0 ? `Action needed: calibration overdue for ${what}` : `Calibration due soon for ${what}`;
const body = ['Hello,', '', 'These instruments are due or overdue for calibration:', '', ...g.items.map((i) => i.line), '',
'Please book the calibration, or update the Status column if an instrument is retired or out for calibration.',
'After calibration, enter the new date so the reminders move on.',
...(INCLUDE_LINK ? ['', `Sheet: ${ss.getUrl()}`] : []), '', LAB_NAME].join('\n');
MailApp.sendEmail({ to: PREVIEW ? me : g.to, subject: PREVIEW ? `[PREVIEW to ${g.to}] ${subject}` : subject, body, name: LAB_NAME });
done.push(g);
if (!PREVIEW) {
// Log right after each email, so a crash can't cause a repeat.
g.items.forEach((i) => sh.getRange(i.r, c.log + 1).setValue(i.log));
SpreadsheetApp.flush();
}
}
let qa = false;
if (QA_EMAIL && done.length && MailApp.getRemainingDailyQuota() >= 1) {
overdue.sort((a, b) => a.left - b.left);
const left = order.length - done.length;
const subject = `Calibration reminders sent to ${done.length} custodian${done.length === 1 ? '' : 's'} (${overdue.length} overdue in service)`;
MailApp.sendEmail({
to: PREVIEW ? me : QA_EMAIL,
subject: PREVIEW ? `[PREVIEW to ${QA_EMAIL}] ${subject}` : subject,
body: ['Reminded today:', ...done.map((g) => [g.to, ...g.items.map((i) => ' ' + i.line)].join('\n')), '',
overdue.length ? 'Overdue and still in service (do not use):' : 'No instrument in service is overdue.',
...overdue.map((o) => o.line), '',
left ? `${left} custodian(s) left for the next run (quota or MAX_EMAILS).` : 'Nothing left over.',
badEmail ? `${badEmail} row(s) need a valid Custodian email.` : '',
noDue.length ? `No due date worked out for: ${noDue.join(', ')}.` : '',
dupes.size ? `Asset ID used more than once: ${[...dupes].join(', ')}.` : '',
'', `Sheet: ${ss.getUrl()}`].filter((s, i, a) => s !== '' || a[i - 1] !== '').join('\n'),
});
qa = true;
}
const result = { sent: done.length, left: order.length - done.length, overdue: overdue.length,
badEmail, noDue: noDue.length, dupes: dupes.size, qa, preview: PREVIEW };
console.log(JSON.stringify(result));
return result;
}
How it behaves:
- One email per custodian. Each run, everyone with something new gets a single email listing their instruments, most urgent first: “PIP-07 Pipette 100-1000 uL (Lab 2): calibration due Thu, Nov 19, 2026 (in 3 days)”. Overdue lines say “OVERDUE since … : do not use until calibrated”, and the subject starts with “Action needed:” when anything is overdue. A row with two addresses sends one email to both. Custodians are colleagues, so the sheet link is included (set
INCLUDE_LINK = falseto leave it out). - When reminders go. 30, 14 and 3 days before the due date (
REMIND_DAYS), then 1, 7, 14 and 28 days after if it still hasn't been recalibrated (OVERDUE_DAYS). After that the custodian isn't emailed again for that date, but the instrument stays on the QA summary and the “do not use” list until it is calibrated or marked out of use. - Recalibrated? Just log it. A new Log row moves the due date, and the Sent log is keyed to the due date, so the next cycle starts fresh. If you don't use the Log tab, typing a new Last calibrated or Due date does the same.
- Due, or Last calibrated plus Interval. The script uses the Due column when it holds a date. Otherwise it works the date out from Last calibrated and Interval (months) the same way EDATE does (January 31 plus one month is February 28), counting days in the spreadsheet's time zone. A sheet with only a Due column works too.
- No pile-up. An instrument added late, or a few days without the trigger, gets only the latest reminder that applies, once. An overdue instrument never gets a “due in 30 days” email, and importing an old list sends one overdue notice per instrument, not four.
- Status pauses or stops it. Out for calibration and At vendor pause reminders while the instrument is away; clear the Status when it comes back. Retired, Out of service, Tagged out and the other stop words in
STOP_STATUSend them. Capitals and extra spaces don't matter. - Quality summary. With
QA_EMAILset, each run that sends reminders also sends one summary: who was reminded and about what, every overdue instrument still in service, rows with a missing or broken Custodian email, instruments with no due date (never calibrated, or no interval), and Asset IDs used twice. - Safe to rerun. The script only ever writes the Sent log column. Rows are logged right after each email, a document lock stops two runs overlapping, at most
MAX_EMAILScustodian emails go per run, and it stops before your daily Apps Script email quota runs out (100 recipients a day on a consumer Gmail account, 1,500 on Google Workspace; an email to two people counts as two). Anything left goes on the next run, most urgent first. The log keeps the last 20 entries per row.
Tips
- Label the instrument too. The sheet is the master record, but people at the bench read the sticker. Write the Due date from the sheet on the calibration label, and when the “do not use” list shows something, tag the instrument physically as well.
- Tolerances belong in your procedure. Pass or Fail on the Log is only as good as the limits it is judged against. Keep each instrument's limits in your written procedure (or an extra column) and the measured values on the certificate.
- Protect the history. Use Data › Protect sheets and ranges so only the people who record calibrations can edit the Log, and the formula columns on Instruments can't be typed over by accident. File › Version history shows who changed what.
- Short intervals first. A new instrument, or one that failed its last calibration, often deserves a shorter interval until it has a clean history. Changing F updates its Due date at once.
- Check the time zone. The script counts days in the spreadsheet's time zone (File › Settings › Time zone), and the trigger fires in the Apps Script project's time zone (Project Settings).
- Ownership. Triggers run as whoever created them and the emails come from that account, so set it up from a shared lab or quality account rather than one person's, so it keeps working when someone moves on.
See SheetReminders
Short on time? Watch the 50-second version
Related Google Sheets guides
- How to generate a PDF or Google Doc for each row in Google Sheets
- Find and remove duplicates in Google Sheets
- Compare two columns or two sheets for duplicates
- Find case-insensitive and fuzzy duplicates in Google Sheets
- Best Autocrat alternatives for mail merge to PDF and Docs
- Make invoices or certificates from Google Sheets rows
- Create sales quotes or estimates from Google Sheets
- Generate receipts from Google Sheets rows
- Create purchase orders from Google Sheets
- Make packing slips from Google Sheets orders
- Generate a PDF certificate from a Google Form response
- Issue numbered training completion certificates with expiry dates
- Make a PDF progress report for each student
- Generate offer letters from a Google Sheets hiring tracker
- Generate contracts and agreements from a Google Docs template
- Make work orders for service jobs from Google Sheets
- Email each row’s PDF as an attachment
- Automatic email reminders from a date column
- Contract renewal and expiration alerts from Google Sheets
- Track certificate of insurance (COI) expirations in Google Sheets
- Track employee license and certification expirations
- Track equipment and vehicle maintenance with reminders
- Equipment sign-out sheet with due-back and overdue reminders
- Track warranty expiration dates with reminders
- Birthday and work anniversary reminders from Google Sheets
- Rent due and lease renewal reminders from Google Sheets
- Send invoice payment reminders from Google Sheets
- Highlight overdue tasks and send email reminders
- Follow-up reminders for leads, clients and candidates
- Membership renewal reminders for clubs and associations
- Appointment reminder emails for clients
- Probation and performance review reminders for managers
- Inventory expiration dates with email alerts
- Domain and SSL certificate renewal reminders
- Name badges and place cards from a guest list
- Vehicle registration, inspection and insurance reminders
- Event sign-in sheets and table seating lists
- Pet vaccination expiry reminders for owners
- Customer account statements with aging
- Subscription tracker with renewal and free-trial reminders
- Mailing labels: one per household, clean addresses
- Volunteer shifts: open slots, reminders and rosters
- Year-end donor giving statements, one PDF per donor
- Volunteer hours verification letters, one PDF per request
- Pay stubs from a payroll sheet, one PDF per employee
- Gift certificates with codes, balances and a redemption log
- Bill due dates: mark paid, 30-day totals and reminders
- Grant deadlines: LOIs, reports, owners and reminders
- Passport expiry: trips, the 6-month rule and renewal reminders
- Class rosters: one PDF per class, A–Z, with seat counts
- Insurance renewals: premium changes and reminders
- Onboarding checklists: tasks from start dates, owner reminders
- Raffle tickets: numbered stubs, seller books, sales tracker
- SheetWeave vs Autocrat
- SheetWeave vs Document Studio
- SheetWeave vs RowDocs
Instructions refer to Google Sheets, Apps Script and the regulations cited as they stood on November 16, 2026. Not legal, regulatory or metrology advice, and not affiliated with Google, the FDA or any calibration provider. Google Sheets is a trademark of Google LLC. Calibration intervals, tolerances and record requirements depend on your instruments, your quality system and the rules that apply to you; follow your written procedures. Questions or corrections: hello@loomwise.app.