Make the query a crosstab query, which aggregates data by two sets of values - one displayed down the left side of the datasheet ...