calculating service dates

T

Tanya

I have the formula to calcuate date ranges which are returned in the
following format:
0years 4months 9days
4years 2months 15days
0years 5months 16days
28years 8months 30days

Now, how do I create a formula to calculate this information to correctly
reflect the number of months and years?
 
D

Dave R.

Do you want to do away with days and have some decimal after the month? Or
do you want to add these up?
 
P

Peo Sjoblom

You have that already, looking at that table how would you display the correct
number of months and years in let's say line 2?
You have 4 years and 2 months, if you want it in the same cell with a space
between number and years/months you can use

=SUBSTITUTE(A1,"years"," years")&" and "&SUBSTITUTE(B1,"months"," months")

Regards,

Peo Sjoblom
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top