PC Review


Reply
Thread Tools Rate Thread

Calculating eligibility dates

 
 
PH@tic
Guest
Posts: n/a
 
      7th Jul 2008
How do I write a multiple function that will answer the question:

What is the first quarter following the employee's one-year anniversary?
Quarters being: January 1, April 1, July 1, October 1
 
Reply With Quote
 
 
 
 
Bob Phillips
Guest
Posts: n/a
 
      7th Jul 2008
=DATE(YEAR(DoH),INT((MONTH(DoH)+2)/3)*3+1,1)

and format as mmm d

--
__________________________________
HTH

Bob

"PH@tic" <PH@(E-Mail Removed)> wrote in message
news:796831C5-EA86-44BD-A184-(E-Mail Removed)...
> How do I write a multiple function that will answer the question:
>
> What is the first quarter following the employee's one-year anniversary?
> Quarters being: January 1, April 1, July 1, October 1



 
Reply With Quote
 
PH@tic
Guest
Posts: n/a
 
      7th Jul 2008
The suggestion doesn't seem to work. I presum the DoH is Date of Hire?

I do have a column that lists the initial hire date. For one employee, the
cell is D3.

Can you suggest a change to the initial suggestion that would allow me to
refer to a cell?

Thanks.


 
Reply With Quote
 
Spiky
Guest
Posts: n/a
 
      7th Jul 2008
On Jul 7, 8:50 am, PH@tic <PH...@discussions.microsoft.com> wrote:
> The suggestion doesn't seem to work. I presum the DoH is Date of Hire?
>
> I do have a column that lists the initial hire date. For one employee, the
> cell is D3.
>
> Can you suggest a change to the initial suggestion that would allow me to
> refer to a cell?
>
> Thanks.


You just change DoH to D3. Then the formula can be copied down the
list of employees.
 
Reply With Quote
 
PH@tic
Guest
Posts: n/a
 
      7th Jul 2008
I ended up using what follows and it appears to work. Thanks for all the
help. Now I just need to understand WHY it works! I appreciate the resource.

=IF(ISBLANK(D2),"not yet",DATE(YEAR(D2)+1,INT((MONTH(D2)+2)/3)*3+1,1))

"Spiky" wrote:

> On Jul 7, 8:50 am, PH@tic <PH...@discussions.microsoft.com> wrote:
> > The suggestion doesn't seem to work. I presum the DoH is Date of Hire?
> >
> > I do have a column that lists the initial hire date. For one employee, the
> > cell is D3.
> >
> > Can you suggest a change to the initial suggestion that would allow me to
> > refer to a cell?
> >
> > Thanks.

>
> You just change DoH to D3. Then the formula can be copied down the
> list of employees.
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Benefits Eligibility Dates Yvonne Microsoft Excel New Users 3 12th Mar 2009 07:58 PM
Eligibility Dates Christy Microsoft Excel Worksheet Functions 3 20th Jun 2008 09:22 PM
Calculating number of weeks between dates (start and end dates) =?Utf-8?B?R2VyYWxkIExlbWF5?= Microsoft Excel Discussion 1 28th Mar 2007 01:13 PM
Calculating Hours Between 2 Dates & Removing Weekend Dates dbennett@bennettgraphics.com Microsoft Excel Discussion 4 31st Oct 2005 09:01 AM
Calculating dates - Need to calculate years and months between source dates. jmw748 Microsoft Access Queries 2 7th Jan 2004 12:31 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:50 AM.