Hello,
I have done few Excel macros before, but I need help with this one. I need a sorting macro/solution. Here is the problem.
I have a very large data base (over 52,000 rows) that include various data under columns A-T, and I need to sort the data by weeks and days (Mon-Sun) according to the date displayed in column I. Right now the rows are randomly entered, but the rows need to be sorted as this example:
The data has to be sorted by the order of week and days--oldest to latest, e.g.:
12/1/2010 ;week 1, Mon-Sun
12/4/2010
12/5/2010
1/7/2011 ;week 2, Mon-Sun
1/9/2011
1/10/2011
1/10/2011
1/17/2011 ;week 3, Mon-Sun
1/17/2011
1/17/2011
1/18/2011
...
...
At the same time, I need the macro to add the number of days (the number of days corresponds to the number of applications) in the weeks. E.g. on a second sheet it should display something like this:
A1(week) B1(total applications)
1 5
2 12
3 2
4 7
5 20
...
...
Any idea how to do this? If column I needs to be broken into 3 columns (month, day, year) that's fine.
I have attached a sample Excel file.
Thanks a lot in advance!
MACRO_SORTING.xls
Bookmarks