Google Sheets Birthday Tracker
To see whose birthday is next, add a Days until column, then one cell names the person. With names in column A and birthdays in column B:
Days until
In F2 (heading "Days until" in F1), then copied down the column.
=IF(B2="","",DATEDIF(TODAY(),DATE(YEAR(TODAY())+(DATE(YEAR(TODAY()),MONTH(B2),DAY(B2))<TODAY()),MONTH(B2),DAY(B2)),"D"))A birthday today shows 0. One that was yesterday shows 364 or 365.
Who is next
In any empty cell, such as L1.
=IFERROR(INDEX(A2:A,MATCH(MIN(F2:F),F2:F,0)),"")If two people share the next date, it names the one higher in the list; the Coming up view below shows both.
The file already holds every formula below and the 7-day highlight. In Google Sheets choose File > Import > Upload and pick it. Free, no account.
More formulas for the list
They use the columns of the free employee birthday tracker template: A Name, B Birthday, C Start date, D Team, E Notes, with the first person on row 2. Column B must hold dates (a CSV opened in Google Sheets turns 1991-02-14 into one).
Next birthday
In G2, copied down. Then choose Format > Number > Date for column G.
=IF(B2="","",DATE(YEAR(TODAY())+(DATE(YEAR(TODAY()),MONTH(B2),DAY(B2))<TODAY()),MONTH(B2),DAY(B2)))The age they turn
In H2, copied down.
=IF(B2="","",IF(YEAR(B2)=1904,"",YEAR(TODAY())+(DATE(YEAR(TODAY()),MONTH(B2),DAY(B2))<TODAY())-YEAR(B2)))Empty when the birth year is not known: type the year as 1904, such as 1904-04-12.
This month's birthdays
In an empty cell with free cells under it, such as L3.
=IFERROR(FILTER(A2:A,B2:B<>"",MONTH(B2:B)=MONTH(TODAY())),"None this month")How many this month
In any empty cell.
=SUMPRODUCT((B2:B<>"")*(MONTH(B2:B)=MONTH(TODAY())))Coming up, soonest first
In an empty cell such as N2, with room for 8 columns from there. It needs F, G and H above.
=SORT(FILTER(A2:H,B2:B<>""),6,TRUE)It copies columns A to H, sorted by Days until. Nothing in the sheet itself moves.
Highlight birthdays in the next 7 days
This needs the Days until column in F.
- Choose Format > Conditional formatting.
- In Apply to range, type A2:H.
- Under Format rules, open Format cells if and choose Custom formula is.
- Paste this formula into the box under it:
The highlight rule
Custom formula is
=AND($F2<>"",$F2<=7)- Under Formatting style, pick a fill color, then choose Done.
The whole row turns that color from 7 days before the birthday through the day itself. For 14 days, change the 7.
What the formulas get right
- A birthday today is 0 days away, not 365. One that was yesterday moves to next year.
- In late December, a January birthday is days away, not months.
- A Feb 29 birthday falls on March 1 in other years.
- No birth year? Type 1904 as the year: the dates work and the age stays empty.
- A row with no birthday stays empty, with no error.
Questions
How do I find out whose birthday is next in Google Sheets?
Can Google Sheets send a birthday reminder by itself?
What happens to a February 29 birthday in the formulas?
The catch
A spreadsheet only tells you when you open it. Paste the same rows into Greetigo's employee birthday tracker and it emails you the day before and on the day, with a message ready. Free holds 50 dates.
Other ways to keep the list: the free template, Excel formulas, Slack reminder commands and a team birthday calendar file.
Reminders from a sheet in general: birthday reminders from a spreadsheet.