Group and Sort | CustomGuide

Group and Sort

How to Group and Sort in Access

Group and Sort

Group or Sort on a Field

Organizing records into logical groups often makes them easier to read and understand. For example, you could group a sales report by the date field to quickly see how many sales occurred in a particular month.

  1. In Layout View or Design View, right-click the field you want to group or sort.
  2. Select Group On or a sort option.
    Group or Sort on a Field

A grouping level is added to the report and a group header is created, which is displayed in design view:

Work with the Group, Sort, and Total Pane

You can also group and sort your report data using the Group, Sort, and Total pane. Using the pane allows you to add multiple levels of grouping and sorts.

  1. In Design View, click the Design tab.
  2. Click the Group & Sort button.

    Access displays the Group, Sort and Total pane at the bottom of the screen. Here you'll see any fields that are currently being used for sorting or grouping your report.

  3. Click the Add a group or Add a sort button.

    You can set up to 10 grouping and sorting levels in a report.

    Work with the Group, Sort, and Total Pane
  4. Now you need to choose the field that you want to use to group your records.

  5. Select a field for grouping records.

    If you want to see even more options, click More Options on the desired level.

    Work with the Group, Sort, and Total Pane

The records are now sorted within the groups.