Skip to content
- Count Unique Entries in Excel: Formulas and TipsTo count distinct, nonblank entries in Excel for Microsoft 365, use =IFERROR(ROWS(UNIQUE(FILTER(A2:A100,A2:A100<>""))),0), replacing A2:A100 with your data range. The formula returns the…Formulas & functions
- Count Unique Cells in Excel: Formulas and ExamplesTo count distinct, nonblank values in Excel for Microsoft 365, use =COUNTA(UNIQUE(FILTER(A2:A10,A2:A10<>""))). This assumes the values are in A2:A10; if the range…Formulas & functions
- COUNTIFS Unique in Excel? Count Distinct MatchesYes. To count distinct values that meet multiple criteria in Microsoft 365, use =IFERROR(ROWS(UNIQUE(FILTER(C2:C8,(A2:A8=E2)*(B2:B8=F2)*(C2:C8<>"")))),0). With categories in A2:A8, regions in B2:B8, names…Formulas & functions
- COUNTIFS Greater Than in Excel: Criteria and ExamplesTo count values greater than a number in Excel, use COUNTIFS with the greater-than operator inside a quoted criteria string: =COUNTIFS(B2:B10,">100"). Replace…Formulas & functions
- COUNTIFS in Excel: How to Count with Multiple CriteriaYes. Excel’s COUNTIFS function counts rows or cells that meet multiple criteria at the same time. For example, with regions in A2:A100…Formulas & functions
- COUNTIFS Excel Formula: Multiple Criteria and ExamplesUse Excel’s COUNTIFS function to count rows that meet two or more conditions: =COUNTIFS(criteria_range1, criteria1, [criteria_range2, criteria2], ...). It applies an AND…Formulas & functions
- COUNTIF Values in Excel: Count Text, Numbers, and MoreIn Excel, use =COUNTIF(range,criteria) to count cells in a range that meet one condition. For example, with order statuses in A2:A20, =COUNTIF(A2:A20,"Paid")…Formulas & functions
- COUNTIF Not N/A in Excel: Formula and Errors ExplainedTo count cells that are not the literal text N/A, use =COUNTIF(A2:A20,"<>N/A"). If blank cells should not count either, use =COUNTIFS(A2:A20,"<>N/A",A2:A20,"<>"); if…Formulas & functions
- COUNTIF Not in Excel? Count Values That Do Not MatchExcel does have the COUNTIF function; there is no separate function called COUNTIFNOT. To count cells that do not match a value,…Formulas & functions
- COUNTIF Not Duplicate in Excel: Count Unique ValuesTo count values that appear only once in Excel, use =SUMPRODUCT((A2:A10<>"")*(COUNTIF(A2:A10,A2:A10)=1)) when the values are in A2:A10; it ignores blanks and returns…Formulas & functions
- COUNTIF Not Blank Text in Excel: Formula and ExamplesTo count cells containing text in Excel, use =COUNTIF(A2:A100,"*"), replacing A2:A100 with your range. The asterisk is a wildcard: it matches text,…Formulas & functions
- Excel COUNTIF Less Than a Cell: Formula and ExamplesTo count values in Excel that are less than a value in another cell, use =COUNTIF(B2:B20,"<"&D2). This assumes the values are in…Formulas & functions
- COUNTIF Less Than 1 in Excel: Formula and ExamplesTo count values less than 1 in Excel, use =COUNTIF(A2:A100,"<1") when the values are in A2:A100. It counts qualifying entries such as…Formulas & functions
- COUNTIF in Excel Not Counting Correctly? How to Fix ItIf COUNTIF in Excel is not counting correctly, check the criteria, the cell contents, and the range first: extra spaces, wildcard characters,…Errors & fixes
- COUNTIF Greater Than in Excel: Formula and ExamplesTo count values greater than a number in Excel, use =COUNTIF(B2:B20,">100"), assuming the values are in B2:B20 and the threshold is 100.…Formulas & functions
- COUNTIF in Excel: Count Yes or NoYes. Microsoft Excel has a COUNTIF function, and you can use it to count cells that contain “Yes,” “No,” or another value…Formulas & functions
- COUNTIF in Excel for Text: Examples and TipsYes. Excel’s COUNTIF function counts cells that match text, either as an exact match or by a pattern. For example, with text…Formulas & functions
- COUNTIF Date Range in Excel: Formulas and ExamplesTo count dates between two limits in Excel, use COUNTIFS, which can test both the start and end dates; COUNTIF handles only…Formulas & functions
- COUNTIF Formula for Attendance in ExcelTo count attendance marks in Excel, use =COUNTIF(B2:U2,"P"). If a student’s 20 session entries are in B2:U2 and “P” means present, the…Formulas & functions
- COUNTIF for Text in Excel: Examples and WildcardsTo count cells containing a particular text value in Excel, use COUNTIF: with the values to check in A2:A8, the formula =COUNTIF(A2:A8,"Apple")…Formulas & functions
- COUNTIF Excel Text in Cell: Exact or Partial MatchesTo count cells that contain particular text anywhere in their contents, use =COUNTIF(A2:A100,"*apple*"); the asterisks allow any characters before or after “apple.”…Formulas & functions
- COUNTIF Excel Formula for Text: Exact and Partial MatchesTo count cells containing text in Excel, use =COUNTIF(A2:A20,"apple") for an exact match, or =COUNTIF(A2:A20,"*apple*") when the text can appear anywhere in…Formulas & functions
- COUNTIF in Excel: Count a Range of ValuesTo count numbers within an inclusive range in Excel, use COUNTIFS with a lower and an upper limit: with the values 4,…Formulas & functions
- COUNTIF Excel: Count Duplicates, Repeats, and MatchesYes. In Excel, COUNTIF counts how many times a value appears: with items in A2:A100, enter =COUNTIF($A$2:$A$100,A2) beside the first item and…Formulas & functions
- COUNTIF in Excel: Exclude Text from a CountTo count nonblank cells while excluding any cell that contains a particular word, use =COUNTIFS(A2:A100,"<>",A2:A100,"<>*apple*"). Here, the values are in A2:A100; the…Formulas & functions
- COUNTIF Excel Contains Part of Text: Examples & TipsYes. In Excel, use COUNTIF with asterisks around the text you want to find: =COUNTIF(A2:A8,"*North*") counts cells in A2:A8 that contain “North”…Formulas & functions
- COUNTIF Excel by Text Match: Exact and Partial MatchesYes. In Excel, use COUNTIF to count cells that match text: with the values in A2:A9, =COUNTIF(A2:A9,"Apple") counts cells equal to Apple,…Formulas & functions
- COUNTIF Excel: Count Cells That Contain Text in a RangeTo count cells that contain text in Excel, use =COUNTIF(A2:A100,"*"), replacing the range with your own. The asterisk is a wildcard: it…Formulas & functions
- COUNTIF Equals Text in Excel: Examples and TipsTo count cells that equal a particular text value, use COUNTIF with the range and the text in double quotation marks. With…Formulas & functions
- COUNTIF Duplicates in Excel: Examples and Ways to Fix ThemTo count how often a value appears in Excel, enter =COUNTIF($A$2:$A$7,A2) beside your list and fill it down. With product names in…Errors & fixes