LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #9   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 15,768
Default Help with Absence sheet formula.

Here's a small sample file that demonstrates this:

xBojan.xls 14kb

http://cjoint.com/?jshE0GTLCg

--
Biff
Microsoft Excel MVP


"Bojan" wrote in message
...
I tried your formula but I'm lost, Sorry for the trouble, I'll just use the
old formula.

cheers

"T. Valko" wrote:

I can't make out the layout you posted. They usually get "shredded" by
the
line/word wraps.

If your column headers are *text* entries Mon, Tue, Wed, etc:

=SUMPRODUCT(--(A1:AD1="mon"),--(ISNUMBER(MATCH(A2:AD2,{"a/l","dom","sick","bev"},0))))


--
Biff
Microsoft Excel MVP


"Bojan" wrote in message
...
If this helps what I mean the headers are not actual, just for example.
This
is how the first row of the list looks.


A B C D E F G H
AM AN ...
1 Mon Tue Wed Thu Fri Sat Sun Mon Tue ....(31 days). Mon
Tue
Wed
Thu Fri Sat Sun
2 sick late sick dom
2 0 0 0 0 0 1
3 sick sick late sick
1 2 0 0 0 0 0

At AM2 I put this formula that counts only Monday inputs:
=SUM(COUNTIF(A2,"a/l"),COUNTIF(A2,"dom"),COUNTIF(A2,"sick"),COUNTIF(A 2,"bev"),COUNTIF(G2,"sick"),COUNTIF(G2,"bev"),COUN TIF(G2,"dom"),COUNTIF(G2,"a/l"),COUNTIF(P2,"sick"),COUNTIF(P2,"bev"),COUNTIF(P 2,"dom"),COUNTIF(P2,"a/l"),COUNTIF(W2,"bev"),COUNTIF(W2,"dom"),COUNTIF(W2 ,"sick"),COUNTIF(W2,"a/l"),COUNTIF(AD2,"a/l"),COUNTIF(AD2,"dom"),COUNTIF(AD2,"sick"),COUNTIF (AD2,"bev"))

I don't count "Late" and "early" is there a simple formula to be put in
AM2?

I don't know how else to explain this matter. Sorry to trouble you.

Regards




"Bojan" wrote:

Hi, I manage a monthly absence sheet, we have 4 types of absences
"sick;
a/l;
bev; dom" and "late or Early finish"
All of these types of absence are entered in one row for a certain
person
on
a certain date. (calendar type of row,31 cells ). At the end of that
row
I
need to calculate and divide them monthly for each day of the week how
many
absences were there(Mon2; Tue-o; Wed-3 etc...) but excluding the
"Late"
or
"early" inputs.
I do have a formula and I thought if there is an simple one that I can
use?
Here is a copy of the formula I use for each day in the week, this is
for
Monday only:
=SUM(COUNTIF(H81,"a/l"),COUNTIF(H81,"dom"),COUNTIF(H81,"sick"),COUNTIF (H81,"bev"),COUNTIF(O81,"sick"),COUNTIF(O81,"bev") ,COUNTIF(O81,"dom"),COUNTIF(O81,"a/l"),COUNTIF(V81,"sick"),COUNTIF(V81,"bev"),COUNTIF (V81,"dom"),COUNTIF(V81,"a/l"),COUNTIF(AC81,"bev"),COUNTIF(AC81,"dom"),COUNTI F(AC81,"sick"),COUNTIF(AC81,"a/l"),COUNTIF(AJ81,"a/l"),COUNTIF(AJ81,"dom"),COUNTIF(AJ81,"sick"),COUNT IF(AJ81,"bev"))

thank you






 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Replace numbers to 1s and 0s for presence/absence Charles Excel Discussion (Misc queries) 4 April 21st 23 09:03 AM
Employee Absence Schedule for 2007? Horrgakx Excel Discussion (Misc queries) 3 November 1st 06 12:32 PM
Employee Absence Schedule Template Jayant Excel Discussion (Misc queries) 9 August 23rd 06 02:36 AM
HOW DO I CHANGE ABSENCE TEMPLATE 2005, TO 2006 adam Excel Worksheet Functions 1 September 3rd 05 06:58 PM
how do I do a day to day holiday and absence chart Dotty Setting up and Configuration of Excel 5 January 19th 05 09:49 PM


All times are GMT +1. The time now is 05:44 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"