Sorting grouped rows - reports generated by TreeSize application

MTR_Davies

New Member
Joined
Jul 19, 2021
Messages
1
Office Version
  1. 2016
Platform
  1. Windows
I use a feature in Treesize that generates a directory size report with expandable/collapsible rows that represent the folder hierarchy it's scanning. This makes it easier to view the directory in Excel as I can expand and collapse content. The problem is that although it's maintaining and grouping the folder structure, it's sorting the contents of each folder by file size. I was trying to sort the contents by FULL Path/File Name instead but when I use the sort function in the ribbon, no matter what field I choose to sort, it will not do anything. It stays grouped and in File Size order. I was wondering if I'm missing something in Excel that will allow me to sort by filename instead without breaking the grouping that Treesize created.
Capture.JPG
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Try to seleect the whole table of data (uncluding the title row 5). Then turn the autoFilter on from the ribbon.
Then use the sort function from the down arrow next to Full Path.

As far as I can tell - Groups will be sorted as a whole byt the text in the first line. Then each group will be sorted internally.
Grouping will not be broken.

Sorting from the Ribbon should also work, but you have to select all the data, and it will sort it by the column, which contains the ActiveCell.
HTH
 
Upvote 0

Forum statistics

Threads
1,214,599
Messages
6,120,449
Members
448,966
Latest member
DannyC96

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top