excel - Move set of cells with some blanks so that set is right aligned -


in excel, have big document lot of data , looking best way move cells.

i have columns a, b, c, , d, , want move them c, d, e, , f. problem left-aligned, there nothing in d cell puts values should in d in c cell. best way resolve this?

there link picture how mean it:

so19227512 question example

give try:

sub dural()     dim n long, l long     n = cells(rows.count, "a").end(xlup).row     l = 1 n         while cells(l, "f") = ""             cells(l, 1).insert (xlshifttoright)         wend     next l end sub 

Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -