For many years, I used the SUBTOTAL function in Microsoft Excel to create easily visible subtotals at the top of my worksheets. However, when I encountered AGGREGATE, this became my go-to function for ...
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.