Page 1
Page 1
Started By
Message

Excel formula help

Posted on 1/20/14 at 8:56 pm
Posted by NatalbanyTigerFan
On the water somewhere
Member since Oct 2007
7615 posts
Posted on 1/20/14 at 8:56 pm
I'm trying to set up a page that I can enter employees time in/out on and it calculates the number of hours worked minus the 30 minutes taken out for lunch. I haven't used Excel to figure time before and I need help.

I enter their time in in cell A2 and the time out in B2. I set up cell C3 as the Total number of hours worked and so far I have (B2-A2) but cant get the formula to subtract the 30 mins.
Posted by CorkSoaker
Member since Oct 2008
9784 posts
Posted on 1/20/14 at 8:59 pm to
30 minutes for lunch, huh? Don't be such a pushover
Posted by dlmast87
Amish Country
Member since Dec 2007
1941 posts
Posted on 1/20/14 at 9:00 pm to
=B2-A2-.5
Posted by Rebel
Graceland
Member since Jan 2005
131420 posts
Posted on 1/20/14 at 9:01 pm to
=b2-c2-.5

=B2 - A2 - .5.
This post was edited on 1/20/14 at 9:03 pm
Posted by Rouge
Floston Paradise
Member since Oct 2004
136823 posts
Posted on 1/20/14 at 9:01 pm to
D2= C2-0.5
Posted by Hopeful Doc
Member since Sep 2010
14965 posts
Posted on 1/20/14 at 9:02 pm to
quote:

I set up cell C3 as the Total number of hours worked and so far I have (B2-A2) but cant get the formula to subtract the 30 mins.


Set up all cells for time, subtract 0.5 hours. Or :30.

If you cannot make that work, make column 'd' 'c2-:30 (or 0.5)' and then just hide column 'c'
This post was edited on 1/20/14 at 9:03 pm
Posted by ULSU
Tasmania
Member since Jan 2014
3931 posts
Posted on 1/20/14 at 9:02 pm to
=sum (b2-a2)-.5
Posted by GRTiger
On a roof eating alligator pie
Member since Dec 2008
63066 posts
Posted on 1/20/14 at 9:02 pm to
If time is in hours, (b2-a2)-.5

Make .5 30 if in minutes.
Posted by NatalbanyTigerFan
On the water somewhere
Member since Oct 2007
7615 posts
Posted on 1/20/14 at 9:03 pm to
Thanks to all I knew it had to be something simple.
Posted by MaroonWhite
48 61 69 6c 20 53 74 61 74 65 21
Member since Oct 2012
3693 posts
Posted on 1/20/14 at 9:08 pm to
(B2-A2) - TIMEVALUE("00:30:00")
Posted by Evolved Simian
Bushwood Country Club
Member since Sep 2010
20551 posts
Posted on 1/20/14 at 9:10 pm to
quote:

I'm trying to set up a page that I can enter employees time in/out on and it calculates the number of hours worked minus the 30 minutes taken out for lunch. I haven't used Excel to figure time before and I need help.

I enter their time in in cell A2 and the time out in B2. I set up cell C3 as the Total number of hours worked and so far I have (B2-A2) but cant get the formula to subtract the 30 mins.


I have no idea what line of work you are in, but the correct timekeeping method should record the specific 30 taken for lunch.

Wage and Hour does not look kindly on employers automatically deducting a lunch break.
Posted by Martini
Near Athens
Member since Mar 2005
48857 posts
Posted on 1/20/14 at 9:13 pm to
What is Wage and Hour?
Posted by The Calvin
Member since Jun 2013
5240 posts
Posted on 1/20/14 at 9:14 pm to
y=mx+b
Posted by NatalbanyTigerFan
On the water somewhere
Member since Oct 2007
7615 posts
Posted on 1/20/14 at 9:16 pm to
quote:

What is Wage and Hour?

Depends on the craft and experience.

I don't make the rules, the company does. Contract states that employees get a unpaid 30 min lunch break.
Posted by LT
The City of St. George
Member since May 2008
5151 posts
Posted on 1/20/14 at 9:49 pm to
quote:

What is Wage and Hour?



The gubment
Posted by rondo
Worst. Poster. Evar.
Member since Jan 2004
77411 posts
Posted on 1/20/14 at 10:12 pm to
I am disappoint you couldn't figure this out on your own.
Posted by GeauxWrek
Somewhere b/w Houston and BR
Member since Sep 2010
4293 posts
Posted on 1/20/14 at 10:14 pm to
So how Mexicans do you have cutting grass for you?
Posted by jaggedlp
Member since Oct 2011
126 posts
Posted on 1/20/14 at 10:32 pm to
It's just that you have to document exact time they punch out for lunch and then back in to work
They frown on you just auto deducting for 30 min
Probably will never be an issue but if you ever get audited. You will wish it was all in order
first pageprev pagePage 1 of 1Next pagelast page
refresh

Back to top
logoFollow TigerDroppings for LSU Football News
Follow us on Twitter, Facebook and Instagram to get the latest updates on LSU Football and Recruiting.

FacebookTwitterInstagram