category
A category is a way to group data in a table. For example, if you have a spreadsheet that tracks shirt sales, you could create a category that groups sales by month, salesperson, or any other data in a column (called the source column). When you choose a source column, all rows that share a common value in the column are grouped together.
![A table containing shirt sales data that’s been categorized by sales date; the rows of data are grouped by month and year (the shared values in the source column).](https://help.apple.com/assets/5CDC423D680CE265787CAAF7/5CDCA256680CE22E7F7CDAD6/en_US/604c14984dc54f9811607592d22396bf.png)
A table can have one main category and up to four subcategories.