Adding 1 year and keeping time as well

H

Hugh G. Johnson

I have a column of date and time stamps I want to add excatly 1 year to.

The cell I want to add a year to is has this: 6/1/2007 6:35

If I use the forumula =EDATE(G2,12)

I get 6/1/2008 12:00 AM

How do I get it to leave the time along or carry that accross as well?

Sincerely

Hugh
 
P

Peo Sjoblom

=EDATE(G12,12)+MOD(G12,1)


or without using the ATP


=DATE(YEAR(G12)+1,MONTH(G12),DAY(G12))+MOD(G12,1)

--


Regards,


Peo Sjoblom
 
R

Ron Rosenfeld

I have a column of date and time stamps I want to add excatly 1 year to.

The cell I want to add a year to is has this: 6/1/2007 6:35

If I use the forumula =EDATE(G2,12)

I get 6/1/2008 12:00 AM

How do I get it to leave the time along or carry that accross as well?

Sincerely

Hugh


=EDATE(G2,12)+MOD(A1,1)



--ron
 

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