Calculate days since last birthday

sobrien1234

Board Regular
Joined
May 10, 2016
Messages
175
Office Version
  1. 365
Platform
  1. Windows
I want to calculate the days since someone's last birthday. In cell A1 I have today's date and in cell B1 I have their date of birth. In cell C1 I want a formula that calculates the days since their birthday (not the days since their date of birth). Any suggestions?:confused:
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand

Excel 2010
ABC
124-Oct-175-May-85172
224-Oct-1720-Oct-904
324-Oct-1731-Oct-12358
424-Oct-1725-Oct-50364
5
2b
Cell Formulas
RangeFormula
C1=A1-DATE(YEAR(B1)+DATEDIF(B1,A1,"y"),MONTH(B1),DAY(B1))
C2=A2-DATE(YEAR(B2)+DATEDIF(B2,A2,"y"),MONTH(B2),DAY(B2))
C3=A3-DATE(YEAR(B3)+DATEDIF(B3,A3,"y"),MONTH(B3),DAY(B3))
C4=IF(DATE(YEAR(TODAY()),MONTH(B4),DAY(B4))>A4,A4-DATE(YEAR(TODAY())-1,MONTH(B4),DAY(B4)),A4-DATE(YEAR(TODAY()),MONTH(B4),DAY(B4)))
 
Upvote 0
Another option:
Copy formula in C2 down as needed.
Excel Workbook
ABC
1todayBirthday# Days from today
210/24/20171/14/1980283
310/24/20172/12/1975254
410/24/20173/12/1980226
510/24/20174/10/1960197
610/24/20175/9/1980168
710/24/20176/7/1980139
810/24/20177/6/1961110
910/24/20178/4/198081
1010/24/20179/2/198052
1110/24/201710/24/19520
1210/24/201710/30/1980359
1310/24/201711/28/1980330
1410/24/201712/27/1980301
Sheet
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,159
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top