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

Understanding the If ... End If Structure

One of the most basic of programming structures is the conditional structure: If ... End If. This tip explains how this ...

Discover More

Recalculating when Filtering

Filter a large worksheet, and Excel will helpfully recalculate every time you apply a different filter. This can get ...

Discover More

Comments in Headers and Footers

Comments can be a necessity when developing documents in conjunction with other people. They can be used to help document ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

More ExcelTips (ribbon)

Displaying an Input Format in a Cell

Want to show a user, in a cell, what you expect their input to look like? Unfortuantely it cannot be done natively in ...

Discover More

Using AutoComplete with Disjointed Lists

AutoComplete can help you to more quickly enter information in a worksheet. How it works, behind the scenes, can affect ...

Discover More

Using an Input Mask

When you are entering information in a worksheet, it sure would be handy to have a way to "mask" the information being ...

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 seven minus 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.