Given this data in long format:
Day Meal Food
Monday Breakfast Cereal
Monday Lunch Ham sandwich
Monday Dinner Tuna bake
Tuesday Breakfast Porridge
Tuesday Lunch Enchilada
Tuesday Dinner Spaghetti
It is possible to turn it into the equivalent wide format:
Breakfast Lunch Dinner
Monday Cereal Ham sandwich Tuna bake
Tuesday Porridge Enchilada Spaghetti
Note how the categories in the first column of the long format have turned into row names, while the categories in the second column have turned into column names. The data displayed in the cells is the third column.
I’ve tried to use pivot tables in Libreoffice 5.0.3.2 on OS X 10.11.1, but these only allow me to display aggregate data about the dinner column such as SUM
or AVG
, not the data entries themselves.