Time Clock

J

Jimcrushes

I'm trying to create an Excel time clock.

A1= Start Time (7:00)
B1= End Time (15:00)
C1= Hours for the day

What is the formula in c1 to get a result of 8
 
P

Paul B

Jim, =A2-A1 ??
--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003
 
K

kamille824

This is a formula I pulled off an old Time Sheet from where I use to work.
It has 6 columns of (B,C,D,E,F & G) Time In / Time Out / TIme In / Time Out
/ Time In / Time Out and had the day of the week in Col A
formula is:

=((C5-B5+0.5)*2-TRUNC((C5-B5+0.5)*2)+(E5-D5+0.5)*2-TRUNC((E5-D5+0.5)*2)+(G5-F5+0.5)*2)-TRUNC((G5-F5+0.5)*2))*12

Hope it works for you.
 
P

Phil #3

I got this one here in 1999 and have forgotten who actually gave it to me.

=(end time-start time+(end time<start time))-(end time-start time+(end
time<start time))

On my spread sheet the times are listed as: starting time, lunch start,
lunch end, end time from cells D2:G2. =(G2-D2+(G2<D2))-(F2-E2+(F2<E2))
Phil
 
J

Jimcrushes

Thanks for the help. I thought it would be that easy. After looking at the
link you gave me, it helped to know that time is based on a portion of a day
(which makes sense). What I did wrong was A1, B1 and C1 cells were all
formated as "time". When I changed the answeer (C1) to a number it worked as
expected.

Thanks again
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top