An object-oriented programming language developed by Microsoft that can be used in .NET.
Thank you for reaching out!
Yes, this can be achieved in Excel using a multi-level sort in VBA.
The approach is to apply two sort levels:
1.First, sort by the category column in ascending order. This groups all similar categories together.
2.Then, apply a second sort on the quantity column in descending order. Excel will automatically sort the quantity values within each category group.
This method ensures that your data is grouped correctly and that each group is internally sorted from highest to lowest quantity.
Let me know if you need any further help with this. I will be happy to assist.
If you find this helpful, Kindly mark the provided solution as "Accept Answer", so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.