If >12...

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello!
In next situation:
35 years=Sum(A2:A3)
15 months=Sum(B2:B3)

yy mm
30 6
5 9
35 15

I would like:
Where is 15, calc 3 (15 months - 12/year)
and
where is 35, calc 36 (+ 1 year=12 months)

Thanks in advance.
an
 
Hi

If I understand your requirement correctly, in cell A4

=SUM(A2:A3)+INT(SUM(B2:B3)/12)
in Cell B4
=MOD(SUM(B2:B3),12)


Regards

Roger Govier
 
an,

In A4:
=SUM(A2:A3)+INT(SUM(B2:B3)/12)

In B4
=MOD(SUM(B2:B3),12)

HTH,
Bernie
MS Excel MVP
 
Thanks for your solution.
an

Roger Govier said:
Hi

If I understand your requirement correctly, in cell A4

=SUM(A2:A3)+INT(SUM(B2:B3)/12)
in Cell B4
=MOD(SUM(B2:B3),12)


Regards

Roger Govier
 
Thanks for your solution, too.
an

Bernie Deitrick said:
an,

In A4:
=SUM(A2:A3)+INT(SUM(B2:B3)/12)

In B4
=MOD(SUM(B2:B3),12)

HTH,
Bernie
MS Excel MVP
 

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

Back
Top