Thread: Countif
View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Andrewllan Andrewllan is offline
external usenet poster
 
Posts: 2
Default Countif

The sort of thing I was looking for was

Lookup( Tab2(a1) (If (Tab2(a1)= Tab1(a1) and Any of Tab1(a2:a365="S") count
number of "S"'S)
I do not know how else to describe this
Thanks Andrew



"Roger Govier" wrote:

Hi Andrew

If your list on Sheet2 is in the same order as the data on Sheet 1, then
on Sheet2 cell B2 enter
=COUNTIF('Sheet1'!B2:IV2,"S")
Copy down column B for the extent of entries in column A

--
Regards

Roger Govier


"Andrewllan" wrote in message
...
I have a spreadsheet where I want to count the number of sick days for
individuals.
So I have the name of the person in a column and the date for the year
in a
row
Name/Date 1/1 ......10/02.......20/08......30/08....12/09
An Other S s
P Peter S
I want to count the number of "S" for each person
so on seperate tab I want
Name Number of Sick Days
AN Other 2
P Peter 1
Any Suggestions
thanks Andrew