LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Report Post  
Ajit Munj
 
Posts: n/a
Default

Dear Jason,
I tried your formula but some problem is there. I have made two sheets namely
Muster & Bill. In Muster, instead of P & A, I have entered the name of
newspaper. Hence I made some change in formula like
:=SUMPRODUCT((Muster!3:3<"")*(Muster!1:1="Sun")), it does not get tallied
with the total number of days in that month. e.g. In month January, 2005
there are 4 instances of Sun-Wed & 5 instances of Sat and Fri i.e. total 31
days.(I have not kept any cell blank as I have put a newspaper from 1 to 31).
After entering formula, it shows total 29 days, i.e. 5 instances of Sat. & 4
instances of Sun-Fri. Where am I going wrong?. Secondly, by refering 4:4 and
2:2, if accidently somebody enter a day and date, suppose in a far away cell
IN2 and IN4, the formula will show additional day. Pl. guide.
ajit

"Jason Morin" wrote:

This should get you started. To count the total # of P's
for John for January (assuming your data below is just
for January), try:

=SUMPRODUCT((3:3="P")*(1:1="Sun"))

where John is listed on row 3 and the Days are listed in
row 1.

HTH
Jason
Atlanta, GA

-----Original Message-----
I use Excel 2000
I have sheet muster for my clients of January, 2005

like :
( P = Present, A=Absent )
A.....B.....C.....D.....
Days Sun Mon Tue Wed
Date 1 2 3 4

1 John P A A P
2 Lucy A P P A
3
Now I want to calculate the total Sundays, Mondays,

Tuesdays etc. present in
that month. How can I do this?
--
Knowldege is Power
.


 
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
SUMPRODUCT Formula to Count Row of data Below Matched Criteria Sam via OfficeKB.com Excel Worksheet Functions 8 February 3rd 05 01:37 AM
Count number of days in given month? Bryan Excel Worksheet Functions 10 February 2nd 05 11:44 PM
Counting days worked anonymous person Excel Worksheet Functions 3 January 22nd 05 07:29 PM
Count Days excluding Sundays KENNY Excel Worksheet Functions 3 November 11th 04 05:26 PM
how do I make a function to count days? khamsta Excel Worksheet Functions 2 November 1st 04 10:53 PM


All times are GMT +1. The time now is 10:08 PM.

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"