Hi, I'm new to this forum (and to VBA in Excel) but I see a lot of smart people who may be able to help me out. I've seen a few solutions similar to my problem on other threads but not exactly what I needed.
I'm looking for an excel macro that will sort a list set of data based on multiple conditions, for example:
Column A Column B Column C Column D Column E Column F
Data_type A Data_type B Data_type C Data_type C Data_type B Data_type A
Data_type A Data_type B Data_type C Data_type C Data_type B Data_type A
Data_type A Data_type B Data_type C Data_type C Data_type B Data_type A
The sorting should happen in 2 phases:
1) Column A & B & C should be sorted on following criteria
a) Descending sort of column A
b) Descending sort of Column C
2) Column D & E & F should be sorted on following criteria
a) Descending sort of column F
b) Ascending sort of Column D
So the first 3 columns are independent of the second set of 3 columns.
The tricky part is:
1) The original data should remain in tact and the newly sorted list should be somewhere else on the spreadsheet
2) The sorted data should be updated in real-time (as the original data is being updated)
Thank you,
+HZ
Bookmarks