Aan de slagGa gratis aan de slag

Counts with multiple criteria

There are times when you will need to summarize data based on multiple criteria. You can use the AVERAGEIFS(), COUNTIFS(), and SUMIFS() functions to specify multiple criteria. Recall that these functions take pairs of ranges and criteria to include only the cells that meet the specified conditions.

Now you'll tally the number of crimes that occur after 8:00 in the evening. A couple of reminders:

  • Remember that the time data are stored in 24-hour format.
  • You can specify comparison arguments by including the operator in the criterion (e.g., "<900").

Deze oefening maakt deel uit van de cursus

Error and Uncertainty in Google Sheets

Cursus bekijken

Oefeninstructies

  • In cell I2, count the number of crimes that occurred in the West precinct after 8:00 (remember that 8:00 is 2000 in 24-hour format).
  • Adapt this function for cells I3:I7 to count the number of evening crimes in each of the remaining precincts.

Praktische interactieve oefening

Zet theorie om in actie met een van onze interactieve oefeningen.

Begin met trainen