jamieleeuk
Board Regular
- Joined
- Feb 9, 2009
- Messages
- 99
Please see the below image of a spreadsheet i'm working on.
There's roughly 4000 rows of data and if there's not a quick fix with VBA then i'm going to be spending hours manually adding rows.
Column B houses the Group Code, what I need to do is add 2 blank rows between each group code making sure the data stays relevant to the code it is next to currently.
So looking at the pic below, I would want something like this:
BAE001
blank
blank
BAL001
BAL001
blank
blank
BAL007
BAL007
BAL007
BAL007
BAL007
BAL007
BAL007
BAL007
BAL007
BAL007
BAL007
BAL007
BAL007
blank
blank
and so on.
My question is, is there something which will do that for me instead of me manually looking for the change in Code and then inserting rows one by one?
Please if you need more info, I will happily supply it!
There's roughly 4000 rows of data and if there's not a quick fix with VBA then i'm going to be spending hours manually adding rows.
Column B houses the Group Code, what I need to do is add 2 blank rows between each group code making sure the data stays relevant to the code it is next to currently.
So looking at the pic below, I would want something like this:
BAE001
blank
blank
BAL001
BAL001
blank
blank
BAL007
BAL007
BAL007
BAL007
BAL007
BAL007
BAL007
BAL007
BAL007
BAL007
BAL007
BAL007
BAL007
blank
blank
and so on.
My question is, is there something which will do that for me instead of me manually looking for the change in Code and then inserting rows one by one?
Please if you need more info, I will happily supply it!