Help!

Add years NOT days

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Worksheet Functions RSS
Next:  Fill-color icon options in Word suddenly grayed o..  
Author Message
Coza
External


Since: Mar 23, 2007
Posts: 2



PostPosted: Fri Mar 23, 2007 3:02 am    Post subject: Add years NOT days
Archived from groups: microsoft>public>excel>worksheet>functions (more info?)

In the following formula, J4 is (dddd dd mmmm yyyy) and H4 is (2)
[Representing Years].
=IF(J4<>"",J4+H4,"")

Currently it ADD's Days, how can i convrt the formula to ADD years ?


Corey....
Back to top
Max
External


Since: Mar 17, 2004
Posts: 1751



PostPosted: Fri Mar 23, 2007 3:02 am    Post subject: Re: Add years NOT days [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Try:
=IF(J4<>"",DATE(YEAR(J4)+H4,MONTH(J4),DAY(J4)),"")
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Coza" wrote:
> In the following formula, J4 is (dddd dd mmmm yyyy) and H4 is (2)
> [Representing Years].
> =IF(J4<>"",J4+H4,"")
>
> Currently it ADD's Days, how can i convrt the formula to ADD years ?
>
>
> Corey....
>
>
>
>
Back to top
Coza
External


Since: Mar 23, 2007
Posts: 2



PostPosted: Fri Mar 23, 2007 4:03 am    Post subject: Re: Add years NOT days [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thanks Max.
Perfect

"Max" <demechanik DeleteThis @yahoo.com> wrote in message
news:C153BD95-EF18-4934-80DA-FDDD96FA52A8@microsoft.com...
> Try:
> =IF(J4<>"",DATE(YEAR(J4)+H4,MONTH(J4),DAY(J4)),"")
> --
> Max
> Singapore
> http://savefile.com/projects/236895
> xdemechanik
> ---
> "Coza" wrote:
>> In the following formula, J4 is (dddd dd mmmm yyyy) and H4 is (2)
>> [Representing Years].
>> =IF(J4<>"",J4+H4,"")
>>
>> Currently it ADD's Days, how can i convrt the formula to ADD years ?
>>
>>
>> Corey....
>>
>>
>>
>>
Back to top
Max
External


Since: Sep 08, 2003
Posts: 3335



PostPosted: Fri Mar 23, 2007 10:06 am    Post subject: Re: Add years NOT days [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Welcome, Coza
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Coza" <coza.DeleteThis@exemail.com.au> wrote in message
news:OD8JznRbHHA.1240@TK2MSFTNGP04.phx.gbl...
> Thanks Max.
> Perfect
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Worksheet Functions All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum