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

COUNTIFS referencing another sheet

My Fourmula: =SUMPRODUCT(COUNTIFS(BRIDGE!H2:H500,">50",H2:H500,"<75" )) Trying to count values greater than 50 but less than 75 on another sheet named "Bridge". The problem, this is just counting on the sheet the formula is on, not the referenced…
westman2222
  • 663
  • 1
  • 12
  • 30
0
votes
1 answer

Excel formula (for conditional formatting) that is only looking at the cells where there is a duplicate value

I'm tracking events by participant. I'd like conditional formatting that can show me where a participant may have had multiple events happening at the same time. For example, column A has the participant identifier, column B is the event number for…
Kristin
  • 1
  • 1
0
votes
1 answer

Counting Specific Values From Sumproduct(countif)

I have been sulking around this place for a while and until now I have been able to find an answer to virtually any problem I have come across. I feel like I am on the right path for the answer I need, but I can't seem to figure out the right way…
KyleWolf
  • 5
  • 1
0
votes
2 answers

Excel Countifs - Search Text in String

I have a column (let's say B1) in an Excel form that shows some products like this: Sand Systems Gas Systems Blenders Other Other 2 Other 3 Other 4 I need to count the rows that doesn't contain the text "Other #" (# being a number), in other words,…
Felipe Wagner
  • 154
  • 2
  • 14
0
votes
1 answer

Excel -- how to return certain values if cells in a column match multiple criteria

I want to search for certain values in a column and return specific words based on those values. In the screenshot below, I'd like rows B-D to function as one. So only return "Pumpkin Pie", "Cookies", and "Rice". The rest will fall into "Other"
0
votes
1 answer

Using If statement in excel to sum cells in multiple sheets

I am currently working with 3 sheets in excel. They are called Sheet1, Sheet2, and Summary. In Sheet1 and Sheet2, I have a list of states with a column for revenue. In the Summary sheet, I want to do an SUMIF statement as if the state in Summary is…
goku0650
  • 3
  • 3
0
votes
1 answer

Count Index based on Multiple Conditions - Excel

I have a table with order records for each Product Type. The columns contain information like Order Number, Customer Name, Product Category, Product, and Order Receipt Date. My goal is to find the quantity of orders that fall into the below…
JDStopper
  • 3
  • 3
0
votes
1 answer

Count if a range of cells contains a certain month

I have a list that contains dates in M/DD/YYYY format. In another sheet (see first image), i want to be able to calculate how many times a certain month appears in that list. The formula i thought would work is =COUNTIFS(*date range…
0
votes
1 answer

Excel 2016 Countf function using multiple criterion help needed

I am trying to figure out how to take a worksheet and break out some information using countif functions and/or be able to show it in a pivot table functions. The problem I am having is that some of the data in one of the cells has more than one…
0
votes
2 answers

(VBA) Countif can't look in other sheet and bring answer back to original sheet

I have an excel file with an unknown end range (which changes every time) and I want to know the amount of rows that the specific word comes back in that data table. It is just one column, and I have tried so many different methods but I still do…
Gores Hamad
  • 3
  • 1
  • 3
0
votes
1 answer

How do you generate custom rows in excel without VB?

I am trying to auto generate manual orders for import. Can this be done in excel without VB? I am gathering subscription orders on sheet 1, and since it is a physical product being shipped I need to have one order for each non-recurring month.…
lufft
  • 3
  • 4
0
votes
0 answers

Excel CountIFS formula - too few arguments

trying to use the formula below in my conditional formatting I'm getting a 'too few arguments' error - =COUNTIFS(Ratecard!E:E,AW3, Ratecard!G:G,BA3, AN3 > 0) = 0 Any thoughts?
EchoL
  • 11
  • 5
0
votes
1 answer

Excel Count number of times in range that cells in column A are less than corresponding cell in column B

I have a range A2:B28. In column A, I have a bunch of numbers. In column B, I have a bunch of other numbers. I want to know how many times it occurs that a cell in column A is less than the cell on the same row but in column B (i.e. A2
Thomas
  • 49
  • 7
0
votes
1 answer

Consolidate Excel formula to COUNTIF all tabs

I am currently using a COUNTIF formula to count the word "Competitor" across multiple sheets. Is there a good way to consolidate this formula to run COUNTIF for a range of sheets? =COUNTIF('Outside 12.2'!P2:P4977,"Competitor")+COUNTIF('Outside…
westman2222
  • 663
  • 1
  • 12
  • 30
0
votes
2 answers

Summarizing data in excel

Im trying to summarise some data that i have in a spreadsheet. See below for an extract. Basically, im trying to count how many "Yes"&"N/A" there are for each month and also how many "No" there are for each month and display it in the form of a…
Jamierxii
  • 3
  • 4