LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Night shift hours dilema

Hi, I am using this formula, but everytime I have no hours in my star
and finish cells, or if its 00:00, it gives me a 7.00, how can I mak
this not do that. But instead make it a 0.00 rather, as I dont want m
total of all the nightshift hours to show an amount if its not suppos
to exist.

=(IF(G14<TIME(7,0,0),TIME(7,0,0)-G14,0))+(IF(H14TIME(19,0,0),H14-TIME(19,0,0),0))

Thank

--
Message posted from http://www.ExcelForum.com

 
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
Figuring Late night Hours WIgirl Excel Discussion (Misc queries) 2 June 3rd 09 07:23 AM
Total time vs hours per shift WILSONLA001 Excel Worksheet Functions 1 October 19th 07 11:38 PM
calculate finishing time if night shift aren't working Martin B Excel Worksheet Functions 1 June 20th 07 11:48 PM
Help: Trying to get hours for 11pm-7am shift Caramon6561 Excel Worksheet Functions 7 April 16th 07 03:20 AM
Hours worked on job/per shift ziggyg Excel Programming 1 September 21st 03 09:51 PM


All times are GMT +1. The time now is 08:43 PM.

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"