All articles
Analytics

Claude vs Gemini for Recruiting Metrics in Google Sheets or Excel: 8 Formulas, Tested

One stray space turns a 10% hire rate into 11%. Claude and Gemini both got 8 of 8 recruiting formulas right; here is where they differed.

  • Saves time
  • Consistent decisions
  • Better hires

Nov 11, 2026 · 9 min read

11% against 10%. That is LinkedIn's hire rate in our test log, depending on whether the formula noticed that one candidate's source was typed "LinkedIn " with a trailing space. A plain COUNTIF says 1 hire in 9 candidates. The log holds 10.

Most advice on "Sheets or Excel for recruiting reports" compares menus. The AI inside either one does the same job: it writes the formulas. So we tested that job.

The verdict: Claude and Gemini each wrote 8 of 8 formulas that give the right answer on our data. Claude was safer on messy data and older Excel, and told us the expected result so we could check it. Gemini was shorter, and got one detail of its own notes wrong. On Sheets or Excel: the formulas run the same in both, so the choice often comes down to where candidate data may go. We could not run Excel Copilot here, so that part is a read of Microsoft's and Google's own data-protection pages.

What we tested, and what we could not

One invented recruiting log: 30 candidates, five columns (source, applied date, furthest stage, hire date), with two traps. A candidate marked Hired with no hire date, and the source "LinkedIn" typed three ways. We asked each tool, blind and with no tools turned on, for eight single-cell formulas that work in both Excel and Google Sheets: average and median days to hire, screen-to-interview pass-through, offer acceptance, LinkedIn hire rate, hires in March, the Referral pass-through, and applicants stuck at "Applied" for over 45 days. We kept LET and LAMBDA out of the rules, since a G2 hands-on review found named LAMBDA functions don't carry over between the two apps.

We computed an answer key in Python. The formulas were not run in Excel or Sheets: we ran them in an open-source spreadsheet engine, and where it got a function wrong (it mishandled "not blank" criteria and array text functions) we checked by hand against how Excel and Sheets behave. Gemini was the Flash model through its API and Claude was Opus, so this tests the models, not the add-ins inside either spreadsheet.

Maya holding a checkered flag between two toy cars with spreadsheet grids on their roofs

Eight formulas, two tools, one table

Criterion Claude Gemini
Right on our data 8 of 8 8 of 8
Needs FILTER (fails in Excel 2016 and 2019) 1 formula 2 formulas
Survives stray spaces in a source name Yes: TRIM on both Referral and LinkedIn LinkedIn yes (wildcard), Referral no
Gave the expected results unasked Yes No, until we asked in a revised prompt
Notes about the data Mostly correct, one loose line One wrong detail
Formulas that depend on FILTER, which older Excel lacks
ClaudeClaude, run 1: needs FILTERClaude, run 2: works anywhereClaude, run 3: works anywhereClaude, run 4: works anywhereClaude, run 5: works anywhereClaude, run 6: works anywhereClaude, run 7: works anywhereClaude, run 8: works anywhere1 of 8GeminiGemini, run 1: needs FILTERGemini, run 2: needs FILTERGemini, run 3: works anywhereGemini, run 4: works anywhereGemini, run 5: works anywhereGemini, run 6: works anywhereGemini, run 7: works anywhereGemini, run 8: works anywhere2 of 8needs FILTERworks anywhere

Both tools used FILTER for the median, the only one that needs an array. Gemini also used it for the average.

Source: our test, 8 formulas per tool

Show the data
needs FILTERTotal
Claude18
Gemini28

Where they actually differed

  • The average. Claude subtracted the sums of two columns and divided by a count, all with SUMIFS and COUNTIFS, so it works in any Excel. Gemini wrapped the subtraction in FILTER, which Excel 2016 and 2019 don't have.
  • The stray space. Claude cleaned the source name with TRIM and matched it exactly. Gemini used a wildcard, "LinkedIn", which catches the typos but would also catch a source like "LinkedIn Ads". Neither fails on our log.
  • The Referral count. Claude trimmed again. Gemini didn't, so a stray "Referral " would drop out of its result. In a re-run with a revised prompt, Gemini's pass-through formula divided by "everything that isn't Applied", which would also count blank rows if the range grew.
  • The notes. Both caught the Hired person with no date and the three spellings. Gemini described the odd spelling as a lowercase "k"; it is a lowercase "i". Claude also pointed out (correctly) that a median can't be done without FILTER or an array, and that a cell showing a date means the format needs setting to Number.
  • The date boundary. For March hires, Claude used "before April 1". Gemini used "up to March 31", which would drop someone with a time stamp on the last day.

The wildcard, Referral and date-boundary points are reasoned from the formulas, not run with such data.

The formulas, ready to copy

These are the ones we'd keep, each taken from whichever tool did it more safely. Ranges assume headers in row 1, data in A2:E31 (Candidate, Source, Applied, Stage reached, Hire date) and today's date in H1.

Average days to hire:
=(SUMIFS(E2:E31,D2:D31,"Hired",E2:E31,"<>")-SUMIFS(C2:C31,D2:D31,"Hired",E2:E31,"<>"))/COUNTIFS(D2:D31,"Hired",E2:E31,"<>")
Median days to hire (needs FILTER):
=MEDIAN(FILTER(E2:E31-C2:C31,(D2:D31="Hired")*(E2:E31<>"")))
Screen-to-interview pass-through:
=(COUNTIF(D2:D31,"Interview")+COUNTIF(D2:D31,"Offer")+COUNTIF(D2:D31,"Hired"))/(COUNTIF(D2:D31,"Screen")+COUNTIF(D2:D31,"Interview")+COUNTIF(D2:D31,"Offer")+COUNTIF(D2:D31,"Hired"))
Offer acceptance (a Hired person with no date still counts as hired):
=COUNTIF(D2:D31,"Hired")/(COUNTIF(D2:D31,"Offer")+COUNTIF(D2:D31,"Hired"))
Hire rate for one source (TRIM keeps stray spaces out):
=SUMPRODUCT((TRIM(B2:B31)="LinkedIn")*(D2:D31="Hired"))/SUMPRODUCT(--(TRIM(B2:B31)="LinkedIn"))
Referral pass-through to Interview or further (any source: swap the name):
=SUMPRODUCT((TRIM(B2:B31)="Referral")*((TRIM(D2:D31)="Interview")+(TRIM(D2:D31)="Offer")+(TRIM(D2:D31)="Hired")))/SUMPRODUCT(--(TRIM(B2:B31)="Referral"))
Hires in March 2026:
=COUNTIFS(D2:D31,"Hired",E2:E31,">="&DATE(2026,3,1),E2:E31,"<"&DATE(2026,4,1))
Stuck at Applied for over 45 days:
=COUNTIFS(D2:D31,"Applied",C2:C31,"<"&(H1-45))

With our log these return 38 days, 37 days, 70%, 77.8%, 10%, 50%, 4 and 10. Put yours next to a hand count of five rows before you trust a dashboard built on them.

The prompt is below, with brackets to swap. We first ran a version that asked for JSON, which made Claude warn about escaped quotes; this plain version, which asks for the expected results, ran in both tools and gave the same right answers.

I am an HR operations person with no spreadsheet training. My recruiting log is in a spreadsheet, header in row 1, data in rows 2 to [last row], columns A to E:
[describe each column]
"Stage reached" is the furthest stage a person got to. Someone at Interview also went through Applied and Screen. "Offer" means an offer was made and not accepted; "Hired" means the offer was accepted.

Write one formula each for these [number] numbers, using the exact ranges above:
[list the numbers you want]

Rules: each answer is ONE formula in ONE cell, no helper columns, no LET or LAMBDA, and it must work in both Excel and Google Sheets. Put each formula on its own line, ready to paste, followed by the result it should give on my data. Then add short notes on anything in the data I should know about.

Data:
[paste the table as CSV]

And the data question: Sheets or Excel?

Both vendors say, in their own pages:

Gemini in Google Workspace Microsoft Copilot (work use)
Training on your data Not used for training without the customer's permission Prompts and responses are not used to train the foundation models
Who can be seen Only content the user can already open Respects existing permissions and sensitivity labels
What differs Chat history is kept for a period the admin sets; with history off, chats stay up to 72 hours Web searches go to Bing, under separate terms with Microsoft as an independent controller

(Google's privacy hub and Microsoft Learn's data-protection page, as we read them. Microsoft says its controls vary by subscription plan; Google's page covers qualifying Workspace editions.) Ask your admin which applies to your plan before you put candidate names in a sheet.

What to keep in mind

  • Don't paste names. The tools need only stage, source and dates. Replace names with IDs, and rules differ by region, so a short chat with your lawyer is worth it before candidate data goes into any AI tool (our note is not legal advice).
  • A right formula can still measure the wrong thing. Our "offer acceptance" counts the person with a missing date as hired. Decide how you treat blanks before the report goes to a manager.
  • Small numbers swing. With 6 to 10 people behind each figure, one person moves a rate by 10 points. Claude said so too.

Which one, when

  • Older Excel, or a sheet that many people open: ask for formulas without FILTER, and use Claude's average.
  • A sheet with typed-in source names: TRIM first, then match exactly.
  • A quick one-off in Sheets: either tool gets the right number; ask for the expected result so you can check it.

Next step: if your data is messier than ours, start with cleaning HR data in Excel with Claude and Gemini, then build the weekly view from our pipeline report template.

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