All articles
Screening

How to Build a Candidate Shortlisting Matrix in Google Sheets with the AI Formula

One criterion per column, =AI() scores each cell 0-2 with a CV quote, formulas add the weights. In our test, one rule stopped a skills list scoring 3.

  • Consistent decisions
  • Saves time
  • Less legal risk

Nov 24, 2026 · 6 min read

=AI("Is this a good candidate for the payroll job?", B2)

That's what most people try first (our made-up example): a confident paragraph per row, and nothing you can sort or defend.

The short answer: build the matrix so the AI function answers one narrow question per cell: one criterion, one candidate, a score of 0, 1 or 2, and a quote from the CV that backs it. Plain formulas pull out the number, apply your weights and sort people into reading groups. When we ran that cell prompt through Gemini, a candidate who only listed skills scored 4 out of 8 until we added one rule, then 1.

What you'll have, and what it costs

Candidates down the side, 3-5 criteria across the top, a score and a quote in every cell, a weighted total and a "read first / next / last" label. No add-on needed.

You need:

  • A Google plan that includes the AI function. Google's help page "Use the AI function in Google Sheets" (as we read it) asks for an eligible Workspace or Google AI plan; your admin may need to allow it.
  • Candidate evidence as text, names removed. The function only sees the text you pass it, not CV files in Drive.

Step by step

  1. Lay out the grid. In a new sheet:

    • A1: Candidate. B1: Evidence.
    • C1 to F1: one criterion each, something a CV can prove ("Has reconciled payroll to the general ledger every month"), not a trait ("detail-oriented").
    • Row 2: weights under each criterion, for example 3, 2, 1, 1.
    • From row 3: "Candidate 1, 2, 3" in column A and the evidence text in column B.
  2. Put the rubric in two cells. Paste the halves below into N1 and N2, clear of the grid, so you edit it once, not in 80 formulas. After any edit, click Refresh and Insert: Sheets won't prompt you for joined cells.

    N1:
    You score one job criterion for one candidate.
    
    N2:
    Reply with exactly one line: a score of 0, 1 or 2, then " | ", then a quote of at most 12 words copied from the summary that supports the score. 2 = clearly met by described work, 1 = partly met by described work, 0 = not shown. A skill that appears only in a skills list, with no work behind it, scores 0 and the quote starts with "listed only:". If the summary does not show it, reply "0 | not enough information". Ignore career breaks, age and family status.
    
  3. Write the first AI cell. Click C3 and type:

    =AI($N$1&" Criterion: "&C$1&". Candidate summary: "&$B3&" "&$N$2)
    

    Or start from Insert > Function > AI. Then click Generate and Insert.

  4. Fill the block. Drag C3 across to F3 and down, select the block and click Generate and Insert. Only 350 AI cells generate per selection, Google says: 87 candidates with 4 criteria.

  5. Pull out the numbers. The AI function can't sit inside another function, but a normal formula can read its result. In G3, across to J3 and down:

    =IFERROR(VALUE(LEFT(C3,1)),"check")
    
  6. Weight and group. In K3: =SUMPRODUCT(G3:J3,$C$2:$F$2). In L3, sort into reading groups, never into "rejected":

    =IF(K3>=0.75*2*SUM($C$2:$F$2),"Read first",IF(K3>=0.4*2*SUM($C$2:$F$2),"Read next","Read last"))
    

    The 0.75 and 0.4 are starting cut-offs; adjust after reading a few rows.

  7. Freeze the results. Once a person has read the scores and quotes, use Paste special > Values only, so a refresh can't quietly change a score.

Maya placing one gold cube into each compartment of a large ice cube tray

The one rule that changed the totals

We ran the step-3 cell prompt through the Gemini API (gemini-3.8-flash): four made-up payroll candidates, four criteria, each matrix twice. That's the text the AI function would send, but not a run inside Sheets.

The first rubric scored "only listed as a skill" as 1. Candidate 2, an office manager, had "GL reconciliation, multi-country payroll, Excel" in a skills list, and the list alone earned 3 points.

Unweighted total out of 8, per rubric
First rubricRevised rubricCandidate 2 (skills list only)Candidate 2 (skills list only): First rubric 4, Revised rubric 14 → 1Candidate 3 (did the work)Candidate 3 (did the work): First rubric 8, Revised rubric 88 → 8

Same totals in both runs for these two candidates. Scores counted by script.

Source: our test through the Gemini API, gemini-3.8-flash

Show the data
First rubricRevised rubric
Candidate 2 (skills list only)41
Candidate 3 (did the work)88

With the step-2 rubric, those cells came back "0 | listed only: GL reconciliation", and no score moved between runs. The first rubric had flipped one cell, Candidate 4 going from 0 to 1 on "I approved timesheets and handled leave records".

The rule is strict: it dropped Candidate 4's "Comfortable with Excel formulas" to 0, and an expert with a bare skills-list CV would sink too. So a "listed only" quote is a question for the phone screen, not a no, and "Read last" still means read.

Every quote was word for word (checked by script), and a career break cost Candidate 1 nothing. The quotes also show what it still got wrong:

Criterion Score Quote Why it's wrong
Payroll for 200+, 3+ years (Candidate 3) 2 "320 employees in Israel, the UK and Cyprus. Owns the monthly payroll" Proves the payroll, not the years
Same criterion (Candidate 2, all 4 runs) 1 "...140 employees..." 140 is under 200, and sending inputs to a bureau isn't running payroll

What it does well and where it stops

It can It can't
Score text you pass it, one cell at a time Open CV files or see the rest of your sheet
Quote the evidence, if you ask for a quote Promise the same answer on every refresh
Run across 350 cells per selection Sit inside IF, SUM or any other function

When it misbehaves

  • #NAME? or "AI function not available": your plan, your admin settings or your language setting doesn't allow it (Google's help page).
  • Generate won't run: a generation limit, up to 24 hours.
  • "check" in a score column: the answer didn't start with a digit. Regenerate that cell.

Candidate data in a spreadsheet

Keep names, photos, birth dates and contact details out of the sheet, not just the formula: Paul Bradshaw's April 2025 test of the AI function (Online Journalism Blog) found other data in the same row appeared to sway its answers.

On a work account, Google's Workspace privacy hub (updated October 2026) says customer data isn't used to train models without permission, on qualifying Workspace editions only. Check which account you're on. This isn't legal advice: a person reads every row before anyone is turned down, and your lawyer confirms what your region requires.

Next step: for the judgment the sheet can't make, see how to screen CVs with Claude or Gemini without missing good candidates, and for a messy ATS export, see ChatGPT vs Claude on recruiting data.

This article is general information, not legal advice. Laws differ by country and change often, so consult your lawyer before you rely on it for your situation.

Keep reading