Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 09-29-2014, 02:20 PM
gebobs gebobs is offline Need a formula to calculate turnaround time in hours Windows 7 64bit Need a formula to calculate turnaround time in hours Office 2010 64bit
Expert
 
Join Date: Mar 2014
Location: Atlanta
Posts: 837
gebobs has a spectacular aura aboutgebobs has a spectacular aura about
Default

Here's a start. I'm not sure it will lead anywhere.

Anyhoo, what I did was to calculate adjusted Submit and Complete such that anything submitted on the weekend is adjusted forward to the beginning of the work week and anything completed is adjusted back to the end of the work week.

From there, it's a simple subtraction, Complete - Submit...



...except if it spans a weekend (e.g. Fri-Mon, Thu-Tue). For that, it tests if the Weekday(Complete)<Weekday(Submit)...if it is, then subtract 2 (I've taken care of that).

...except if it spans two weekends, well...no dice. May be able to account for this with something like INT((Complete-Submit)/7) which would give the number of whole weeks.

...except if it spans a weekend, but is more than a full week (e.g. Fri-Fri), it won't subtract the weekend time. Or maybe the solution to the previous bullet will cover this.

Still doesn't account for downtime. We can skin that cat later. In the meantime, please test this out. The solution is not as pretty as I would like and I have a feeling that it's leading us down a rabbit hole of exceptions to be accounted for.
Attached Files
File Type: xlsx TAT.xlsx (12.4 KB, 44 views)
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need a formula to calculate turnaround time Rockitman31 Excel 9 09-07-2015 09:41 AM
turnaround time minutes divided by volume tweeter Excel 9 11-18-2013 02:09 PM
Formula to calculate Date and Time funkyfido Excel 2 06-25-2013 04:25 PM
Need a formula to calculate turnaround time in hours Calculate difference by days and hours alysolyman Excel 6 05-13-2013 02:19 AM
Need a formula to calculate turnaround time in hours How to get cells to calculate time? jrasche2003@yahoo.com Excel 2 02-09-2007 07:10 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:04 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft