Hi guys,
I have a large dataset (4000 rows) that I have imported from the web, but unfortunately it has inserted blank cells in front of my data such the last row has data beginning in column A, the second last in column D, the third last in column G, etc. So in each ascending row the data begins three columns further to the left than the data in the row below it. This is super annoying.
I would simply like a macro that begins in cell A1, deletes the cell if it is blank, then moves to cell A2 (which would now be A1), deletes it if blank, cell A3, etc until it finds a non-blank cell, then it moves to A2 and loops through all the rows until it finds no more data. An additional complication: Some of the rows are empty and these can be ignored by the macro. When the cells are deleted, the cells obviously need to be shifted left.
Any help would be greatly appreciated.
example.xlsx
Bookmarks