Select the data. Click the Data tab. Then click the Group button arrow. Then click AutoOutline.
Click a plus sign to expand an outline level; click a minus sign to collapse an outline level.