SUBTOTAL also has a feature under the data ribbon, in outline, which enables automatic grouping of data, making it easy to generate subtotals and grand totals without duplication errors.