problem of converting days months and years

N

naughtyboy

Hi i have a problem in excel ..i m new of excel so dont have enoug
knowledge so do help me ..suppose i have the following data
A2 = Years = 9
B2 = Months = 175
C2 = Days = 392

i want to calculate these months and dates as supoose i have 0 years 2
months and 32 days so answer should be as 2 years 1 month and 2 day
because (24 months = 2 years and 32 days = 1 month and 2 days are lef
as in the column of days).......

so plz help me thanks in advance......bye take care friendsss
 
D

daddylonglegs

Do you want to add these to another date or just total them? If its the
former then you can add those to a date in D2 with

=D2+DATE(A2,B2,C2)

If it's the latter then do you always want to assume 30 days in a month
and therefore 360 days in a year?
 
N

naughtyboy

no friend its not like date..i have calculated these years months an
days from several dates.......

i assume taht there are 30 days in a month..so the excel sheet is lik
this

A2=years=56
B2=months = 25
C2=days=32
i want to add these so i get the answer as A2=58 years B2=2 months an
C2=2 days...... (because 25 months = 2 years and 1 month years ar
added to years column and 32 days = 1 month and 2 days this 1 month i
added to month column and 2 days are in the days column..
 
D

daddylonglegs

Try these formulas

A3

=A2+INT((B2+INT(C2/30))/12)

B3

=MOD(B2+INT(C2/30),12)

C3

=MOD(C2,30
 

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