How to Schedule Volunteer Shifts in Google Sheets: Open-Slot Counts, Reminder Emails and Short-Staffed Alerts (2026)

Food banks, school events, animal shelters, clinics, races, festivals, faith groups: a lot of volunteer scheduling runs on a Google Sheet, and the same three things go wrong every time. Nobody can see at a glance which shifts still need people, volunteers forget the shift they signed up for three weeks ago, and the coordinator finds out on the morning that the setup crew is two people short. This guide sets up a Shifts tab that knows how many people each shift needs, a Signups tab with one row per volunteer per shift, live open-slot counts and hours, and a free Apps Script that, once a day, emails each volunteer one reminder listing their upcoming shifts, sends each shift lead the roster the day before, and sends the coordinator one list of shifts that are still short (or overbooked) while there is time to fix them.

How this differs from appointment reminders: an appointment is one booking for one person, while a shift has a number of places, several people, a waitlist and a lead, and the useful alerts are about the gaps. If you already use a volunteer scheduling platform, use the reminders built into it; this guide is for when the sheet is where the schedule lives.

Step 1: a Shifts tab, one row per shift

Name the tab Shifts. The script finds columns by their header, so the order is up to you; the formulas below assume this layout:

ColHeaderWhat goes in it
AShift IDA short unique code, such as PANTRY-1121 or SETUP-AM. Sign-ups point to it, so never reuse one.
BDateFormatted as a date (Format › Number › Date). Text that only looks like a date won't work.
C, DStart, EndFormatted as times. Emails show them exactly as the cells do, so “9:00 AM” stays “9:00 AM”.
ERoleWhat the volunteer does: “Food pantry sorting”, “Registration table”, “Delivery driver”
FLocationWhere to go, as precisely as a newcomer needs: building, entrance, room
GNeededHow many people the shift needs. Blank means no open-slot alerts for it.
HLead emailOptional: the person running the shift, who gets the roster
INotesOptional: what to wear or bring, parking, minimum age. Goes into the volunteer's reminder.
JStatusBlank normally. Cancelled or Off stops every email for the shift (tell the volunteers yourself; see Tips).
KAlert logLeave empty; the script records the alerts and rosters it sent
L, M, NFilled, Open, HoursFormulas (Step 3)

Two- to three-hour shifts are easier to fill than whole days, and it helps to split a role into morning and afternoon rows rather than one long row. For a recurring weekly shift, add one row per date; copying last month's rows and changing the dates and IDs takes a minute.

Step 2: a Signups tab, one row per volunteer per shift

Name it Signups. A volunteer who takes three shifts has three rows, which is what makes counting, waitlists and hours simple:

ColHeaderWhat goes in it
AShift IDThe shift's code. Use Data › Data validation › Dropdown (from a range) pointing at Shifts!A2:A so nobody can type one that doesn't exist.
BNameThe volunteer's name; the first word is used in “Hi …”
CEmailWhere their reminder goes
DPhoneOptional; only shown to the shift lead, for the day itself
EStatusA dropdown: blank or Confirmed (counts toward Needed and gets reminders), Waitlist, Cancelled, then Attended or No-show after the shift
FSent logLeave empty; the script records each reminder
G, H, IDate, Role, HoursLookup helpers (Step 3), handy for sorting and for the hours report

Taking sign-ups through a Google Form works too: give the form a dropdown question named Shift ID listing the open shifts, plus Name and Email questions, and set SIGNUPS_TAB in the script to the form's response tab (usually “Form Responses 1”). Add Status and Sent log columns to that tab yourself. A form can't close a shift when it's full, so the coordinator alert in Step 4 is how you catch overbooking; move extra people to Waitlist or to another shift.

Step 3: open slots, hours and double bookings

Filled, in Shifts L2, fill down. It counts the sign-ups for this shift whose Status is blank, Yes, Confirmed or Booked, the same rule the script uses:

=IF(A2="", "", SUMPRODUCT((UPPER(Signups!$A$2:$A) = UPPER(A2)) *
  REGEXMATCH(LOWER(Signups!$E$2:$E), "^(|yes|confirmed|booked)$")))

Open, in M2: =IF(OR(A2="", G2=""), "", G2-L2). A negative number means the shift is overbooked.

Hours, in N2, the length of the shift (it handles shifts that run past midnight): =IF(OR(C2="", D2=""), "", MOD(D2-C2, 1)*24)

Then select A2:N, open Format › Conditional formatting, choose Custom formula is and add these rules in this order:

Custom formulaColorMeaning
=OR(AND($B2<>"",$B2<TODAY()),REGEXMATCH(LOWER($J2),"^(cancelled|canceled|off)$"))Grey textPast or cancelled
=AND($M2<>"",$M2<0)RedOverbooked
=AND($M2<>"",$M2>0,$B2<=TODAY()+7)AmberStill needs people this week

On the Signups tab, the lookup helpers use XLOOKUP. In G2, H2 and I2, fill down, and format G as a date:

=IF(A2="", "", XLOOKUP(A2, Shifts!$A:$A, Shifts!$B:$B, "No such shift"))
=IF(A2="", "", XLOOKUP(A2, Shifts!$A:$A, Shifts!$E:$E, ""))
=IF(A2="", "", XLOOKUP(A2, Shifts!$A:$A, Shifts!$N:$N, 0))

To catch someone booked twice on the same day (a duplicate sign-up, or two shifts that overlap), select A2:I on Signups and add a conditional format rule with =AND($C2<>"",$G2<>"",COUNTIFS($C:$C,$C2,$G:$G,$G2)>1). Then check the times: a morning and an afternoon shift on purpose is fine.

A coordinator view on a new tab, every shift in the next 14 days that still needs people, soonest first:

=IFERROR(SORT(FILTER({Shifts!A2:A, Shifts!B2:B, Shifts!C2:C, Shifts!E2:E, Shifts!M2:M},
  ISNUMBER(Shifts!M2:M) * (Shifts!M2:M > 0),
  Shifts!B2:B >= TODAY(), Shifts!B2:B <= TODAY() + 14,
  NOT(REGEXMATCH(LOWER(Shifts!J2:J), "^(cancelled|canceled|off)$"))), 2, TRUE), "Every shift is covered")

The ISNUMBER part matters: Sheets treats the empty text from the Open formula as greater than any number, so without it every blank row would show up.

Step 4: reminders, rosters and short-staffed alerts

Open Extensions › Apps Script, paste the script below, set ORG_NAME (and COORDINATOR if that isn't you), and save. Then:

  1. Run sendShiftReminders once and approve the permissions. PREVIEW is true, so every email comes to you, with the real recipient in the subject, and nothing is logged.
  2. Read the previews. When they look right, set PREVIEW = false and save.
  3. Add the trigger: Triggers › Add trigger › sendShiftReminders › Time-driven › Day timer, for example 8 to 9 AM. Google's installable triggers page explains the options.
/**
 * Volunteer shift reminders from two tabs:
 *   Shifts  - one row per shift: Shift ID, Date, Start, End, Role, Location,
 *             Needed, Lead email, Notes, Status, Alert log
 *   Signups - one row per volunteer per shift: Shift ID, Name, Email, Phone,
 *             Status, Sent log
 * Required: Shifts: Shift ID, Date, Alert log. Signups: Shift ID, Email, Sent log.
 * Each run sends at most:
 *   - ONE email per volunteer, listing every shift of theirs that is coming up,
 *   - one roster per shift to its Lead email the day before,
 *   - ONE list of shifts still short of people to the coordinator.
 */
const SHIFTS_TAB     = 'Shifts';
const SIGNUPS_TAB    = 'Signups';
const ORG_NAME       = 'The volunteer team';  // signs the volunteer emails and is the sender name
const COORDINATOR    = '';         // gets the open-slots list and volunteers' replies; blank = you
const VOLUNTEER_DAYS = [3, 1];     // days before a shift that each volunteer is reminded
const LEAD_DAYS      = [1];        // days before a shift that its lead gets the roster; [] = off
const ALERT_DAYS     = [7, 2];     // days before a short-staffed shift that the coordinator hears
const PREVIEW        = true;       // true: every email comes to you, nothing is logged
const MAX_EMAILS     = 60;         // safety cap per run
const LOG_KEEP       = 20;         // entries kept in each log cell

const CONFIRMED = /^(|yes|confirmed|booked)$/i;   // these count toward Needed
const WAITLIST  = /^wait[ -]?list(ed)?$/i;
const SHIFT_OFF = /^(cancelled|canceled|off)$/i;

function sendShiftReminders(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 tab = (name, need) => {
    const sh = ss.getSheetByName(name);
    if (!sh) throw new Error(`No tab named ${name}.`);
    const range = sh.getDataRange();
    const rows = range.getValues(), shown = range.getDisplayValues();
    const head = rows[0].map((h) => String(h).trim().toLowerCase());
    const col = {};
    head.forEach((h, i) => { if (h && !(h in col)) col[h] = i; });
    const miss = need.filter((n) => !(n.toLowerCase() in col));
    if (miss.length) throw new Error(`${name} tab needs these columns: ${miss.join(', ')}.`);
    const get = (r, n) => (n.toLowerCase() in col ? String(rows[r][col[n.toLowerCase()]]).trim() : '');
    const see = (r, n) => (n.toLowerCase() in col ? String(shown[r][col[n.toLowerCase()]]).trim() : '');
    return { sh, rows, col: (n) => col[n.toLowerCase()], get, see };
  };
  const S = tab(SHIFTS_TAB, ['Shift ID', 'Date', 'Alert log']);
  const U = tab(SIGNUPS_TAB, ['Shift ID', 'Email', 'Sent log']);

  // Whole days in the spreadsheet's own time zone (File > Settings).
  const tz    = ss.getSpreadsheetTimeZone();
  const ymd   = (d) => Utilities.formatDate(d, tz, 'yyyy-MM-dd').split('-').map(Number);
  const num   = (y, m, d) => Date.UTC(y, m - 1, d) / 86400000;
  const back  = (n) => new Date(n * 86400000);
  const nice  = (n) => { const d = back(n);
    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()}`; };
  const iso   = (n) => back(n).toISOString().slice(0, 10);
  const today = num(...ymd(now));
  const until = (n) => (n > 1 ? `in ${n} days` : n === 1 ? 'tomorrow' : 'TODAY');
  const EMAIL = /^[^\s@,;]+@[^\s@,;]+\.[^\s@,;]+$/;
  const me    = Session.getEffectiveUser().getEmail();
  const boss  = COORDINATOR || me;
  const logOf = (v) => String(v || '').split(';').filter(String);
  // The one step that fits today, so a late start or a missed day sends one email, not a pile.
  const stepFor = (steps, left) => steps.filter((s) => left <= s).sort((a, b) => a - b)[0];
  const problems = [];

  // 1. Shifts by ID.
  const shifts = {};
  for (let r = 1; r < S.rows.length; r++) {
    const id = S.get(r, 'Shift ID').toUpperCase();
    if (!id) continue;
    if (shifts[id]) { problems.push(`Shifts row ${r + 1}: Shift ID ${id} is used twice`); continue; }
    const d = S.rows[r][S.col('Date')];
    if (!(d instanceof Date) || isNaN(d)) { problems.push(`Shifts row ${r + 1}: no date`); continue; }
    const day = num(...ymd(d));
    const start = S.see(r, 'Start'), end = S.see(r, 'End');
    const needed = Number(S.get(r, 'Needed'));
    shifts[id] = { id, r: r + 1, day, left: day - today, off: SHIFT_OFF.test(S.get(r, 'Status')),
      when: `${nice(day)}${start ? ', ' + start + (end ? '–' + end : '') : ''}`,
      key: `${iso(day)}/${start.replace(/\s+/g, '')}`,  // moving the date or start time starts over
      role: S.get(r, 'Role') || 'Volunteer shift', where: S.get(r, 'Location'), notes: S.get(r, 'Notes'),
      lead: S.get(r, 'Lead email').toLowerCase(), needed: needed > 0 ? Math.floor(needed) : 0,
      log: logOf(S.rows[r][S.col('Alert log')]), people: [], wait: [] };
  }

  // 2. Signups: count people per shift and collect each volunteer's reminders.
  const vols = {};
  for (let r = 1; r < U.rows.length; r++) {
    const id = U.get(r, 'Shift ID').toUpperCase(), email = U.get(r, 'Email').toLowerCase();
    if (!id && !email) continue;
    const s = shifts[id];
    if (!s) { problems.push(`Signups row ${r + 1}: no shift with ID ${id || '(blank)'}`); continue; }
    const status = U.get(r, 'Status');
    const name = U.get(r, 'Name') || email;
    const person = { name, email, phone: U.get(r, 'Phone') };
    if (WAITLIST.test(status)) { s.wait.push(person); continue; }
    if (!CONFIRMED.test(status)) continue;  // Cancelled, No-show, Attended and so on
    s.people.push(person);
    if (s.off || s.left < 0) continue;
    if (!EMAIL.test(email)) { problems.push(`Signups row ${r + 1}: check the email address`); continue; }
    const hit = stepFor(VOLUNTEER_DAYS, s.left);
    if (hit === undefined) continue;
    const sent = logOf(U.rows[r][U.col('Sent log')]);
    const key = `${s.key}@${hit}`;
    if (sent.includes(key)) continue;
    const v = (vols[email] = vols[email] || { email, first: U.get(r, 'Name').split(/\s+/)[0] || 'there', items: [] });
    const same = v.items.find((i) => i.s === s);
    if (same) { same.rows.push({ r: r + 1, log: sent.concat(key).slice(-LOG_KEEP).join(';') }); continue; }
    v.items.push({ s, rows: [{ r: r + 1, log: sent.concat(key).slice(-LOG_KEEP).join(';') }] });
  }

  // 3. Build the emails.
  const mails = [];
  const shiftWrites = {};  // Shifts row -> new Alert log, applied after each send
  const addLog = (s, key) => { const cur = shiftWrites[s.r] || s.log;
    shiftWrites[s.r] = cur.concat(key).slice(-LOG_KEEP); return shiftWrites[s.r]; };

  for (const v of Object.values(vols)) {
    v.items.sort((a, b) => a.s.day - b.s.day || a.s.r - b.s.r);
    const lines = v.items.map(({ s }) => [`- ${s.when} (${until(s.left)}): ${s.role}`,
      s.where && `  Where: ${s.where}`, s.notes && `  Notes: ${s.notes}`,
      s.lead && EMAIL.test(s.lead) && `  Shift lead: ${s.lead}`].filter(Boolean).join('\n'));
    const first = v.items[0].s, n = v.items.length;
    mails.push({ kind: 1, soonest: first.left, to: v.email, n: 1,
      subject: n === 1 ? `${['Today', 'Tomorrow'][first.left] || 'Reminder'}: your volunteer shift on ${nice(first.day)}`
                       : `Reminder: your ${n} volunteer shifts, starting ${nice(first.day)}`,
      body: [`Hi ${v.first},`, '', n === 1 ? 'A reminder of your volunteer shift:' : 'A reminder of your volunteer shifts:', '',
        ...lines, '', "Can't make it any more? Just reply to this email so we can find cover.", '', 'Thank you!', ORG_NAME].join('\n'),
      done: () => v.items.forEach((i) => i.rows.forEach((x) => U.sh.getRange(x.r, U.col('Sent log') + 1).setValue(x.log))) });
  }

  const short = [];
  for (const s of Object.values(shifts)) {
    if (s.off || s.left < 0) continue;
    const hit = stepFor(LEAD_DAYS, s.left), key = `L${s.key}@${hit}`;
    if (hit !== undefined && EMAIL.test(s.lead) && !s.log.includes(key)) {
      const open = Math.max(0, s.needed - s.people.length);
      mails.push({ kind: 2, soonest: s.left, to: s.lead, n: 1,
        subject: `Roster: ${s.role}, ${s.when} (${s.people.length}${s.needed ? ' of ' + s.needed : ''} signed up)`,
        body: [`${s.role}, ${s.when}${s.where ? ', ' + s.where : ''} (${until(s.left)})`, '',
          s.people.length ? 'Signed up:' : 'Nobody has signed up yet.',
          ...s.people.map((p) => `- ${p.name}${p.email && p.email !== p.name ? ', ' + p.email : ''}${p.phone ? ', ' + p.phone : ''}`),
          ...(open ? ['', `Still open: ${open}`] : []),
          ...(s.wait.length ? ['', 'Waitlist:', ...s.wait.map((p) => `- ${p.name}${p.email && p.email !== p.name ? ', ' + p.email : ''}${p.phone ? ', ' + p.phone : ''}`)] : []),
          '', `Changes or no-shows: tell ${boss}.`].join('\n'),
        done: () => S.sh.getRange(s.r, S.col('Alert log') + 1).setValue(addLog(s, key).join(';')) });
    }
    const gap = s.needed - s.people.length, ahit = stepFor(ALERT_DAYS, s.left), akey = `A${s.key}@${ahit}`;
    if (s.needed && gap !== 0 && ahit !== undefined && !s.log.includes(akey)) short.push({ s, gap, key: akey });
  }
  if (short.length) {
    short.sort((a, b) => a.s.day - b.s.day || a.s.r - b.s.r);
    const people = short.reduce((t, x) => t + Math.max(0, x.gap), 0);
    const lines = short.map(({ s, gap }) => `- ${s.when} (${until(s.left)}): ${s.role}, ${s.people.length} of ${s.needed}` +
      (gap > 0 ? `, ${gap} open` : `, ${-gap} over`) + (s.wait.length ? `; waitlist: ${s.wait.map((p) => p.name).join(', ')}` : ''));
    mails.push({ kind: 0, soonest: short[0].s.left, to: boss, n: 1,
      subject: people ? `Open volunteer slots: ${people} ${people === 1 ? 'person' : 'people'} short on ${short.filter((x) => x.gap > 0).length} shift(s)`
                      : `Overbooked volunteer shifts: ${short.length}`,
      body: ['These shifts are not at the number needed:', '', ...lines,
        ...(problems.length ? ['', 'Rows to check:', ...problems.map((p) => '- ' + p)] : []),
        '', `Sheet: ${ss.getUrl()}`].join('\n'),
      done: () => short.forEach((x) => S.sh.getRange(x.s.r, S.col('Alert log') + 1).setValue(addLog(x.s, x.key).join(';'))) });
  }

  // 4. Send, soonest first (coordinator list, then volunteers, then leads on a tie).
  mails.sort((a, b) => a.soonest - b.soonest || a.kind - b.kind || (a.to < b.to ? -1 : a.to > b.to ? 1 : 0));
  let sent = 0;
  for (const m of mails) {
    if (sent >= MAX_EMAILS || MailApp.getRemainingDailyQuota() < m.n) break;
    const mail = PREVIEW ? { to: me, subject: `[PREVIEW to ${m.to}] ${m.subject}`, body: m.body, name: ORG_NAME }
                         : { to: m.to, subject: m.subject, body: m.body, name: ORG_NAME };
    if (m.kind !== 0 && boss !== me) mail.replyTo = boss;
    MailApp.sendEmail(mail);
    sent++;
    if (!PREVIEW) { m.done(); SpreadsheetApp.flush(); }  // log right after each email
  }
  problems.forEach((p) => console.log(p));
  const result = { sent, left: mails.length - sent, problems: problems.length, preview: PREVIEW };
  console.log(JSON.stringify(result));
  return result;
}

How it behaves:

Step 5: after the shift, hours and thank-yous

After each shift, set Status to Attended or No-show on the Signups rows (filter by Date to make it quick). Hours per volunteer, most first, on a new tab:

=QUERY(Signups!A1:I, "select C, B, sum(I), count(A) where E = 'Attended' group by C, B order by sum(I) desc label sum(I) 'Hours', count(A) 'Shifts'", 1)

That table answers the questions that come up every year: total volunteer hours for a grant report or annual summary, who to thank first, and who hasn't come back in a while. Add a and G >= date '2026-01-01' condition to the where clause for one year only. If you write thank-you letters or hours certificates, the same table can feed them.

Tips

Want reminders without maintaining a script? SheetReminders (disclosure: we make it) is a Google Sheets add-on that watches a date column and emails the right person before it arrives. Point it at the Date helper column on the Signups tab and the Email column: several reminders per date (like 3 and 1 days before), personalized messages with {{Column name}} (so {{Role}} and {{Name}} work) and {{Days left}}, a digest mode with one email per person listing everything due, skipping rows marked Done (give cancelled sign-ups a Done mark in a column of their own), and a sent log written back to the row. The open-slot counts and short-staffed alerts stay with the formulas and script above. Sheet data stays inside your Google account and it uses narrow scopes. 14-day free trial, no credit card required. It is live on the Google Workspace Marketplace.
See SheetReminders
Short on time? Watch the 50-second version

Related Google Sheets guides

Instructions refer to Google Sheets and Apps Script as they stood on November 16, 2026. Not legal advice, and not affiliated with Google or any volunteer platform. Google Sheets is a trademark of Google LLC. Rules on collecting and storing volunteers' personal details, and on volunteers who are minors, vary; check what applies to your organization. Questions or corrections: hello@loomwise.app.