Hi guys,
I have a gigantic excel sheet based on a timescale, where the dates equal one cell each and where the start date fore the timeseries is different but the end dates are all the same.
I need to "Shift" these cells to the right, so that all end dates are the same. The problem is that I don't know about any easy solution to do this, and to do it manually for 17k rows, well, that's gonna take some time.
I'll try to explain what I need to do. Lets say we have cells that look like this:
3 4 5 6 7 8 9
1 2 3 4 5 6 7 8 9
8 9
8 9
6 7 8 9
9
3 4 5 6 7 8 9
As you can see all rows start with a different "date" but all ends at the same. I would now need to shift the cells that doesn not start with 1 so they at least end with 9. The above shall look something like:
- - 3 4 5 6 7 8 9
1 2 3 4 5 6 7 8 9
- - - - - - - - 8 9
- - - - - - - - 8 9
- - - - - - 6 7 8 9
- - - - - - - - - 9
- - -3 4 5 6 7 8 9
(after posting this all spaces was deleted, so I had to use - instead to illustrate my point)
I guess I'll have to create a macro to do it, but I was hoping there was an easier way to do it. Anyone know a good solution?
Bookmarks