Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 11-28-2023, 01:10 AM
ArviLaanemets ArviLaanemets is offline Adding Time over Two Days Plus Additional Info Windows 8 Adding Time over Two Days Plus Additional Info Office 2016
Expert
 
Join Date: May 2017
Posts: 949
ArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant future
Default

As about calculating totals, it is easy - use SUMIFS()! You add the time in row either when code cell is empty, or the code cell equals your single valid value for it, or OR(CodeCell=ValidValue1, CodeCell=ValidValue2, ...) = True, or OR(CodeCell<>"VASC", CodeCell<>"OFF",...) = True (using last 2 depending which has less values to compare).

About times. As it follows from your post, your time intervals can be over midnight. It is possible to calculate the length of time intervals for such cases using time value, but it means you always have to make an additional comparision to check, has the start time bigger value as end time (and this works only, when there never will be time intervals over 24 hours). Much easier (and much safer) way will be to enter start and end time values as datetime ones (like 28.11.2023 10:00). In case this is really a NO for you, the another option is to have calculated columns for StartDateTime and EndDataTime, and use them in your calculations.

About time formats you use - unless you enter times as strings, it doesn't count. The format used to display date or time don't change the value, it only changes how you will see it!
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Power query - adding additional column agreeff Excel 1 02-13-2023 01:13 AM
Adding Time over Two Days Plus Additional Info Timesheets to Invoices - Time being imported as days dave6084 Mail Merge 1 11-02-2019 11:01 PM
Adding Time over Two Days Plus Additional Info adding days to a date euterpia Excel 1 01-18-2016 07:42 AM
Calculating Average Time across days lizakay Excel 3 11-25-2015 05:16 PM
Adding additional job/education/reference category boxes in resume template? Audible Nectar Word 1 11-16-2012 01:16 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:16 PM.


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