Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Countif
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 |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Countif
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 |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Countif
There is a beautiful template for this in Execel Templates from Microsoft
Templates Business and Legal Meetings and Projects Agendas and Minutes http://office.microsoft.com/en-us/te...CT061995981033 - This doesn't need much editing to disply what you are asking. Hope this helps "Andrewllan" wrote: 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 |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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 |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Countif
Hi Andrew
Then try =SUMPRODUCT((Sheet1!A2=Sheet2!A2)*(Sheet1!B2:IV2=" S")) Copy down as appropriate -- Regards Roger Govier "Andrewllan" wrote in message ... 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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
sumproduct vs. countif | Excel Discussion (Misc queries) | |||
Countif Formula /Sort Bug??? | Excel Discussion (Misc queries) | |||
COUNTIF or not to COUNTIF on a range in another sheet | Excel Worksheet Functions | |||
Combining IF and COUNTIF based on two columns | Excel Discussion (Misc queries) | |||
Countif - Countif | Excel Worksheet Functions |