Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 276
Default Days to Years ? How

Currently i have an induction register that has 3 worksheets.

sheet1 = Date the induction was carried out

sheet2 = Frequency that the induction is current for(At moment i have
365.25 as 1 Year)

sheet3 = Display of dates due with colour coded shading according to
when the induction is due.


Is there a a way i can in SHEET2 place 1,2,3,5,10 for YEARS rather than
365.25 for 1 year etc?


Regards

Corey


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 510
Default Days to Years ? How

Hi

To get a date n years late to date in Sheet1A1
=DATE(YEAR(Sheet1!A1)+n,MONTH(Sheet1!A1),DAY(Sheet 1!A1)
, or taking into account the possibility the start date being 29 February of
leap year
=MIN(DATE(YEAR(Sheet1!A1)+n,MONTH(Sheet1!A1)+1,0), DATE(YEAR(Sheet1!A1)+n,MONTH(Sheet1!A1),DAY(Sheet1 !A1))

To get a date n months late to date in Sheet1A1
=DATE(YEAR(Sheet1!A1),MONTH(Sheet1!A1)+n,DAY(Sheet 1!A1)
, or taking into account different length of months
=MIN(DATE(YEAR(Sheet1!A1),MONTH(Sheet1!A1)+n+1,0), DATE(YEAR(Sheet1!A1),MONTH(Sheet1!A1)+n,DAY(Sheet1 !A1))


--
Arvi Laanemets
( My real mail address: arvi.laanemets<attarkon.ee )


"Corey" wrote in message
...
Currently i have an induction register that has 3 worksheets.

sheet1 = Date the induction was carried out

sheet2 = Frequency that the induction is current for(At moment i
have 365.25 as 1 Year)

sheet3 = Display of dates due with colour coded shading according to
when the induction is due.


Is there a a way i can in SHEET2 place 1,2,3,5,10 for YEARS rather than
365.25 for 1 year etc?


Regards

Corey



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 276
Default Days to Years ? How

Thanks for the reply,
But i am not after a conversion for year to date.
But i am after a way to enter say:
(1) to represent 1 year instead of (365)
(2) to represent 2 years instead of (730)

etc.
Regards

Corey
"Arvi Laanemets" wrote in message
...
Hi

To get a date n years late to date in Sheet1A1
=DATE(YEAR(Sheet1!A1)+n,MONTH(Sheet1!A1),DAY(Sheet 1!A1)
, or taking into account the possibility the start date being 29 February
of leap year
=MIN(DATE(YEAR(Sheet1!A1)+n,MONTH(Sheet1!A1)+1,0), DATE(YEAR(Sheet1!A1)+n,MONTH(Sheet1!A1),DAY(Sheet1 !A1))

To get a date n months late to date in Sheet1A1
=DATE(YEAR(Sheet1!A1),MONTH(Sheet1!A1)+n,DAY(Sheet 1!A1)
, or taking into account different length of months
=MIN(DATE(YEAR(Sheet1!A1),MONTH(Sheet1!A1)+n+1,0), DATE(YEAR(Sheet1!A1),MONTH(Sheet1!A1)+n,DAY(Sheet1 !A1))


--
Arvi Laanemets
( My real mail address: arvi.laanemets<attarkon.ee )


"Corey" wrote in message
...
Currently i have an induction register that has 3 worksheets.

sheet1 = Date the induction was carried out

sheet2 = Frequency that the induction is current for(At moment i
have 365.25 as 1 Year)

sheet3 = Display of dates due with colour coded shading according
to when the induction is due.


Is there a a way i can in SHEET2 place 1,2,3,5,10 for YEARS rather than
365.25 for 1 year etc?


Regards

Corey





  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 510
Default Days to Years ? How

???

On sheet 2 you simply enter the frequency as number of years (or months).
Formulas are meant to use on sheet 3 - to calculate due dates, where n is
calculated based on frequency from sheet 2 and on number of particular
conversion due date on sheet 3. P.e. when you have frequency=1, and you want
to calculate 2nd due date for this conversion, then n=2*frequency. How do
you get both frequency and due date number for a conversion into formula,
depends on your data setup - I did give you the general formula.


--
Arvi Laanemets
( My real mail address: arvi.laanemets<attarkon.ee )



"Corey" wrote in message
...
Thanks for the reply,
But i am not after a conversion for year to date.
But i am after a way to enter say:
(1) to represent 1 year instead of (365)
(2) to represent 2 years instead of (730)

etc.
Regards

Corey
"Arvi Laanemets" wrote in message
...
Hi

To get a date n years late to date in Sheet1A1
=DATE(YEAR(Sheet1!A1)+n,MONTH(Sheet1!A1),DAY(Sheet 1!A1)
, or taking into account the possibility the start date being 29 February
of leap year
=MIN(DATE(YEAR(Sheet1!A1)+n,MONTH(Sheet1!A1)+1,0), DATE(YEAR(Sheet1!A1)+n,MONTH(Sheet1!A1),DAY(Sheet1 !A1))

To get a date n months late to date in Sheet1A1
=DATE(YEAR(Sheet1!A1),MONTH(Sheet1!A1)+n,DAY(Sheet 1!A1)
, or taking into account different length of months
=MIN(DATE(YEAR(Sheet1!A1),MONTH(Sheet1!A1)+n+1,0), DATE(YEAR(Sheet1!A1),MONTH(Sheet1!A1)+n,DAY(Sheet1 !A1))


--
Arvi Laanemets
( My real mail address: arvi.laanemets<attarkon.ee )


"Corey" wrote in message
...
Currently i have an induction register that has 3 worksheets.

sheet1 = Date the induction was carried out

sheet2 = Frequency that the induction is current for(At moment i
have 365.25 as 1 Year)

sheet3 = Display of dates due with colour coded shading according
to when the induction is due.


Is there a a way i can in SHEET2 place 1,2,3,5,10 for YEARS rather than
365.25 for 1 year etc?


Regards

Corey







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
Problem With Converting Days Months And Years naughtyboy Excel Discussion (Misc queries) 1 August 18th 06 04:43 PM
problem of calculating years months and days naughtyboy Excel Discussion (Misc queries) 1 August 7th 06 11:22 AM
problem of converting days months and years naughtyboy Excel Worksheet Functions 3 August 7th 06 11:11 AM
problem with days months and years conversion naughtyboy Excel Worksheet Functions 1 August 6th 06 10:51 PM
convert Days to Years, Months, Days Klaudebou Excel Discussion (Misc queries) 3 December 29th 05 10:33 PM


All times are GMT +1. The time now is 08:02 PM.

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

About Us

"It's about Microsoft Excel"