How to work in hours?

Any help with this would be appreciated, as I've spent a bit of time on my timesheet project already.
I can't figure out how to get Numbers to work in hours - like the employee timesheet template that's included. I've put pop up menus in the cells, e.g. from 6.00 AM to 9.00 AM in 10 minute increments.
So, B4 (time in from pop up), C4 (time out from pop up), D4 (ditto B4), E4 (ditto C4), and I'm hoping to get a total hours to fill cell H4.
I've tried duration but obviously I'm not doing something right!
I tried looking at the template formula but it's complicated and automatically deducts an hour for lunch etc.
Thanks, I hope you can help.

Hi J-C,
Having read your second post, I'm going back to square 1 on this.
I've put pop up menus in the cells, e.g. from 6.00 AM to 9.00 AM in 10 minute increments.
So, B4 (time in from pop up), C4 (time out from pop up), D4 (ditto B4), E4 (ditto C4), and I'm hoping to get a total hours to fill cell H4.
I've tried duration but obviously I'm not doing something right!
I tried looking at the template formula but it's complicated and automatically deducts an hour for lunch etc.
Here's the template formula, from C9:
=IF(OR(C7="",C8=""),"",IFERROR(C8-C7-Administration Information :: $B$1,""))
This revision gets rid of the part deducting an hour for lunch:
=IF(OR(C7="",C8=""),"",IFERROR(C8-C7,""))
The basic formula is an IF(condition,do-if-true,do-if-false) statement.
The condition, OR(C7="",C8=""), is TRUE if either C7 OR C8 contains the empty string ( "" ), which is the default (blank) value for all the in and out time pop-ups on the table. Unfortunately, the only way for a normal User to make a popup containing that default value is to copy one that Apple has provided, paste it into place, then edit the non-'blank' choices to fit the current requirements while making NO changes to the 'blank' value.
The closest we can come using a popup that we construct from scratch is to use a single space character in the 'blank' first item in the popup list, and revise the formula to fit:
=IF(OR(C7=" ",C8=" "),"",IFERROR(C8-C7,""))
(Note the space between each pair of quotes in the OR part of the formula.
The do-if-true part places the empty string into C9 if either C8 or C7 are 'blank'.
If both C7 and C8 contain values, the OR part is FALSE, and the do-if-false part is called:
IFERROR(C8-C7,"")
This part subtracts what's in C7 (a Date and Time value consisting of the time of day shown in C7 and the date on which that list entry was added to the popup list in the cell) from what's in C8 (same description as C7), returning the result as a Duration.
Cell C25 contains:
=SUM(C6,C9,C12,C15,C18,C21,C24)
which adds the Duration values in C6,C9,C12,C15,C18,C21,and C24
And returns the result as a duration formatted to show hours and minutes.
Text values (such as the empty string) in the cells are ignored, but the formula will choke on a numerical value in any of the cells in the list, and will return an error message, most likely "Values being summed by SUM must be either all durations or all numbers, unless one value is a date."
Using the above, and assuming that the user Always enters the first time IN in B4 and the first time OUT in C4, then uses D4 and E4 for the second IN and OUT if necessary, your formula in H4 could be:
=IF(OR(B4=" ",C4=" "),"",IFERROR((C4-B4)+(E4-D4)),""))
With the result formatted as Duration, with units Hours and Minutes specified using the slider in the Cell Format Inspector.
Regards,
Barry

Similar Messages

  • How can I display assignment-level Work in hours and days in the same view?

    I have a view based on Task Usage and I shows the Work figure for each resource assigned to a task.  My Options settings are to display Work in hours.  Want I'd like to do is have a custom field to calculate the equivalent number of days for each
    assignment-level work value.  Our hours per day are 7.4 so the calculated field should be [Work]/7.4.  eg.
    Task Name >  Work         >  Work-days (Calc'd Field)
    Task 1
        Fred        >  7.4 hrs     >  1 days
     I tried creating a Resource custom field to do this but what displays is the value of the Task-level Work and this same value is repeated on every assignment row.  MSP is not using the Work value of the assignment. 
    Is there a way to acheive this view?
    Thanks
    John

    You're welcome John.
    You could have a calculated task custom field which could divid the work in hours by 7.4 hours, but even like this you couldn't add it to a usage view and it would be only at task level, not assignment. Maybe a VBA macro could switch automatically the option
    but I'm not sure.
    If a reply above helped you, please mark it as an answer so other users with a similar concern can refer to it.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • How much work is it to add a callout item to open document in a specified program

    Hi, I am hoping someone can point me in the right direction.
    I want to know how much work it is to get a Sharepoint developer to add a link to the callout above, e.g. at the top level near OPEN SHARE, or in the sub menu would also be fine. The link would open the selected document in our application which can open
    TIFF / PDF and other image files. The link could say "Edit this document in MyApp", or "View this document in MyApp" as examples. We would need to provide this in a modular way, so that customers could optionally deploy it to their own
    sharepoint site. A possibility, if the customization is not a big job would be to write a document with details on how to customize the Sharepoint site to achieve this. I'm not sure if Sharepoint has a more intuitive way of sharing this type of customization,
    e.g. as an App package.
    Any idea how much work is involved approximately in developer hours?
    And is there any terminology I could have described better above?
    My apologies, I don't have any experience with Sharepoint but we have a requirement to integrate our software with it.
    This link https://msdn.microsoft.com/en-us/library/dn135236.aspx has some good info, which I think is in the right direction. But for myself with no Sharepoint experience is a bit above my head.
    Any advice is appreciated. Depending how much work it is I may post this up as a freelance job. (basically need to get approval for a budget, and ensure the scope is defined etc.)

    Hi,
    If you want to add the custom action in sub menu, we can use SharePoint designer to achieve it.
    Open SharePoint designer -> Find Lists and Libraries -> Documents
    More information:
    http://sharepoint-community.net/profiles/blogs/sharepoint-designer-custom-actions
    If you want to achieve the requirement of "The link would open the selected document in our application which can open TIFF / PDF and other image files". I suggest you use some jQuery plugin to achieve it.
    7 Best jQuery & JavaScript PDF Viewer plugin with examples
    http://www.jqueryrain.com/2012/09/best-jquery-pdf-viewer-plugin-examples/
    Best Regards,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How do I calculate hours?

    Hi,
    I allow the user to enter a start time of "0200AM" and an end time of "0330AM". How do I calculate the hours? I tried calendar hours, but I wasn't quite sure how it worked.
    Thanks

    you use the Calendar.set() method to set the specific hour/minutue/am/pm, see the docs for details. then you can do a getTime() which returns a Date object for further manipulation.
    thomas

  • How to organize 100 hours of rushes ?

    How to organize 100 hours of rushes ?

    AppleMan1958 wrote:
    …  in a single event, and then navigate through keywords?
    I don't know the answer. I am just trying to understand.
    I just tried to suggest that there is much, much, much more to organize than just doing 'folders'.
    A year of my soccer recordings is about ~2TB either (but in diff. Events, I have to confess), no prob for FCPX - and for my no-budget hardware!
    .... I got 'sensitized' when PC-friends proudly showed me there music-Libraries .... all handcrafted, matryoshka-esk folders-in-folders-in ... demoing how simple iTunes creates specific playlists by using tags&keywords made them speechless ..
    smart tagging alllows to find a specific sentence, a specific 'face', a specific stunt with a single click. And you're not limited in FCPX by a few tech. data (timestamp for example), but it starts with simple 'favorite-ising' and 'find people' (which, partly, works incredible precise!), and ends with your dozen, very own criteria, you can combine and mix as you like. And need.-
    ... and due to its data-base character of FCPX, size of media shouldn't matter ... imho.

  • How will get stoppage hours for PM02 orders

    Hello Guru,
    I want to find out stoppage hours for PM02 orders according to PM Act Type (eg. PM, predictive maint., TPM, etc). Background is that, our PM02 process schedules maint order as per maint plan & it wont triggers Notification in background so users are unable to enter work details ie. work start date/time & End date/time.
    In this situation, how will get stoppage hours for PM02 orders?
    << Moderator message - Everyone's problem is important. But the answers in the forum are provided by volunteers. Please do not ask for help quickly. >>
    Regards,
    Amol
    Edited by: Rob Burbank on Jan 17, 2011 4:25 PM

    Hi PMAmol,
    As Babu suggest,  You can use Act Start and Act End date and time  from Order Header for your requirement , Now how to use those ?
    Once you do Order Confirmation via IW41 , for first operation mention date and time in  Work Starts on date and time when you start your work,
    Then this date and time will reflect in Act Start in Order Header, after that when you finish your work , then in IW41 along with final Confirmtn tick mention the date and time in Work Start on and Ends on field , when CNF status set on order you can check in order header , this date and time will reflect in Actual End date and time.
    For report you can use Iw39.
    Riyaj

  • Request: Change how rentals work on iPad

    I suggest that Apple changes how video rentals work on iPad.
    First of all, I don't get why I can't start watching it before it's fully downloaded (as you can on Apple TV). It makes watching rentals on the iPad something you need to prepare hours in advance.
    Secondly the video-watching experience and behavior is different on an iPad than on Apple TV. Sometimes 24h is simply not enough to finalize watching a movie. You're using your iPad in a much more fragmented and spontaneous way than your Apple TV, which is a much more dedicated couch experience.
    Worst part though is that if a movie expires before you caught the last 20 minutes and you bite the bullet and re-rent it, you have to download it again and wait for 1-2 hours, although it's already on your iPad. (And you have to pay full price again of course).
    I understand that this behavior is probably not only dictated by technical limitations as much as licensing rights, but it is one of these things that makes experience much less great.

    Since Apple doesn't monitor these forums, making suggestions here might get us all to say "YES", it won't do anything for making changes to how rentals work.
    Please go to:
    http://www.apple.com/feedback/ipad.html
    By the way, Apple TV was developed to be a TV viewing device first (along with other multi-media), and not as a computer. It is also always on a ethernet or WiFi connection.
    In addition, the 24 hour period is NOT set by Apple, but by the licensor, whether it's NBC, CBS, Sony or whomever owns the intellectual property. They set the time period. If you have an issue with downloading, Apple almost always helps you out. If you just choose not to finish the movie in 24 hours, that's kind of your issue not Apple's. By the way, PS3 rentals through the Sony store work in the exact same manner.
    I understand what you're saying, but I just think you're swimming upstream against licensing rights.

  • How to work with BarTender software from LV ?

    Hi,
    I'd like to activate Seagull's BarTender Label printing software (version 7.71) from Labview.
    Basically I need to create a new label, add text and pictures/icons to it and then send it to the printer.
    I noticed an Active-X option exist but I'm not sure how to work with it. I started building something like the attached file but I don't know how to continue.
    Does anyone have some examples ?
    (Otherwise, is it possible to use command lines ?)
    Thanks in advance,
    Mentos.
    Attachments:
    Bartender_Example.vi ‏12 KB

    What type of printer are you trying to communicate with? Depending on the printer it may be possible to communicate directly with the printer itself. You would need to define the label or labels you would like to print and insert the data on the fly in your application and then send it to the printer.
    I am not familiar with the BarTender application itself so I can't give you advice on interfacing with it. However if it does have an ActiveX interface you should be able to communicate with it directly.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • How to work with both desktop and Surface pro 3

    Hello,
    I have a desktop for my normal use of Adobe Creative Cloud for Photoshop and Lightroom.  I have my lightroom catalog on a separate external drive.  I just got Surface pro 3 to do Adobe on it.  I am now confused on how to work on Surface and how to access my Lightroom catalog.
    Thanks for your help.
    Mo

    Just install Lightroom on your Surface Pro, plug-in the external drive, and double-click the LR catalog file.

  • How to work with 360 video?

    I am new to AE and am trying to work with a 360 equirectangular video I shot with a Freedom 360 and 6 go pros.
    Are there any tutorials on how to work with 360 spherical videos? Do I need to download additional plugins?
    Thank you,
    Phil

    Phil,
    Of course, the image needs to be big for this, but the plugin you would use is CC Sphere.
    Drop your movie into a composition and apply CC Sphere to the video.
    Then set the Render option in the effect to "Inside".
    Under Shading set Ambient to 100% and Diffuse to 0%.
    Then scale inside the effect until the image fills the screen.
    Then you'll be able to use the Rotate Y controls in CC Sphere to spin around inside your video!
    You can also add Optics Compensation and Reverse the Lens Distortion to straighten out your image.
    Let me know if you have any questions!
    Trent

  • Hey Guys, from Germany. I want to connect my iMac 21" with my Tv just for fun. Does anyone know, how it works. With a Hdmi adapter?

    Hey guys! I want to connect my Imac 21 " with my Tv just for fun. Does anyone know , how it works?

    Selecting the correct adapter and cable depends on which year model iMac you have and what inputs the TV has?
    Check the User's Guide that came with your iMac or your Spec's at > Apple - Support - Technical Specifications
    to see if your iMac has a Mini-DVI or Mini DisplayPort and then select that adapter with the correct connection for the TV.
    Example: if you have a 2010 or 2011 iMac and an HDMI ready TV, then you would want the > Moshi Mini DP to HDMI Adapter with Audio Support - Apple Store (U.S.)

  • Does anyone know if it is possible to change the display in week view to show 24 hours per day for those of us that work irregular hours

    Does anyone know if it is possible to change the display in week view to show all 24 hours per day for those of us that work irregular hours.
    Also is it possible to have all of the 'all day' entries showing, not just 3.5 of them.
    The app Week Cal HD was the perfect calendar until Apple removed it so could they please offer the same facilities that it offered.

    Does anyone know if it is possible to change the display in week view to show all 24 hours per day for those of us that work irregular hours.
    Also is it possible to have all of the 'all day' entries showing, not just 3.5 of them.
    The app Week Cal HD was the perfect calendar until Apple removed it so could they please offer the same facilities that it offered.

  • I was looking at the "Find my iPhone" app and I have a doubt regarding how it works for the macbook. In order to detect the location, the macbook should remain signed into iCloud. What if the thief logs out of iCloud. Would we able to locate the macbook?

    I was looking at the "Find my iPhone" app and I have a doubt regarding how it works for the macbook. In order to detect the location, the macbook should remain signed into iCloud. What if the person who has stolen my macbook logs out of iCloud.
    It should work fine for iPhone/iPad because we can enable "Restrictions" to prevent the user from signing out of iCloud. Do we have simialr settings for the macbook?
    Thanks,

    If it's not on the device list, it indicates that someone has gone to Find My iPhone on icloud.com and manually deleted it from the device list (as explained here: http://help.apple.com/icloud/#mmfc0eeddd), and it has not gone back online since (which would cause it to reappear on the device list; Find My iPhone has been turned of in settings on the device; the iClolud account has been deleted from the device; or the entire devices has been erased and restored.
    Unfortunately, there's no other way to track the phone other than through Find My iPhone.  You could call your carrier and see if they would blackliste it so at least the theif couldn't use it.

  • I need to change my apple ID because I'm changing my email address. I'm worried that when I do, I'll no longer be able to use my first generation apple tv unless I change the apple ID there as well.  Does anyone know how this works??

    I have to change my apple ID because I'm changing my email address. (I have a Comcast address and am switching to U-verse) I'm worried that when I do, I'll no longer be able to use my first generation apple tv unless I change the apple ID there as well. I'm also trying to find out if changing my apple ID is going to interfere with getting my itunes content on my computer and my iphone.  Does anyone know how this works??

    My iTunes appleID is an old defunct e-mail address - it does not have to be functional.
    Do what Winston says to ensure you keep getting correspondence related to that ID.
    AC

  • HT3209 how many times i can watch the show after i purchased on i tune and how this works

    I was just wondering if sombody can help me with this because i am new to itune  . I would like to know how it works after u purchase tv show , do i have to pay once and watch more time or i have to pay every time i watch . Thank you in advance .

    I was just wondering if sombody can help me with this because i am new to itune  . I would like to know how it works after u purchase tv show , do i have to pay once and watch more time or i have to pay every time i watch . Thank you in advance .

Maybe you are looking for

  • Easy guide to troubleshooting the Desktop Manager

    "Your messaging server does not support wireless synchronization." -Make sure the user is on the BES. Typically they will get this error message when they are not on the BES. The desktop manager is showing "disconnected." -Make sure that the user has

  • Is it true that current version of Mozilla Firefox including its updates can currently cause Windows 7 and/or Windows XP to crash?

    I was advised in the first week of September 2013 by our IT contractor, that the current version of Mozilla FireFox (and its updates) is causing computers with Windows 7 to crash? (NB: specifically, we have Windows 7 Home Premium Service Pack 1, 64bi

  • How do i chat while video is on

    I'm new to skype and dont know how to chat while the video is on. Is there a button somewhere i need to push? I have a windows 8.1 computer. I see peoples messages in some kind of popup cloud but dont know how to respond with writing. can someone ple

  • Database connectivity help needed

    Hello all, I am trying to connect the oracle database and facing the following error. Enter user-name: sys as sysdba Enter password: Connected to an idle instance. SQL> startup ORA-16032: parameter LOG_ARCHIVE_DEST_1 destination string cannot be tran

  • Nokia mix radio /store not visible Lumia 720 India

    I have recently bought Lumia 720 and when I am trying to find mix radio or nokia music store under nokia music; it's just not showing up. Is the service not available in India and if so; when will it be available or there is some problem with my devi