Questions tagged [countif]

COUNTIF is an Excel function which allows for the counting of values in a range where the values meet a criterion.

Microsoft describes the syntax so:

COUNTIF(range, criteria)

The COUNTIF function syntax has the following arguments:

Range Required. One or more cells to count, including numbers or names, arrays, or references that contain numbers. Blank and text values are ignored.
Criteria Required. A number, expression, cell reference, or text string that defines which cells will be counted. For example, criteria can be expressed as 32, ">32", B4, "apples", or "32".

Note

o You can use the wildcard characters - the question mark (?) and the asterisk (*) - in criteria. A question mark matches any single character, and an asterisk matches any sequence of characters. If you want to find an actual question mark or asterisk, type a tilde (~) before the character.

o Criteria are case insensitive; for example, the string "apples" and the string "APPLES" will match the same cells.

COUNTIF has been appreciated for checking whether a value is present in a list of values (Super User).

The COUNTIFS function, introduced with Excel 2007, allows for multiple criteria and ranges within a single function, though more than one COUNTIF may be combined to similar effect.

1796 questions
0
votes
1 answer

Auto calculate amount of specific cell values filled in current year - every year

I'm trying to get my excel sheet to pull a list of people who have visited for a certain visit each year - example - I want to see how often people attend for annual vaccine - this is inputted into row 27 of each worksheet ( except the results)and…
0
votes
1 answer

COUNTIF condition to compare values within the counting range

I´m currently collaborating in the creation of a tool and I´m having the following problem: I need to count the values of a list of train arrival times that have a difference lower than 2 minutes with the next or previous arrival. For Example, if…
FChalen
  • 1
  • 1
0
votes
1 answer

how many times a value occurred consecutively in a column- excel

I have been searching for a while and can't seem to find an answer so here I am posting hoping someone might help. I am trying to find how many times a value occurred consecutively in a column. For example, how many time did the word " Negative"…
0
votes
0 answers

Excel formula doesn't work on formula results

I have a range of numbers (Y6:AC6) which are obtained as a function of =RIGHT(Text,Num) formula. When I try to apply COUNTIFS formula on these numbers which you can see on the picture, it doesn't work. However, when I try the same formula on actual…
Max
  • 932
  • 1
  • 10
  • 20
0
votes
1 answer

Excel COUNTIFS: Formula doesn't work

I have a question regarding the formula "=COUNTIFS". I have a table with several columns, one is "Project name" and the others are "category 1" and "category2". The single "=COUNTIF" works fine for me, see below (I am filtering for the word…
0
votes
3 answers

How to count exact text contain in string [Excel]

I already use these below formula to count exact text contain in string but still formula wrongly counted it. For example, i would like to count "ZIKA" test code in table, the answer should be two. But the formula count ZIKA2 as ZIKA also. How to…
Kamalisto
  • 13
  • 1
  • 1
  • 5
0
votes
1 answer

Filter, count and sum in Excel 2016

In the data set above, instructors were surveyed to learn what are the best and worst workout according to them. Using the sum and countifs together we realise that 2 yoga instructors believe that Yoga is the best form of workout, whereas a…
0
votes
1 answer

Best Excel method to find an array in a range?

I have a large list of users with various codes. The goal is to separate the good from the bad. All codes that start with P, H or F are good. All codes that start with L or K are bad. Example: Email | Code 01 | Code 02 | Code 03 | Code…
Josh
  • 21
  • 5
0
votes
1 answer

Vlookup, Total "No" Values per specific date

How do I calculate the Total Number of cells containing "No" for the specified Date in Column 3, I need to do it as a summary table that will update as the days get added to the table: 23-Oct-16 1 24-Oct-16 0 25-Oct-16 1 Table1
0
votes
1 answer

Excel countif four criteria are met with a range issue

I am trying to count only times when column E matches a range on another sheet and column AA matches a different range on another sheet. I can count the times column E matches a cell in the first range with: =SUMPRODUCT(COUNTIF('All Class Failure…
uttuck
  • 51
  • 2
  • 9
0
votes
2 answers

Excel how to find values in 1 column exist in the range of values in another (approximate)

How can I search if values in one cell (column A) exist in column B. With an approximate threshhold of +/- .5 For instance: Cell A2: 100.26 Column B: 100.30 Is there a formula that can search A2 within all of column B for an approximate match +/-…
0
votes
2 answers

Excel - Count TIme Cells

I want to count number of cells containing the value time. Eg: 05:29, 14:36, 22:05. Here, these times are entered in indiviudal cells. And I want to count number of cells containing time. Like Time: 3. But not the time function or total time…
Mansoor
  • 1
  • 2
0
votes
1 answer

Count spesific number in a string of number in excel

I have an ID with the format is : xxxxxxxx ( 8 numbers). Example : 16515134 3 first numbers is faculty code (In the example : 165) 2 numbers after that is year you enter the university (In the example : 15) 3 last numbers is personal number (In the…
0
votes
0 answers

Sumifs with multiple or relationship

I want to count a number lines with multiple criteria (and/or relationship). To be concrete: I have 3 columns Standard (Y/N), FTE number (number), and the Maturity (low, medium high) Now I would like to count all lines that fullfill the following…
Julia
  • 1
  • 4
0
votes
1 answer

=COUNTIF using exclusion?

The scenario is I have "B" and "W" generated randomly in column B and column C. I used "=countif(B2:B286, "W") to count how many "W"'s there are in Column B. I need to do the same in column C, but I need to make sure that I do NOT count the "W"'s in…