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

Stubborn Highlighting

When you make extensive edits to a document and those edits include changing the formatting of numbered or bulleted lists, ...

Discover More

Ampersands in Headers and Footers

Add an ampersand to the text in a header or footer and you may be surprised that the ampersand disappears on your printout. ...

Discover More

Hyperlinks No Longer Work in a Workbook

Hyperlinks can be a great timesaver and very convenient. Unless, of course, if they don't work as you expect. This tip ...

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)

Understanding AutoComplete

Entering data in a worksheet can be time consuming. One of the tools that Excel provides to make entry easier is ...

Discover More

Copying Cells to Fill a Range

Excel provides two really helpful shortcuts you can use to fill a range of cells, either horizontally or vertically. These ...

Discover More

Symbols Convert to Numbers in Excel

Insert a symbol into a cell, and it should stay there, right? What if the symbol changes to another character, such as a ...

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 4 + 2?

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.