Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, and 2016. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Undoing an Edit.

Undoing an Edit

by Allen Wyatt
(last updated December 24, 2016)

3

It happens to the best of us. You may delete the wrong value, replace the wrong formula, or enter something incorrectly. In short, you make a mistake. Excel allows you to undo almost any of your editing actions. The easiest way to undo an edit or formatting change is to press Ctrl+Z. Excel very helpfully undoes whatever it was you just did.

Excel also provides an Undo tool at the upper-left of the Excel program window, just above the leftmost tabs of the ribbon. This tool looks like a curved arrow pointing backward—to the left. If you click on the tool, it is the same as pressing Ctrl+Z. If you click on the tool and you hear a "ding," it means there are no actions to undo. If there are more than one actions that can be undone, click on the down-arrow to the right of the Undo tool and you can see the various actions that you can undo.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (12361) applies to Microsoft Excel 2007, 2010, 2013, and 2016. You can find a version of this tip for the older menu interface of Excel here: Undoing an Edit.

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

Selecting Columns in VBA when Cells are Merged

If you have a macro that selects different columns in a worksheet while processing information, you may get some ...

Discover More

Jumping to Alphabetic Worksheets

Got a workbook with a lot of worksheets in it? Here are some handy ways to jump to the worksheet you want, alphabetically.

Discover More

Understanding WordArt

One of the small graphical features provided with Word is the ability to apply artistic treatment to words or phrases. ...

Discover More

Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!

More ExcelTips (ribbon)

Merging Cells to a Single Sum

One way to make your worksheets less complex is to get rid of detail and keep only the summary of that detail. Here's how ...

Discover More

Deleting Everything Up to a Character Sequence

Sometimes you have too much information in a cell and you need to "pare down" what is there to get to the info you really ...

Discover More

Switching Editing Location

Excel allows you to edit the contents of a cell in two places—the cell itself or in the Formula bar. If you want to ...

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 eight more than 6?

2016-12-24 07:43:40

Petros

Undo provides a history of up-to 100 levels for a lot (but not all) of actions users perform in Excel. For example, running a macro or deleting a sheet resets the undo stack. 

Undo steps must be executed in the reverse order they were first done. You can't, for example, jump through the list picking which steps you would like to undo and leave the rest. All the work between the last step and the step you want to undo, gets undone as well.

Here is how to modify Undo levels or disable Excel's Undo history. If the Undo history is disabled, no memory will be allocated for it. Excel can use the maximum memory available in your computer, when Undo levels are set to zero.

http://www.spreadsheet1.com/excel-options-addin.html


2016-12-24 06:05:19

Willy Vanhaelen

The use of Ctrl+Y (redo) is also interesting.
It cancels the effect of the Ctrl+Z you just pressed.

So, if you make a change to a worksheet and you want to compare the result before the change and after you can press Ctrl+Z and Ctrl+Y alternatively and keep the one you like.


2016-12-24 05:50:20

Waqar Taqi

there is also a short key which is Ctrl+Y. that is used to undo the undo.

Please also mention this in your article.


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.