PC Review


Reply
Thread Tools Rate Thread

Auto calculating the month end

 
 
=?Utf-8?B?UmlwMTg3Nw==?=
Guest
Posts: n/a
 
      2nd Oct 2007
I am trying to work on a template for a bi-weekly employee time sheet. I need
the dates to range from the 1st to the 15th, and then from the 16th till the
end of the month. Is there a formula that can be used so the system would
recognize the months that have 30 or 31 days?
 
Reply With Quote
 
 
 
 
Gary Keramidas
Guest
Posts: n/a
 
      2nd Oct 2007
if you install the analysis toolpak, you can use the eomonth function.

--


Gary


"Rip1877" <(E-Mail Removed)> wrote in message
news:7996B493-7543-4242-95C4-(E-Mail Removed)...
>I am trying to work on a template for a bi-weekly employee time sheet. I need
> the dates to range from the 1st to the 15th, and then from the 16th till the
> end of the month. Is there a formula that can be used so the system would
> recognize the months that have 30 or 31 days?



 
Reply With Quote
 
=?Utf-8?B?SlJGb3Jt?=
Guest
Posts: n/a
 
      2nd Oct 2007
Rip1877,

Try the function =Date(year,month,day)


"Rip1877" wrote:

> I am trying to work on a template for a bi-weekly employee time sheet. I need
> the dates to range from the 1st to the 15th, and then from the 16th till the
> end of the month. Is there a formula that can be used so the system would
> recognize the months that have 30 or 31 days?

 
Reply With Quote
 
=?Utf-8?B?SmltIFRob21saW5zb24=?=
Guest
Posts: n/a
 
      2nd Oct 2007
My preference is to use the first of the next month minus one. Something like
this...

=DATE(2007, 10, 1) - 1
Placed in a cell gives you Sept 30th...
--
HTH...

Jim Thomlinson


"Rip1877" wrote:

> I am trying to work on a template for a bi-weekly employee time sheet. I need
> the dates to range from the 1st to the 15th, and then from the 16th till the
> end of the month. Is there a formula that can be used so the system would
> recognize the months that have 30 or 31 days?

 
Reply With Quote
 
=?Utf-8?B?UmlwMTg3Nw==?=
Guest
Posts: n/a
 
      2nd Oct 2007
Ok, I tried looking for the eomonth function. Is this an add-on? I have
Office 2003. Would I need 2007 for this function?
 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      2nd Oct 2007
Or even
=date(2007,10,0)

The zeroeth day of the next month is the last day of the previous month.



Jim Thomlinson wrote:
>
> My preference is to use the first of the next month minus one. Something like
> this...
>
> =DATE(2007, 10, 1) - 1
> Placed in a cell gives you Sept 30th...
> --
> HTH...
>
> Jim Thomlinson
>
> "Rip1877" wrote:
>
> > I am trying to work on a template for a bi-weekly employee time sheet. I need
> > the dates to range from the 1st to the 15th, and then from the 16th till the
> > end of the month. Is there a formula that can be used so the system would
> > recognize the months that have 30 or 31 days?


--

Dave Peterson
 
Reply With Quote
 
Gary Keramidas
Guest
Posts: n/a
 
      2nd Oct 2007
go to tools/addins and check analysis toolpak and install it if it isn't already
installed. you will probably need the o2k3 cd.
with a date in a1
enter in b1
=eomonth(a1,0)
will give you the last day of the month in cell a1

--


Gary


"Rip1877" <(E-Mail Removed)> wrote in message
news:1914DAAF-D102-41F0-A569-(E-Mail Removed)...
> Ok, I tried looking for the eomonth function. Is this an add-on? I have
> Office 2003. Would I need 2007 for this function?



 
Reply With Quote
 
=?Utf-8?B?SmltIFRob21saW5zb24=?=
Guest
Posts: n/a
 
      2nd Oct 2007
I tried to explain that to someone in the office a while back and they just
didn't quite click in to it. I changed my explanation to the first minus 1
and the light bulb came on. Personally I use the 0 thing but I have never
tried to explain it since. I guess the 0th day of the month was a bit too
conceptual...
--
HTH...

Jim Thomlinson


"Dave Peterson" wrote:

> Or even
> =date(2007,10,0)
>
> The zeroeth day of the next month is the last day of the previous month.
>
>
>
> Jim Thomlinson wrote:
> >
> > My preference is to use the first of the next month minus one. Something like
> > this...
> >
> > =DATE(2007, 10, 1) - 1
> > Placed in a cell gives you Sept 30th...
> > --
> > HTH...
> >
> > Jim Thomlinson
> >
> > "Rip1877" wrote:
> >
> > > I am trying to work on a template for a bi-weekly employee time sheet. I need
> > > the dates to range from the 1st to the 15th, and then from the 16th till the
> > > end of the month. Is there a formula that can be used so the system would
> > > recognize the months that have 30 or 31 days?

>
> --
>
> Dave Peterson
>

 
Reply With Quote
 
=?Utf-8?B?UmlwMTg3Nw==?=
Guest
Posts: n/a
 
      2nd Oct 2007
Can I set it up as an IF function? Like if the date<=15 then it uses the
15th, IFdate>=16 then =eomonth(a1,0) ?

What I want to do is set it up so it will input the end of a pay period as
either the 15th or the end of the month. depending on if it is the first or
second pay period.

Can I use the IF function for that and if so, what would the formula need to
look like?

"Gary Keramidas" wrote:

> go to tools/addins and check analysis toolpak and install it if it isn't already
> installed. you will probably need the o2k3 cd.
> with a date in a1
> enter in b1
> =eomonth(a1,0)
> will give you the last day of the month in cell a1
>
> --
>
>
> Gary


 
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
calculating by month Jake Microsoft Excel Worksheet Functions 1 30th Mar 2008 05:40 PM
calculating Interest in a month with investments throughout month TiChNi Microsoft Excel Discussion 0 13th Apr 2007 09:10 PM
Calculating a Month grep Microsoft Access Queries 3 11th Dec 2005 05:27 PM
Calculating Month Name =?Utf-8?B?UmVzdGxlc3NBZGU=?= Microsoft Excel Misc 2 1st Aug 2005 10:10 PM
Calculating recurring date in following month, calculating # days in that period Walterius Microsoft Excel Worksheet Functions 6 4th Jun 2005 11:21 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:00 PM.