Closing Up Cut Rows

by Allen Wyatt
(last updated May 10, 2021)

8

Linda often cuts and pastes information from one place to another in her workbook. If she cuts a row from one place and pastes it in another, the information is moved but the space for the original row remains in the worksheet. Linda wonders if there is a way that when she cuts and pastes the rows "close up" at the point where she cut the row.

Actually, there are a few ways you can accomplish this task, and all of them are very easy. Let's say, for example, that the rows you want to cut are rows 2 through 4. You want to paste them just before row 12. Select rows 2 through 4 and press Ctrl+X, like normal. (This puts the "marching ants" around those rows.) Next, select cell A12 or select all of row 12—it doesn't matter. Press Shift+Ctrl+=, and the rows are moved to just before the currently selected cell or cells. No data is lost, and the original rows are closed up, just as desired.

The other approach is handy if you are more comfortable using the mouse. Again select rows 2 through 4 and press Ctrl+X. Now, right-click on cell A12 so that Excel displays a Context menu. One of the choices you'll see on the menu is Insert Cut Cells. Choose this option, and the rows are moved from their old location to just before cell A12. Just like in the other approach, the original rows are closed up.

A third approach is to use drag-and-drop editing. If you select the original rows (2 through 4), you can hold down the Shift key as you drag the rows to their desired location. When you release the mouse button, the rows are moved and the space they previously occupied is closed up.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (2078) applies to Microsoft Excel 2007, 2010, 2013, and 2016.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Linking to Slides in PowerPoint

If you are preparing a document that references a presentation you created in PowerPoint, you may want to reference in ...

Discover More

Excluding Some Data from a Chart

Excel is a whiz at creating charts from your worksheet data. When the program tries to determine what should be included ...

Discover More

Changing the Height of Worksheet Tabs

Do you need your worksheet tabs to be taller than what they are? You can't make the adjustment in Excel, but you can make ...

Discover More

Solve Real Business Problems Master business modeling and analysis techniques with Excel and transform data into bottom-line results. This hands-on, scenario-focused guide shows you how to use the latest Excel tools to integrate data from multiple tables. Check out Microsoft Excel 2013 Data Analysis and Business Modeling today!

More ExcelTips (ribbon)

Defining Shortcut Keys for Symbols

Do you need to use symbols frequently in your Excel data? The common way to insert them is by using the Symbol dialog ...

Discover More

Undoing Actions in Only the Active Workbook

When you undo actions within Excel, those steps you undo may affect the multiple workbooks in which you've been working. ...

Discover More

Ranges on Multiple Worksheets

Referring to a range of cells on the current worksheet is easy. But what if you want to refer to a range on a number of ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 1 + 3?

2021-03-14 14:25:30

Tomek Dluzniewski

The tip gets "re-posted/modified" any time someone adds a comment. It also shows up in Newest Tips box on the top-right of every page for either Excel or Word tips. It does not mean that Allen re-posted it, nor that he actually saw it. I do not expect that he has time to follow all comments on old tips.


2021-03-13 11:42:25

Don

I see this tip reposted/modified March 12, 2021; however, the same questions for it posted back in 2017 still exist. The tip appears to only work when moving rows within the same worksheet. i.e., when moving rows from one worksheet to another, the resulting empty row remains in the source worksheet...

I wonder if anyone, other than us posters, actually read the comments for these tips?


2017-07-10 14:34:19

Rhonda

Same question as Graham and Craig (and original Help Wanted):
If I cut a row from worksheet A and paste it on worksheet B, when I go back to worksheet A there is a blank row left behind which now must be deleted. I'm sure there is a macro solution for this but I'm wondering if instead there is a setting in Excel that could be used?


2017-07-10 03:51:43

Mark Galloway

An alternative to "Shift+Ctrl+=" is Ctrl + <"+" on numeric keypad>


2017-07-09 07:09:29

Peter Atherton

Graham, Craig

If you select both sheets, select 1st, hold shift select 2nd. Then select rows to delete


2017-07-08 13:45:18

Craig

These methods seem to be only for data on the same sheet (or perhaps for rows only). Is there also a way to close cut columns from sheet A to sheet B?

Thanks!


2017-07-08 13:20:50

S Vijay Krishna

Hi Allen

I follow another approach to for "closing up" rows and columns while cutting data in excel. Use Shift + Space to select row or Ctrl+space to select a column,then Ctrl+x to cut it,then move on to the desired column or row and press Ctrl and "+" (Ctrl+"+").


2017-07-08 09:35:37

Graham

These options all work if the rows are moved within a single WORKSHEET.

However, implied by the question is a requirement to move the rows to another Worksheet within the current Workbook. In this situation the blank rows are left behind in the initial Worksheet.

When moving to a different Worksheet, I do not know of an easy way to automate the 'Closing Up' of the cut rows. Maybe a macro is needed?


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.