Hello, im a new guy here, but i've been using excel for quite a while. However, i have stumbled upon a new problem, and i hope that you guys can help me
My spreadsheet is used to log recieved applications from customers.
Coloumn A contains the values i want to sort: ACCEPTED or DECLINED.
The problem is, that this coloumn also contains the name of the months.
Short summary, A1:A1500 contains either ACCEPTED, DECLINED, JANUARY, FEBRUARY and so on.
What i want to do, is to make a macro that sorts the applications like this:
Aka, the accepted applications are listed on top, then the declined (easy, as you can use Ascending/descending based on your needs), but the problem is when it comes to the next month. I need it to stop there, and since i have no idea how many applications we might recieve in the upcoming months, this stop point has to be dynamic.
What i've done so far, is to make a "check" field in the X,Y and Z coloumn, that checks if the cell in A1 = ACCEPTED, it returns a value of 1, if its DECLINED, it returns 2, and if its any month based on a vlookup table, it returns 4.
So, main question is, how can i sort all the 1's and 2's between the 4's? And make the macro stop sorting when it reaches a 4?
Hope i explained myself decently, and dont be afraid to ask for more info if thats what you need. Sorry for any potential spelling errors aswell. Looking forward to an answer or two
Bookmarks