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

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Data Range
A
B
C
1
EE​
DOB​
18​
2
A​
37411​
=B2+(18*365.25)​
3
b​
37803​
=B3+(18*365.25)​
4
c​
38204​
=B4+(18*365.25)​
5
d​
37141​
=B5+(18*365.25)​

<tbody>
</tbody>


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
A
B
C
1
EE​
DOB​
18​
2
A​
6/4/2002​
6/3/2020​
3
b​
7/1/2003​
6/30/2021​
4
c​
8/5/2004​
8/5/2022​
5
d​
9/7/2001​
9/7/2019​

<tbody>
</tbody>


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,213,489
Messages
6,113,952
Members
448,535
Latest member
alrossman

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