LJ, I've located at least FOUR DIFFERENT discussion threads that you've created for what seems to be this same topic. Each worded slightly differently. In each case, it seems that the answers you are getting are not sufficient for your needs.
First of all, it's somewhat rude to open three different threads for the same purpose. Secondly, I think the problem is that you're not describing what it is you actually want. you really need to describe exactly the conditions that are present and how you wish for the solution to be provided. Include what you've tried and what type of experience you have. For instance, if you lack experience with VBA programming and you are looking for a solution using Excel functions, indicate as much. I suggest that you don't try to provide (or limit) the solution. Saying: "I need a NETWORKDAYS formula" essentially limits the answer to using "NETWORKDAYS". The fact that NETWORKDAYS returns a number of days, and you are looking for an answer in terms of hours, minutes and seconds, then the answer to your problem is: "it cannot be done". By looking through several discussions, I've pieced together what I THINK is your situation: -------------------------------------------------------------------------- You have two dates: Wed, Aug 01, 2012 10:47 AM Mon, Aug 20, 2012 10:47 AM Your "core" working hours are 6:00am to 7:00pm, Monday-Friday. Now, you know that there are 456 hours between the two dates. but you'd like to know how many of those hours are WITHIN the core hours, and how many are "outside" of the core hours. I don't believe that we can use standard Excel functions to accomplish this. I think we'd have to use VBA. Of course, we could design the VBA macro as a User Defined Function, so that it could be USED on a worksheet... but if you're not familiar with VBA, this solution might not be acceptable. Please elaborate, with your requirements and we'll see what we can do to help. Paul ----------------------------------------- “Do all the good you can, By all the means you can, In all the ways you can, In all the places you can, At all the times you can, To all the people you can, As long as ever you can.” - John Wesley ----------------------------------------- ________________________________ From: LJ <ljasonmil...@gmail.com> To: excel-macros@googlegroups.com Sent: Wed, August 29, 2012 6:57:00 AM Subject: $$Excel-Macros$$ NETWORKDAYS Formula to calculate amount of hours I need a NETWORKDAYS formula to calculate the time between a start and end date and time during the work hours of 6AM and 7PM and excluding weekends. The format for the results need to be in hh:mm:ss format. A2 = End Time B2 = Start Time Appreciate the help. LJ-- Join official facebook page of this forum @ https://www.facebook.com/discussexcel FORUM RULES (1120+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. 6) Jobs posting is not allowed. 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. --- You received this message because you are subscribed to the Google Groups "MS EXCEL AND VBA MACROS" group. To post to this group, send email to excel-macros@googlegroups.com. To unsubscribe from this group, send email to excel-macros+unsubscr...@googlegroups.com. -- Join official facebook page of this forum @ https://www.facebook.com/discussexcel FORUM RULES (1120+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. 6) Jobs posting is not allowed. 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. --- You received this message because you are subscribed to the Google Groups "MS EXCEL AND VBA MACROS" group. To post to this group, send email to excel-macros@googlegroups.com. To unsubscribe from this group, send email to excel-macros+unsubscr...@googlegroups.com.