How to count the number of occurrences of a specific value in a range using the COUNTIF function in Google Sheets?

To count the number of occurrences of a specific value in a range using the COUNTIF function in Google Sheets, follow these steps:

  1. Open your Google Sheets document and select the cell where you want the count to appear.
  2. Begin typing the formula "=COUNTIF(" in the selected cell.
  3. Select the range of cells you want to check for occurrences.
  4. Enter a comma (,) to separate the range from the criteria.
  5. Specify the criteria or value you want to count. Enclose text values in quotation marks (""), or reference a cell with the desired value.
  6. Close the formula with a closing parenthesis ")".
  7. Press Enter to complete the formula.

For example, if you want to count the number of times the value "Apple" appears in the range A1:A10, the formula would be: =COUNTIF(A1:A10,"Apple")

The result will be the count of occurrences of "Apple" in the specified range.