Excel 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 to row 500.
=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:A500,MATCH(MIN(F2:F500),F2:F500,0)),"")If two people share the next date, it names the one higher in the list; the Coming up list below shows both.
The workbook already holds every Excel 2016 formula below and the 7-day highlight, with sample rows to replace. Free, no account.
More formulas for the list
They work in Excel 2016 and later and 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, not text. The ranges stop at row 500; for a longer list, change 500 to a bigger number.
Next birthday
In G2, copied down to row 500. Then on the Home tab set Number Format to Short 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 to row 500.
=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.
Order (1 is next)
In I2, copied down to row 500. The Coming up list reads it.
=IF(F2="","",COUNTIF($F$2:$F$500,"<"&F2)+COUNTIF($F$2:F2,F2))People who share a date get the next number in list order, so every place has one name.
Coming up: name
In L7 (headings Name, Next birthday and Days until in L6, M6 and N6), then copied down 10 rows.
=IFERROR(INDEX($A$2:$A$500,MATCH(ROW()-ROW($L$6),$I$2:$I$500,0)),"")Coming up: next birthday
In M7, copied down 10 rows, formatted as Short Date.
=IFERROR(INDEX($G$2:$G$500,MATCH(ROW()-ROW($L$6),$I$2:$I$500,0)),"")Coming up: days until
In N7, copied down 10 rows.
=IFERROR(INDEX($F$2:$F$500,MATCH(ROW()-ROW($L$6),$I$2:$I$500,0)),"")This month's birthdays
In J2, copied down to row 500. It shows the day of the month for each birthday this month; sort or filter by it.
=IF(B2="","",IF(MONTH(B2)=MONTH(TODAY()),DAY(B2),""))How many this month
In any empty cell.
=SUMPRODUCT((B2:B500<>"")*(MONTH(B2:B500)=MONTH(TODAY())))Microsoft 365: shorter, with FILTER and SORT
Only in Microsoft 365 and Excel 2021 or later. Each one fills the cells under it by itself.
This month's birthdays, as a list
In an empty cell with free cells under it, such as P1.
=FILTER(A2:A500,(B2:B500<>"")*(MONTH(B2:B500)=MONTH(TODAY())),"None this month")Coming up, soonest first
In an empty cell such as P10, with room for 8 columns from there. It needs F, G and H.
=SORT(FILTER(A2:H500,B2:B500<>""),6)It copies columns A to H, sorted by Days until. Format its date columns as Short Date.
Highlight upcoming birthdays in Excel
This needs the Days until column in F.
- Select A2:J500 (type it in the Name Box left of the formula bar and press Enter).
- On the Home tab, choose Conditional Formatting > New Rule.
- Choose Use a formula to determine which cells to format.
- Paste this formula into Format values where this formula is true:
The highlight rule
Format values where this formula is true
=AND($F2<>"",$F2<=7)- Choose Format, pick a color on the Fill tab, then OK and OK.
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 see whose birthday is next in Excel?
Do these birthday formulas work in older Excel?
Can Excel send a birthday reminder by itself?
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, Google Sheets formulas, Slack reminder commands and a team birthday calendar file.
Reminders from a sheet in general: birthday reminders from a spreadsheet.