Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 38
Default Add years NOT days

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....



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Add years NOT days

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....




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 38
Default Add years NOT days

Thanks Max.
Perfect

"Max" wrote in message
...
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....






  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Add years NOT days

Welcome, Coza
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Coza" wrote in message
...
Thanks Max.
Perfect



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Days to Years ? How Corey Excel Worksheet Functions 3 August 11th 06 06:45 AM
Convert years to years and days Kimmie B Excel Discussion (Misc queries) 3 February 7th 06 08:06 PM
convert Days to Years, Months, Days Klaudebou Excel Discussion (Misc queries) 3 December 29th 05 10:33 PM
How do get the years and days Between two dates jhon doe Excel Discussion (Misc queries) 1 September 13th 05 12:57 AM
Convert # of days to years/days Marlene Mayer Excel Discussion (Misc queries) 3 April 27th 05 02:27 AM


All times are GMT +1. The time now is 01:41 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"