Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 05-16-2013, 11:44 AM
tatihulot tatihulot is offline Can Excel Deduct 30 Minutes from an 8 1/2 Hour Cell? Windows 7 Can Excel Deduct 30 Minutes from an 8 1/2 Hour Cell? Office 2010 (Version 14.0)
Advanced Beginner
Can Excel Deduct 30 Minutes from an 8 1/2 Hour Cell?
 
Join Date: Apr 2010
Posts: 34
tatihulot is on a distinguished road
Default 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.
Reply With Quote
  #2  
Old 05-16-2013, 03:40 PM
macropod's Avatar
macropod macropod is offline Can Excel Deduct 30 Minutes from an 8 1/2 Hour Cell? Windows 7 32bit Can Excel Deduct 30 Minutes from an 8 1/2 Hour Cell? Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,224
macropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant future
Default

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]
Reply With Quote
  #3  
Old 05-16-2013, 03:45 PM
tatihulot tatihulot is offline Can Excel Deduct 30 Minutes from an 8 1/2 Hour Cell? Windows 7 Can Excel Deduct 30 Minutes from an 8 1/2 Hour Cell? Office 2010 (Version 14.0)
Advanced Beginner
Can Excel Deduct 30 Minutes from an 8 1/2 Hour Cell?
 
Join Date: Apr 2010
Posts: 34
tatihulot is on a distinguished road
Default

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
Reply With Quote
  #4  
Old 05-16-2013, 04:23 PM
macropod's Avatar
macropod macropod is offline Can Excel Deduct 30 Minutes from an 8 1/2 Hour Cell? Windows 7 32bit Can Excel Deduct 30 Minutes from an 8 1/2 Hour Cell? Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,224
macropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant future
Default

See attached.
Attached Files
File Type: xls Hours.xls (24.5 KB, 6 views)
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #5  
Old 05-16-2013, 04:30 PM
tatihulot tatihulot is offline Can Excel Deduct 30 Minutes from an 8 1/2 Hour Cell? Windows 7 Can Excel Deduct 30 Minutes from an 8 1/2 Hour Cell? Office 2010 (Version 14.0)
Advanced Beginner
Can Excel Deduct 30 Minutes from an 8 1/2 Hour Cell?
 
Join Date: Apr 2010
Posts: 34
tatihulot is on a distinguished road
Default

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.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can Excel Deduct 30 Minutes from an 8 1/2 Hour Cell? 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
Can Excel Deduct 30 Minutes from an 8 1/2 Hour Cell? 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
Can Excel Deduct 30 Minutes from an 8 1/2 Hour Cell? Documents Take 5 Minutes To Open Farrar Word 1 07-23-2007 02:54 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:26 PM.


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