Hey guys, I have a simple VBA question for you. Here it goes:
I have designed a macro to sort two columns of data. The macro sorts the data by matching cells from the two columns. The matching cells are sorted to be at the top of the sheet. The cells that have no match are then put below the last matching cell. So about half way down my sheet I have two columns of unmatching data. I want to add a VBA code that will do a seperate data sort on the non-matching cells, but without effecting the matching cells which are sorted above them. I have an if statement written so I think should be able to use something along the lines of IF cell "has no match" data sort by name. This way I can see the non-matching columns alphabetically rather than in some arbitrary order.
Any suggestions?
I have designed a macro to sort two columns of data. The macro sorts the data by matching cells from the two columns. The matching cells are sorted to be at the top of the sheet. The cells that have no match are then put below the last matching cell. So about half way down my sheet I have two columns of unmatching data. I want to add a VBA code that will do a seperate data sort on the non-matching cells, but without effecting the matching cells which are sorted above them. I have an if statement written so I think should be able to use something along the lines of IF cell "has no match" data sort by name. This way I can see the non-matching columns alphabetically rather than in some arbitrary order.
Any suggestions?
Last edited: