문제

I am trying to do this to move these columns over so they can be a part of the same rows above them. Here is a picture of what I am trying to achieve:

enter image description here

Is there any way to do this without selecting them one by one while holding the CTRL key?

Thank you for any help. All help is greatly appreciated.

도움이 되었습니까?

해결책

Down and dirty solution, Assuming top left is top of sheet, cell A1.

Cell C1:

=A2

Cell D1

=B2

Cell E1

=MOD(ROW(A1),3)=1

Copy to entire range

Copy and Paste Values only

Sort by Column E

Delete all "FALSE" rows

To make repeatable, record macro of you doing it once. You should then be able to edit resulting macro to make it "generic".

EDIT

If the top left is not A1, you can modify the =MOD(ROW(A1),3)=2 or =0 to select the correct row.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top