Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Good Time
 
Posts: n/a
Default Timesheet maximum hours problem

I have created a time sheet for biweekly payroll, but I have one
problem.

Cell: I12 is the total for one week

Cell: D24 is the above total copied

Cell:D26 is regular hours worked - and this is where I have the
problem.

I want this cell to copy the value from D24 or input 44:00 hours,
which ever is less, in time format.

Can you help

Thank you
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default Timesheet maximum hours problem

=Min(D24,time(44,0,0))

and format as time

--

HTH

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


"Good Time" wrote in message
...
I have created a time sheet for biweekly payroll, but I have one
problem.

Cell: I12 is the total for one week

Cell: D24 is the above total copied

Cell:D26 is regular hours worked - and this is where I have the
problem.

I want this cell to copy the value from D24 or input 44:00 hours,
which ever is less, in time format.

Can you help

Thank you



  #3   Report Post  
Biff
 
Posts: n/a
Default Timesheet maximum hours problem

Hi!

Try this:

=MIN(D24,44/24)

Format the cell as [h]:mm.

Biff

"Good Time" wrote in message
...
I have created a time sheet for biweekly payroll, but I have one
problem.

Cell: I12 is the total for one week

Cell: D24 is the above total copied

Cell:D26 is regular hours worked - and this is where I have the
problem.

I want this cell to copy the value from D24 or input 44:00 hours,
which ever is less, in time format.

Can you help

Thank you



  #4   Report Post  
Good Time
 
Posts: n/a
Default Timesheet maximum hours problem

Thanks for your help but this formula always returns the value 44:00.

The problem is if cell D24 is less than 44:00 hours, let say 22:00
than cell D26 should reflect 22:00.

If cell D24 is greater than 44:00 than cell D26 should reflect the
maximum of 44:00 which your formula does.

Can you help?
Hi!

Try this:

=MIN(D24,44/24)

Format the cell as [h]:mm.

Biff

"Good Time" wrote in message
.. .
I have created a time sheet for biweekly payroll, but I have one
problem.

Cell: I12 is the total for one week

Cell: D24 is the above total copied

Cell:D26 is regular hours worked - and this is where I have the
problem.

I want this cell to copy the value from D24 or input 44:00 hours,
which ever is less, in time format.

Can you help

Thank you


  #5   Report Post  
Good Time
 
Posts: n/a
Default Timesheet maximum hours problem

Thanks for your response but this formla seems to return
a fixed value of 22:00. Am I doing something wrong?

=Min(D24,time(44,0,0))

and format as time



  #6   Report Post  
Peo Sjoblom
 
Posts: n/a
Default Timesheet maximum hours problem

No it's not always returning 44, so the only other option is that the 22:00
is either text or not 22:00


--

Regards,

Peo Sjoblom

"Good Time" wrote in message
...
Thanks for your help but this formula always returns the value 44:00.

The problem is if cell D24 is less than 44:00 hours, let say 22:00
than cell D26 should reflect 22:00.

If cell D24 is greater than 44:00 than cell D26 should reflect the
maximum of 44:00 which your formula does.

Can you help?
Hi!

Try this:

=MIN(D24,44/24)

Format the cell as [h]:mm.

Biff

"Good Time" wrote in message
.. .
I have created a time sheet for biweekly payroll, but I have one
problem.

Cell: I12 is the total for one week

Cell: D24 is the above total copied

Cell:D26 is regular hours worked - and this is where I have the
problem.

I want this cell to copy the value from D24 or input 44:00 hours,
which ever is less, in time format.

Can you help

Thank you




  #7   Report Post  
Bob Phillips
 
Posts: n/a
Default Timesheet maximum hours problem

See Peo's response.

--

HTH

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


"Good Time" wrote in message
...
Thanks for your response but this formla seems to return
a fixed value of 22:00. Am I doing something wrong?

=Min(D24,time(44,0,0))

and format as time



  #8   Report Post  
Good Time
 
Posts: n/a
Default Timesheet maximum hours problem

That was the problem, one of my cells had text in it.

Thanks so much for your help.

No it's not always returning 44, so the only other option is that the 22:00
is either text or not 22:00

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
comparing a value in a cell to see if it is higher than a number PK Excel Worksheet Functions 9 June 2nd 05 03:35 PM
add hours (calculated by functions) on a timesheet drewer Excel Worksheet Functions 6 May 14th 05 03:27 AM
How can I make a timesheet to figure my hours and payrate? Bruce Excel Worksheet Functions 2 March 25th 05 01:10 AM
Timesheet Problem GregR Excel Discussion (Misc queries) 4 December 6th 04 07:04 PM
Help! I am stuck calculating Days, Hours, Mins please help OB1 Excel Worksheet Functions 3 November 15th 04 05:17 PM


All times are GMT +1. The time now is 01:42 AM.

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

About Us

"It's about Microsoft Excel"