Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default Time formula

I am trying to prepare an employee time off log for 20 employees. I have read
through the discussions, but can't seem to find what I need. Any help would
be most appreciated.

Our employees are allowed 120 vacation hours and they work from 8am to 5pm.
When someone takes off a full day, only 8 hours needs to be charged against
him, instead of 9. I need a formula that will display only 8 hours used
instead of 9 when I subtract the two time cells of one containing 8:00, the
other containing 17:00. I also need this formula to calculate half days, such
as when an employee leaves maybe from 10 to 2, for example. Everything I have
tried displays either 0.00, FALSE, or the correct number appears but then it
messes up my other formula for "time allowed minus time used equals time
remaining." All of my cells are set to the h:mm setting.

I have my cells set up as c14 as the time leaving (or 8:00 if taking off a
full day) and d14 is the time returning (or 5:00, end of the day) and e14
being the difference between the two cells.

 
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
Time formula returns night time by mistake ferde Excel Discussion (Misc queries) 7 October 11th 08 03:51 PM
Calculating Time with Date/Time checking in formula cmatera Excel Worksheet Functions 2 August 11th 08 01:38 PM
convert from percentage of time to time using complex formula in . Nush Excel Worksheet Functions 2 October 4th 07 05:20 PM
Formula to find Stop Time from Start Time and Total Minutes Jonathan Bickett Excel Worksheet Functions 5 March 7th 07 05:22 PM
template or formula for start time -finish time -total hours ple cc New Users to Excel 1 March 27th 06 06:06 PM


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