Merry Christmas Everyone!!
I've posted this on another board - got lots of views but no responses
so I'm hoping Santa will be good to me and someone reading this thread
will have an answer.
We have 100 employees. We need to track PTO, Vacation in hours and
then also log other instances of time away from work (f= fmla,
t=travel, c=comp time, h=work at home). However these quot;other
instancesquot; do not need to be tracked in terms of hours used.
The only suggestion that came on the other board was to have 3 rows per
employee - not a good solution.
My solution so far has been to have 3 columns for each day but this is
causing me to run out of columns before I get to April.
I thought I could use SUMIF but apparently I'm wrong. Why can't I put
something like quot;8vquot; (indicating 8 hours of vacation used) and then have
my totals column look at the range and sum if it says 8v, the column
next to this would sum if it said 8p.
Any help would be appreciated.--
Donna123
------------------------------------------------------------------------
Donna123's Profile: www.excelforum.com/member.php...oamp;userid=26962
View this thread: www.excelforum.com/showthread...hreadid=495940
I'm not an expert but it think you could.
Try this, in a blank column input some different numbers like 8v, 8p,
7v,4p and so on, next put this formula in any cell, just make sure you
alter the formula to suit your range:
=SUM(IF(RIGHT(B1:B10,1)=quot;vquot;,--LEFT(B1:B10,LEN(B1:B10)-1)))
this formula will look at a range of cells, if the cells ends with quot;vquot;
it will add them to the total, you will see that the formula only adds
those cell that ends with quot;vquot;.
this is an array formula so you will have to enter it with
CTRL SHIFT ENTER, just hitting the enter key will not work.
Hope this Helps!
JG--
pinmaster
------------------------------------------------------------------------
pinmaster's Profile: www.excelforum.com/member.php...foamp;userid=6261
View this thread: www.excelforum.com/showthread...hreadid=495940How about one column per employee? One row for vacation, one row for
holiday, etc. Whenever hours are expended, just update the appropriate cell.
--
Gary's Studentquot;Donna123quot; wrote:
gt;
gt; Merry Christmas Everyone!!
gt;
gt; I've posted this on another board - got lots of views but no responses
gt; so I'm hoping Santa will be good to me and someone reading this thread
gt; will have an answer.
gt;
gt; We have 100 employees. We need to track PTO, Vacation in hours and
gt; then also log other instances of time away from work (f= fmla,
gt; t=travel, c=comp time, h=work at home). However these quot;other
gt; instancesquot; do not need to be tracked in terms of hours used.
gt;
gt; The only suggestion that came on the other board was to have 3 rows per
gt; employee - not a good solution.
gt;
gt; My solution so far has been to have 3 columns for each day but this is
gt; causing me to run out of columns before I get to April.
gt;
gt; I thought I could use SUMIF but apparently I'm wrong. Why can't I put
gt; something like quot;8vquot; (indicating 8 hours of vacation used) and then have
gt; my totals column look at the range and sum if it says 8v, the column
gt; next to this would sum if it said 8p.
gt;
gt; Any help would be appreciated.
gt;
gt;
gt; --
gt; Donna123
gt; ------------------------------------------------------------------------
gt; Donna123's Profile: www.excelforum.com/member.php...oamp;userid=26962
gt; View this thread: www.excelforum.com/showthread...hreadid=495940
gt;
gt;
PinMaster,
Your formula seems to be getting me closer to something - at least its
showing a zero in the field.
If nothing else, this tells me excel CAN do this, I just need some fine
tuning to the formula is all. Any ideas as to why it would come up as
zero? I put the formula in exactly as you showed:
=SUM(IF(RIGHT(B1:B10,1)=quot;vquot;,--LEFT(B1:B10,LEN(B1:B10)-1)))--
Donna123
------------------------------------------------------------------------
Donna123's Profile: www.excelforum.com/member.php...oamp;userid=26962
View this thread: www.excelforum.com/showthread...hreadid=495940
Don't know why the quot;0quot; is displayed, however, if you
Format/Cells/Number/Custom and enter a quot;#quot; in the Type input box for
the cells that are affected you will eliminate the quot;0quot;'s.--
Lost4Now
------------------------------------------------------------------------
Lost4Now's Profile: www.excelforum.com/member.php...oamp;userid=29345
View this thread: www.excelforum.com/showthread...hreadid=495940
It may be that your data was not in the range B1:B10 or you did not
enter the formula as an array formula, array formulas need to be
entered using SHIFT CTRL ENTER.
One way to find out if it was entered as an array is to select the cell
with the formula and look in the formula bar, if the formula is
surrounded with brackets {} then its an array formula.
This is how the formula should look like in the formula bar:
{=SUM(IF(RIGHT(B1:B10,1)=quot;vquot;,--LEFT(B1:B10,LEN(B1:B10)-1)))}
Check it out and let me know how it goes
Regards
JG--
pinmaster
------------------------------------------------------------------------
pinmaster's Profile: www.excelforum.com/member.php...foamp;userid=6261
View this thread: www.excelforum.com/showthread...hreadid=495940
Pinmaster,
I tried it several times and my formula appears just as you have it
listed. Now I'm annoyed because I know this CAN work - I just don't
know how to MAKE it work! Any other thoughts as to why its not
working???--
Donna123
------------------------------------------------------------------------
Donna123's Profile: www.excelforum.com/member.php...oamp;userid=26962
View this thread: www.excelforum.com/showthread...hreadid=495940
Thank You Pinmaster!!
Originally I had tried the formula several times and it would not
work!! After my last post I decided to try it one last time and IT
WORKED!!!
I'm sooooooo happpppy!!! Thank you Thank you Thank you!!!!--
Donna123
------------------------------------------------------------------------
Donna123's Profile: www.excelforum.com/member.php...oamp;userid=26962
View this thread: www.excelforum.com/showthread...hreadid=495940
Your quite welcome, glad I could help and thanks for the feedback!
Good luck with your project!
Regards
JG--
pinmaster
------------------------------------------------------------------------
pinmaster's Profile: www.excelforum.com/member.php...foamp;userid=6261
View this thread: www.excelforum.com/showthread...hreadid=495940
- Sep 23 Tue 2008 20:46
Excel as Attendance Tracker
close
全站熱搜
留言列表
發表留言
留言列表

