Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 11-13-2019, 05:53 AM
p45cal's Avatar
p45cal p45cal is offline Machine time cycle calculation Windows 10 Machine time cycle calculation Office 2019
Expert
 
Join Date: Apr 2014
Posts: 956
p45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond repute
Default

Quote:
Originally Posted by tmoss View Post
The date and time that the machine is in each state are manually imputed.
When I looked again at your Total Operational Hours value of 22 in cell K45 I realised that rather than being a random value it was the value that you expected from the data in the table. This led me to realise that your dates and times in columns C and G were not the duration that the machine was in that state but the date and time of when the machine started to be in that state, with the duration needing to be calculated using the start of the next state.
I also realised that times up to 7am were being included as part of the previous day (that is, your day starts at 7am). [I hope you always have an entry for 7am each day? If not, a tweak will be required.]
The attached contains some formulae to the right of your table starting at cell BN6 which is the table that is summarised by the pivot table at cell BN47. This table corresponds to your required results.
The dates and times need to be in order on your table.
Attached Files
File Type: xlsx msofficeforums43814Machine cycle notes v2.xlsx (25.5 KB, 8 views)
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Run-time error '462': The remote server machine does not exist or is unavailable scienceguy Excel Programming 3 04-15-2019 05:26 PM
Multiple Timesheets - id'ing two people working on the same machine at the same time. Will Excel 1 09-28-2016 09:12 AM
Macro needed for time calculation and auto insert ballst Excel Programming 8 05-21-2015 03:54 PM
Moving OneNote files from Win 7 machine to a new Win 8.1 Pro machine - how to do it successfully? WesternGuy OneNote 7 01-03-2015 02:48 PM
unable to open .RTF files in server machine from client machine Naresh_1210 Word 0 03-12-2010 03:26 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:05 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