Calculating a date

MarkoBrit

New Member
Joined
Mar 6, 2019
Messages
12
Hi I have a spread sheet which shows employees (trainees etc) who are under 18.
In cell B2 I have thier DOB. Then in C2 I want a formula that returns the date of when they would reach 18. Anyone know how to do that?
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Data Range
[TABLE="class: grid"]
<tbody>[TR]
[TD][/TD]
[TD]
A
[/TD]
[TD]
B
[/TD]
[TD]
C
[/TD]
[/TR]
[TR]
[TD]
1
[/TD]
[TD]
EE​
[/TD]
[TD]
DOB​
[/TD]
[TD]
18​
[/TD]
[/TR]
[TR]
[TD]
2
[/TD]
[TD]
A​
[/TD]
[TD]
37411​
[/TD]
[TD]
=B2+(18*365.25)​
[/TD]
[/TR]
[TR]
[TD]
3
[/TD]
[TD]
b​
[/TD]
[TD]
37803​
[/TD]
[TD]
=B3+(18*365.25)​
[/TD]
[/TR]
[TR]
[TD]
4
[/TD]
[TD]
c​
[/TD]
[TD]
38204​
[/TD]
[TD]
=B4+(18*365.25)​
[/TD]
[/TR]
[TR]
[TD]
5
[/TD]
[TD]
d​
[/TD]
[TD]
37141​
[/TD]
[TD]
=B5+(18*365.25)​
[/TD]
[/TR]
</tbody>[/TABLE]


Because I am showing this as formulas, the DOB shows numerical and not date format. Should not make a difference when you do your actual file.

Data Range
[TABLE="class: grid"]
<tbody>[TR]
[TD][/TD]
[TD]
A
[/TD]
[TD]
B
[/TD]
[TD]
C
[/TD]
[/TR]
[TR]
[TD]
1
[/TD]
[TD]
EE​
[/TD]
[TD]
DOB​
[/TD]
[TD]
18​
[/TD]
[/TR]
[TR]
[TD]
2
[/TD]
[TD]
A​
[/TD]
[TD]
6/4/2002​
[/TD]
[TD]
6/3/2020​
[/TD]
[/TR]
[TR]
[TD]
3
[/TD]
[TD]
b​
[/TD]
[TD]
7/1/2003​
[/TD]
[TD]
6/30/2021​
[/TD]
[/TR]
[TR]
[TD]
4
[/TD]
[TD]
c​
[/TD]
[TD]
8/5/2004​
[/TD]
[TD]
8/5/2022​
[/TD]
[/TR]
[TR]
[TD]
5
[/TD]
[TD]
d​
[/TD]
[TD]
9/7/2001​
[/TD]
[TD]
9/7/2019​
[/TD]
[/TR]
</tbody>[/TABLE]


You may want to change the multiplier to 365 instead of 365.25
 
Last edited:
Upvote 0
How about


Excel 2013/2016
ABC
1Name
2Tom Pearce29/04/201929/04/2037
3Bill Brewer15/03/201115/03/2029
4Jan Stewer25/08/201225/08/2030
5Peter Gurney15/06/201315/06/2031
6Peter Davy15/06/201015/06/2028
7Dan'l Whiddon22/05/200022/05/2018
8Harry Hawke11/03/200511/03/2023
Engine
Cell Formulas
RangeFormula
C2=EDATE(B2,216)
 
Upvote 0

Forum statistics

Threads
1,224,744
Messages
6,180,696
Members
452,994
Latest member
Janick

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