views:

25

answers:

0

For example, say I am maintaining an inventory of the different produce my friends have and want the following table:

| People   |         Fruit          |   Vegetables     |
|          | Apple | Orange | Berry | Carrot | Lettuce |
| Adam     |   x   |        | x     |   x    |         |
| Bob      |   x   |  x     |       |        |   x     |
| Carol    |       |  x     |       |   x    |   x     |

x's denote that the person in that row has that fruit or vegetable. Is it possible to create a table with sub-headers like this?