Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
AHurd
 
Posts: n/a
Default need to create a formula to create a timesheet but haven't a clue

Timesheet Formula: I am trying to create a formula to calculate whether the
hours used are either time and a half between x-y hours. Completely useless
on Excel.
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

Depends upon the rules.

For instance, if anything over 8 hours is overtime then

=MAX(end_time-start_time-TIME(8,0,0),0)

If it is any hours outside ofv pre-set start and end times, say 08:00 and
16:00 then

=MAX(TIME(8,0,0)-start_time,0)+MAX(end_time-TIME(16,0,0),0)

--

HTH

RP
(remove nothere from the email address if mailing direct)


"AHurd" wrote in message
...
Timesheet Formula: I am trying to create a formula to calculate whether

the
hours used are either time and a half between x-y hours. Completely

useless
on Excel.



  #3   Report Post  
AHurd
 
Posts: n/a
Default

Sounds good but where do I put the overtime rate?

"Bob Phillips" wrote:

Depends upon the rules.

For instance, if anything over 8 hours is overtime then

=MAX(end_time-start_time-TIME(8,0,0),0)

If it is any hours outside ofv pre-set start and end times, say 08:00 and
16:00 then

=MAX(TIME(8,0,0)-start_time,0)+MAX(end_time-TIME(16,0,0),0)

--

HTH

RP
(remove nothere from the email address if mailing direct)


"AHurd" wrote in message
...
Timesheet Formula: I am trying to create a formula to calculate whether

the
hours used are either time and a half between x-y hours. Completely

useless
on Excel.




  #4   Report Post  
Bob Phillips
 
Posts: n/a
Default

Just multiply that by the rate

--

HTH

RP
(remove nothere from the email address if mailing direct)


"AHurd" wrote in message
...
Sounds good but where do I put the overtime rate?

"Bob Phillips" wrote:

Depends upon the rules.

For instance, if anything over 8 hours is overtime then

=MAX(end_time-start_time-TIME(8,0,0),0)

If it is any hours outside ofv pre-set start and end times, say 08:00

and
16:00 then

=MAX(TIME(8,0,0)-start_time,0)+MAX(end_time-TIME(16,0,0),0)

--

HTH

RP
(remove nothere from the email address if mailing direct)


"AHurd" wrote in message
...
Timesheet Formula: I am trying to create a formula to calculate

whether
the
hours used are either time and a half between x-y hours. Completely

useless
on Excel.






  #5   Report Post  
Mangesh Yadav
 
Posts: n/a
Default

Give an example (complete with input and output) of what you are trying to
acieve.

Mangesh


"AHurd" wrote in message
...
Timesheet Formula: I am trying to create a formula to calculate whether

the
hours used are either time and a half between x-y hours. Completely

useless
on Excel.





  #6   Report Post  
AHurd
 
Posts: n/a
Default

From To Rate
Mon- Fri 8.00 18.00 S/T
18.00 20.00 T/Half
20.00 6.00 D/T
6.00 8.00 T/Half

Saturday 8.00 13.00 T/Half
13.00 8.00 D/T

Sunday 8.00 8.00 D/T

Therefore when I complete a timesheet and someone who has basic hours of
07:00 - 16:00 but works overtime (mon-fri) to 20:00 I need to input a formula
to calculate the difference between single time and time/half.

"Mangesh Yadav" wrote:

Give an example (complete with input and output) of what you are trying to
acieve.

Mangesh


"AHurd" wrote in message
...
Timesheet Formula: I am trying to create a formula to calculate whether

the
hours used are either time and a half between x-y hours. Completely

useless
on Excel.




  #7   Report Post  
AHurd
 
Posts: n/a
Default

Mangesh,

Did you come up with a forumula? I tried to do the one Bob gave me but it
kept coming up with #?NAME error.

"AHurd" wrote:

From To Rate
Mon- Fri 8.00 18.00 S/T
18.00 20.00 T/Half
20.00 6.00 D/T
6.00 8.00 T/Half

Saturday 8.00 13.00 T/Half
13.00 8.00 D/T

Sunday 8.00 8.00 D/T

Therefore when I complete a timesheet and someone who has basic hours of
07:00 - 16:00 but works overtime (mon-fri) to 20:00 I need to input a formula
to calculate the difference between single time and time/half.

"Mangesh Yadav" wrote:

Give an example (complete with input and output) of what you are trying to
acieve.

Mangesh


"AHurd" wrote in message
...
Timesheet Formula: I am trying to create a formula to calculate whether

the
hours used are either time and a half between x-y hours. Completely

useless
on Excel.




  #8   Report Post  
Bob Phillips
 
Posts: n/a
Default

That is because you either need to name the cells with the start and end
times as start_time and end_time, or substitute those cells into the
formula.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"AHurd" wrote in message
...
Mangesh,

Did you come up with a forumula? I tried to do the one Bob gave me but it
kept coming up with #?NAME error.

"AHurd" wrote:

From To Rate
Mon- Fri 8.00 18.00 S/T
18.00 20.00 T/Half
20.00 6.00 D/T
6.00 8.00 T/Half

Saturday 8.00 13.00 T/Half
13.00 8.00 D/T

Sunday 8.00 8.00 D/T

Therefore when I complete a timesheet and someone who has basic hours of
07:00 - 16:00 but works overtime (mon-fri) to 20:00 I need to input a

formula
to calculate the difference between single time and time/half.

"Mangesh Yadav" wrote:

Give an example (complete with input and output) of what you are

trying to
acieve.

Mangesh


"AHurd" wrote in message
...
Timesheet Formula: I am trying to create a formula to calculate

whether
the
hours used are either time and a half between x-y hours. Completely
useless
on Excel.





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
How do I create a formula using data from another page? Mimi Excel Worksheet Functions 2 May 5th 05 04:41 PM
how do I create a if-then formula? karen Excel Worksheet Functions 4 May 4th 05 12:08 AM
how do I create a if-then formula? karen Excel Worksheet Functions 1 May 3rd 05 09:19 PM
How to create specific formula STS Excel Worksheet Functions 4 May 2nd 05 01:44 AM
create a chart with a formula anon Charts and Charting in Excel 1 December 15th 04 08:55 PM


All times are GMT +1. The time now is 08:18 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"