I have a spread sheet that I keep the employees schedule in. What I'm trying
to do is let excel keep a tally of total hours for me.
A13 Has Carol B13 has 5:30-14:30 lt;~~ which are her hours for that day.
then C13, D13, E13, F13 etc etc has her schedule input the same way. (24
hour clock) In addition to keeping a tally of total hours, can it also
subtract 30 minutes per day for a lunch break?
I've tried all I know and nothing works.
Thanks in advance!Do the subtraction and then multiply by 24.
quot;TiaBquot; gt; wrote in message
...
gt;I have a spread sheet that I keep the employees schedule in. What I'm
gt;trying
gt; to do is let excel keep a tally of total hours for me.
gt; A13 Has Carol B13 has 5:30-14:30 lt;~~ which are her hours for that day.
gt; then C13, D13, E13, F13 etc etc has her schedule input the same way. (24
gt; hour clock) In addition to keeping a tally of total hours, can it also
gt; subtract 30 minutes per day for a lunch break?
gt;
gt; I've tried all I know and nothing works.
gt;
gt; Thanks in advance!
gt;
You'll find it a lot easier if you put starting time in one cell (say
cell B2) and ending time in another (cell B3). Otherwise, you'll have
to write fancy formulas to pull out the values before you can do any
computations.--
rsenn
------------------------------------------------------------------------
rsenn's Profile: www.excelforum.com/member.php...oamp;userid=29050
View this thread: www.excelforum.com/showthread...hreadid=492930Thanks Barb!
I guess I don't understand... Cell B13 has the following in it:
5:30-14:30... I'm not sure how to write that formula??
quot;Barb Reinhardtquot; wrote:
gt; Do the subtraction and then multiply by 24.
gt;
gt; quot;TiaBquot; gt; wrote in message
gt; ...
gt; gt;I have a spread sheet that I keep the employees schedule in. What I'm
gt; gt;trying
gt; gt; to do is let excel keep a tally of total hours for me.
gt; gt; A13 Has Carol B13 has 5:30-14:30 lt;~~ which are her hours for that day.
gt; gt; then C13, D13, E13, F13 etc etc has her schedule input the same way. (24
gt; gt; hour clock) In addition to keeping a tally of total hours, can it also
gt; gt; subtract 30 minutes per day for a lunch break?
gt; gt;
gt; gt; I've tried all I know and nothing works.
gt; gt;
gt; gt; Thanks in advance!
gt; gt;
gt;
gt;
gt;
No offense but that is not a good design, always put numeric in single
cells, it can be done using formulas that will parse the values then do the
calculations but I'd suggest you change the layout and put 5:30 in one cell
14:30 in another
then use
=(B1-A1)*24-0.5
where A1 holds the 5:30 and B1 14:30, 0.5 is the 30 minutes in decimal time
otherwise you need something like
=(MID(A1,FIND(quot;-quot;,A1) 1,255)-LEFT(A1,FIND(quot;-quot;,A1)-1))*24-0.5
with 5:30-14:30 in A1
--
Regards,
Peo Sjoblom
(No private emails please)quot;TiaBquot; gt; wrote in message
...
gt; Thanks Barb!
gt;
gt; I guess I don't understand... Cell B13 has the following in it:
gt; 5:30-14:30... I'm not sure how to write that formula??
gt;
gt;
gt;
gt; quot;Barb Reinhardtquot; wrote:
gt;
gt;gt; Do the subtraction and then multiply by 24.
gt;gt;
gt;gt; quot;TiaBquot; gt; wrote in message
gt;gt; ...
gt;gt; gt;I have a spread sheet that I keep the employees schedule in. What I'm
gt;gt; gt;trying
gt;gt; gt; to do is let excel keep a tally of total hours for me.
gt;gt; gt; A13 Has Carol B13 has 5:30-14:30 lt;~~ which are her hours for that day.
gt;gt; gt; then C13, D13, E13, F13 etc etc has her schedule input the same way.
gt;gt; gt; (24
gt;gt; gt; hour clock) In addition to keeping a tally of total hours, can it also
gt;gt; gt; subtract 30 minutes per day for a lunch break?
gt;gt; gt;
gt;gt; gt; I've tried all I know and nothing works.
gt;gt; gt;
gt;gt; gt; Thanks in advance!
gt;gt; gt;
gt;gt;
gt;gt;
gt;gt;
- Dec 18 Thu 2008 20:48
Calculate time in a cell
close
全站熱搜
留言列表
發表留言
留言列表

