Answer the question
In order to leave comments, you need to log in
How to stretch cells for a certain number of lines without a mouse?
without mouse and dragging how to add a formula to e.g. drag cells every time + 199 cells
there is data
12 row) group 1 (199 cells)
212 row) group 2 (199 cells)
etc..
how to add data further with a formula like this
group 3*199
to fill cells quickly and not calculate the line, how many lines will be under 199 pieces
Answer the question
In order to leave comments, you need to log in
1 - Select the cell with the formula
2 - Drag the selection to the desired size (arrow keys while pressing shift)
3 - You get a selected area with the active cell where the formula
is 4 - Press F2 - edit mode (the cursor will appear in the cell with the formula)
5 - Press Ctrl + Enter and your Formula is copied over the entire selection.
Macro below:
Sub AutoFillRange()
ActiveCell.AutoFill Destination:=Range(ActiveCell, Cells(ActiveCell.Row + 187, ActiveCell.Column)), Type:=xlFillDefault
End Sub
Enter the formula to be dragged down.
Place the cursor on the lower border of the range where you want to stretch the formula.
Press Ctrl+Shift+Up to select everything from the selected cell up to and including the cell with the formula.
Or just select the desired range using Shift and cursor keys.
Press Ctrl+D. This will fill in the formula (or value if it's not a formula) from the top cell in all the selected cells.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question