Free calculator
Who gives to whom in this Secret Santa draw?
Everyone picks a number. People are lined up from the highest number to the lowest. Each person gives a gift to the next person in that line, and the last person gives to the first. A household tag warns you when someone would give inside the same household. You need at least three people.
Calculator
spreadsheet cell D3 is a budget reminder, not part of the pairing formulas.
| Name | Household (optional) | Pick a number |
|---|---|---|
Formula
The figures on this page follow these steps. The script uses the same steps.
From Secret-Santa-Organizer.xlsx, Draw tab. This is the spreadsheet's actual pairing method. It does not store last year's pairings; it only uses this year's numbers and optional household tags.
- People in the draw B3 = COUNT of computed order numbers.
- Order D = RANK(picked number among all picked numbers) + COUNTIF of that same number from the first row down to this row, minus 1. Excel RANK here is descending, so the highest number is 1. The COUNTIF term breaks ties by row order.
- Gives a gift to E = the name whose order is this person's order + 1, or the person with order 1 if this person is last.
- Check F = "Add at least 3 people" if B3 is under 3; "Same household - change a number" if both household tags are filled and equal; otherwise "OK".
Worked example (sample data from the source sheet)
Ana (household A) picks 14; Ben (A) picks 3; Cy picks 27; Dee picks 8; Eli picks 21. Gift budget 25 is only a reminder.
- Descending rank: Cy 27 = order 1, Eli 21 = 2, Ana 14 = 3, Dee 8 = 4, Ben 3 = 5. People in the draw = 5.
- Each gives to the next order, and Ben (last) gives to Cy (first): Cy → Eli, Eli → Ana, Ana → Dee, Dee → Ben, Ben → Cy.
- Ana and Ben share household A, but Ana gives to Dee and Ben gives to Cy, so every check is OK.
FAQ
Does this remember last year's pairings?
No. The published spreadsheet lines people up by this year's numbers and warns about the same household. It has no last-year history sheet, so this page does not add one.
What if two people pick the same number?
Excel RANK gives them the same starting rank, then COUNTIF down the column makes the later row take the next order number. The circle still has unique positions.
Why do I need at least three people?
The spreadsheet check returns "Add at least 3 people" when fewer than three order numbers are present. A two-person swap is not calculated as a valid draw here.
Is the gift budget part of the pairing?
No. It is only a reminder amount in the sheet.
Sources
- Core formulas and the five sample names: Secret-Santa-Organizer.xlsx (holiday-line B2 spreadsheet in the 2026-11-20 festival pack). The 20-question list (2026-11-20, question 12) asked about avoiding last year's pairings. That history is not in this spreadsheet's formulas , so this page does not invent it. Household checking is what the sheet actually does