Sorting multiple dynamic ranges on a worksheet.

kyrgan

Active Member
Joined
Mar 23, 2006
Messages
309
Hello everyone,

I have a worksheet that is populated with unsorted information. The ranges can be dynamic, with the starting and ending columns being the same, but the starting row and ending rows can change depending on how many items are posted.

The items are posted in multiple groups, sometimes as few as 2 groups, but can go up to 10. The groups can have up to 60 rows per group. There are always two to three blank rows between the item groups. The items are always 4 columns, PLU, ItemName, Quantity, Value. The import does not alway include the header details.

I would like to sort based on the item name at the moment, but being able to quicksort each column would be handy.

As a bonus, I would like to insert the subtotal the value of each group and insert the total at the bottom in a new group.

I have played with the LastRow and other select functions, but this one is breaking my brain.

Thanks for any assistance.

K.
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
I could really use some help with this thread.

I can't find any other site that addresses this issue.

Thanks
 
Upvote 0

Forum statistics

Threads
1,214,989
Messages
6,122,622
Members
449,093
Latest member
catterz66

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