第2个回答 2018-04-13
m3=INDEX($H:$J,ROUNDUP(ROW(A1)/3,0)*4-2+MOD(COLUMN(A1)-1,3),MOD(ROW(A1)-1,3)+1)下拉右拉
第3个回答 2018-04-13
用代码
Sub 转换()
Dim I%
For I = 2 To Range("G65536").End(xlUp).Row Step 4
X = Range("M65536").End(xlUp).Row
Range(Cells(I, "H"), Cells(I + 2, "J")).Select
Selection.Copy
Cells(X + 1, "M").Select
Selection.PasteSpecial Paste:=xlPasteAll, Operation:=xlNone, SkipBlanks:= _
False, Transpose:=True
Application.CutCopyMode = False
Next
End Sub本回答被网友采纳