Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Kane
 
Posts: n/a
Default Age & Time Restricted Validation dates ...

Birthdate in A43
Issue Date in G37
New Valid to Date ( ? ) in K37

Restrictions a
Age<40=12 months (to the 1st day of the following month)
Age40=6 months (to the 1st day of the following month)
Revalidation grace period=90 days prior to Valid to Date=normal Valid to Date
Revalidation prior to 90 day grace period=new Age <40 or Age40
Beyond Valid to date="Expired"

How would I set this up? There is a continuation to this, but thought we
could start from here.
Happy New Year , & in Rememberance!

.... Wayne


  #2   Report Post  
Kane
 
Posts: n/a
Default

THis is a certificate that must be renewed every 12 months, or 6 months
depending upon age; to maintain a licence.

"Kane" wrote:

Birthdate in A43
Issue Date in G37
New Valid to Date ( ? ) in K37

Restrictions a
Age<40=12 months (to the 1st day of the following month)
Age40=6 months (to the 1st day of the following month)
Revalidation grace period=90 days prior to Valid to Date=normal Valid to Date
Revalidation prior to 90 day grace period=new Age <40 or Age40
Beyond Valid to date="Expired"

How would I set this up? There is a continuation to this, but thought we
could start from here.
Happy New Year , & in Rememberance!

... Wayne


  #3   Report Post  
Max
 
Posts: n/a
Default

Not sure, but perhaps something along these lines
would be a start ...:

Try in K37:

=IF(OR(A43="",G37=""),"",IF(G37<TODAY(),"Expired", IF(G37<TODAY()+90,IF(DATED
IF(A43,G37,"y")<40,G37+365,G37+365/2))))

Format K37 as date
--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"Kane" wrote in message
...
THis is a certificate that must be renewed every 12 months, or 6 months
depending upon age; to maintain a licence.

"Kane" wrote:

Birthdate in A43
Issue Date in G37
New Valid to Date ( ? ) in K37

Restrictions a
Age<40=12 months (to the 1st day of the following month)
Age40=6 months (to the 1st day of the following month)
Revalidation grace period=90 days prior to Valid to Date=normal Valid

to Date
Revalidation prior to 90 day grace period=new Age <40 or Age40
Beyond Valid to date="Expired"

How would I set this up? There is a continuation to this, but thought we
could start from here.
Happy New Year , & in Rememberance!

... Wayne




  #4   Report Post  
Kane
 
Posts: n/a
Default

Max
I copied the formula as given, cells as stated, and I get "Expired" for all
dates.
Example would be (m/d/y)
Birthdate A43 .... 08/08/1960
Issue date G37 .... 10/20/2004

This should give me a new Due date of 05/01/2005
If the certificate is renewed within 90 days of the due date, the new Due
date is extended to the 1st day of the 13th month of the previous Due date.
I could send you a sample of what I am looking for if that would help

..... Tks Wayne

"Max" wrote:

Not sure, but perhaps something along these lines
would be a start ...:

Try in K37:

=IF(OR(A43="",G37=""),"",IF(G37<TODAY(),"Expired", IF(G37<TODAY()+90,IF(DATED
IF(A43,G37,"y")<40,G37+365,G37+365/2))))

Format K37 as date
--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"Kane" wrote in message
...
THis is a certificate that must be renewed every 12 months, or 6 months
depending upon age; to maintain a licence.

"Kane" wrote:

Birthdate in A43
Issue Date in G37
New Valid to Date ( ? ) in K37
Restrictions a
Age<40=12 months (to the 1st day of the following month)
Age40=6 months (to the 1st day of the following month)
Revalidation grace period=90 days prior to Valid to Date=normal Valid

to Date
Revalidation prior to 90 day grace period=new Age <40 or Age40
Beyond Valid to date="Expired"
How would I set this up? There is a continuation to this, but thought we
could start from here.
Happy New Year , & in Rememberance!

... Wayne





  #5   Report Post  
Max
 
Posts: n/a
Default

Perhaps try this revised formula in K37 first:

=IF(OR(A43="",G37=""),"",IF(G37<TODAY()-90,"Expired",IF(AND(G37<TODAY(),G37
=TODAY()-90),IF(DATEDIF(A43,TODAY(),"y")<40,DATE(YEAR(G37+3 65),MONTH(G37+365
)+1,1),DATE(YEAR(G37+365/2),MONTH(G37+365/2)+1,1)),IF(AND(G37TODAY()+90,DAT
EDIF(A43,G37,"y")<40),DATE(YEAR(G37+365),MONTH(G37 +365)+1,1),DATE(YEAR(G37+3
65/2),MONTH(G37+365/2)+1,1)))))

Test it out with a couple of sample values in A43 and G37
(or just copy down, if you have corresponding values down from A43 and G37),
and see whether all the returns match the expected results .. (think the
returns should be closer now <g)
--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"Kane" wrote in message
...
Max
I copied the formula as given, cells as stated, and I get "Expired" for

all
dates.
Example would be (m/d/y)
Birthdate A43 .... 08/08/1960
Issue date G37 .... 10/20/2004

This should give me a new Due date of 05/01/2005
If the certificate is renewed within 90 days of the due date, the new Due
date is extended to the 1st day of the 13th month of the previous Due

date.
I could send you a sample of what I am looking for if that would help

.... Tks Wayne





  #6   Report Post  
Kane
 
Posts: n/a
Default

Copied to K37, & error message, the formula you typed contains an error. <
=, -, or ( ) ....


"Max" wrote:

Perhaps try this revised formula in K37 first:

=IF(OR(A43="",G37=""),"",IF(G37<TODAY()-90,"Expired",IF(AND(G37<TODAY(),G37
=TODAY()-90),IF(DATEDIF(A43,TODAY(),"y")<40,DATE(YEAR(G37+3 65),MONTH(G37+365
)+1,1),DATE(YEAR(G37+365/2),MONTH(G37+365/2)+1,1)),IF(AND(G37TODAY()+90,DAT
EDIF(A43,G37,"y")<40),DATE(YEAR(G37+365),MONTH(G37 +365)+1,1),DATE(YEAR(G37+3
65/2),MONTH(G37+365/2)+1,1)))))

Test it out with a couple of sample values in A43 and G37
(or just copy down, if you have corresponding values down from A43 and G37),
and see whether all the returns match the expected results .. (think the
returns should be closer now <g)
--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"Kane" wrote in message
...
Max
I copied the formula as given, cells as stated, and I get "Expired" for

all
dates.
Example would be (m/d/y)
Birthdate A43 .... 08/08/1960
Issue date G37 .... 10/20/2004

This should give me a new Due date of 05/01/2005
If the certificate is renewed within 90 days of the due date, the new Due
date is extended to the 1st day of the 13th month of the previous Due

date.
I could send you a sample of what I am looking for if that would help

.... Tks Wayne




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
Data Validation Window? Ken Excel Discussion (Misc queries) 1 January 11th 05 10:48 PM
Formating Dates for production schedule dpl7579 Excel Discussion (Misc queries) 1 January 11th 05 08:43 PM
entering numbers to display a time format Ian Williams/Eazygig Excel Discussion (Misc queries) 1 January 10th 05 11:57 AM
Help - Information with time and date PM Excel Discussion (Misc queries) 4 January 6th 05 08:25 AM
Date and Time Macro m.j.anderson Excel Discussion (Misc queries) 1 December 1st 04 12:35 AM


All times are GMT +1. The time now is 09:06 AM.

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"