Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have a sheet with name in column A and values in column B. Every 4 rows it
repeats. Each 4 row seccion is a new day. EX DAY 1 Tim 3 Jim 2 Dan 1 DAY 2 Tim 2 Jim 3 Dan 1 And so on and so on. My question is, I would like to count the # of days Tim = 3 for a months time. Is the countif function my best option? And how do I enter a range of cells so that it only counts Tim's #. IE B2,B6,B10,... ? Thanks in advance for any help |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=COUNTIF(A:A,"Tim")
If this post helps click Yes --------------- Jacob Skaria "ComoAdam" wrote: I have a sheet with name in column A and values in column B. Every 4 rows it repeats. Each 4 row seccion is a new day. EX DAY 1 Tim 3 Jim 2 Dan 1 DAY 2 Tim 2 Jim 3 Dan 1 And so on and so on. My question is, I would like to count the # of days Tim = 3 for a months time. Is the countif function my best option? And how do I enter a range of cells so that it only counts Tim's #. IE B2,B6,B10,... ? Thanks in advance for any help |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
You can use SUMPRODUCT to evaluate multiple criteria.
=SUMPRODUCT((A2:A100="Tim")*(B2:B100=3)) Note that you can't callout the entire column (A:A) and the array sizes need to be equal. -- Best Regards, Luke M *Remember to click "yes" if this post helped you!* "ComoAdam" wrote: I have a sheet with name in column A and values in column B. Every 4 rows it repeats. Each 4 row seccion is a new day. EX DAY 1 Tim 3 Jim 2 Dan 1 DAY 2 Tim 2 Jim 3 Dan 1 And so on and so on. My question is, I would like to count the # of days Tim = 3 for a months time. Is the countif function my best option? And how do I enter a range of cells so that it only counts Tim's #. IE B2,B6,B10,... ? Thanks in advance for any help |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I use a countif function according to two other countif fu. | Excel Worksheet Functions | |||
edit this =COUNTIF(A1:F16,"*1-2*")+COUNTIF(A1:F16,"*2-1*") | Excel Discussion (Misc queries) | |||
COUNTIF or not to COUNTIF on a range in another sheet | Excel Worksheet Functions | |||
Countif | Excel Worksheet Functions | |||
COUNTIF in one colum then COUNTIF in another...??? | Excel Worksheet Functions |