#1
|
|||
|
|||
Can Excel Deduct 30 Minutes from an 8 1/2 Hour Cell?
Hello, I am using Excel 2010.
I don't use spreadsheets much, and when I do design them, they are fairly basic, rarely complicated. There is something I want to do with one, though, and am requesting assistance, please. I'm creating a payroll history spreadsheet for myself, to keep track of my hours, overtime, gross wages, etc. Nothing fancy. I'd like to know if I can enter my hours into a cell, and have Excel automatically deduct my lunch time if I'm over 8 hours. For example, if I type 6-2:30 in a cell, can Excel automatically see it is more than eight hours ? And then automatically add 8 hours to the Total Hours cell, instead of 8 1/2? Here are two screen shots of what I want to do. Is this possible? Can I get Excel to automatically determine 6-2:30 is a set of hours, determine it's 8 1/2, and if over 8, deduct .5 hours? What's an easy way to do this, if possible? If you need more information from me, please request it. I'll do my best to provide further details. Please consider me an Excel novice. Thank you! Jack D. |
#2
|
||||
|
||||
You're making things difficult for yourself by trying to have the start & finish times in the same cells. Is there a good reason you can't have them on separate rows? Do that and use another row for the daily calculation, which becomes quite simple (eg: = MIN(A3-A2,8))
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
|||
|
|||
Hi Paul, thanks for replying.
Honestly, it never occurred to me to have an IN column and an OUT column, like a time card for a time clock. I should have thought of that to begin with. Not a big deal to have those columns. Now, I just have to figure out how to create the formula for it. Thank you. Jd |
#4
|
||||
|
||||
See attached.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#5
|
|||
|
|||
I'm going to have to study that formula. Mathematical equations is not my area of expertise at ALL. Thanks for posting it. It's a starting point.
I've never used the MIN and MAX functions. |
Thread Tools | |
Display Modes | |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
WORD...4 minutes to 'CONFIGURE' & load...??? (!@#$%^&*) | mark4man | Word | 4 | 05-25-2012 05:09 PM |
Forward Unread Messages after X Minutes? | BamaBrad | Outlook | 2 | 03-13-2011 07:57 AM |
Half hour added between tasks | maruchi | Project | 1 | 06-17-2010 08:06 AM |
MS OUTLOOK Bulk Mailing stalling after 2 minutes | ajetrumpet | Outlook | 0 | 07-25-2009 09:47 PM |
Documents Take 5 Minutes To Open | Farrar | Word | 1 | 07-23-2007 02:54 PM |