ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   SUBTOTAL Sort (https://www.excelbanter.com/excel-worksheet-functions/132615-subtotal-sort.html)

nuggie

SUBTOTAL Sort
 
How can you sort by Subtotal values but keep associated data together?

For instance, I sort data by part number. Then I subtotal the dollar values
(+/-)associated with each part number.

I then want to rank (i.e. sort) by the highest net dollar difference to the
lowest net dollar value based on the net SUBTOTAL values.

Dave Peterson

SUBTOTAL Sort
 
Try hiding the details--but keep the subtotal rows visible.

Then sort your data.

(I was pretty amazed when I saw this work--it was an accident!)

nuggie wrote:

How can you sort by Subtotal values but keep associated data together?

For instance, I sort data by part number. Then I subtotal the dollar values
(+/-)associated with each part number.

I then want to rank (i.e. sort) by the highest net dollar difference to the
lowest net dollar value based on the net SUBTOTAL values.


--

Dave Peterson


All times are GMT +1. The time now is 01:30 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com