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

Black and White Blues

Getting a chart looking its best on a black-and-white printer can be a challenge. This tip examines different ways you ...

Discover More

Dealing with Long Formulas

If your worksheet formulas seem to go on forever, here's a handy way to make them more understandable. (All you need to ...

Discover More

Setting Defaults in the Cross-reference Dialog Box

Some types of documents rely on cross-references quite a bit. Setting up the Cross-reference dialog box the first time in ...

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)

Deleting Rows Containing Struck-Through Text

Excel makes it easy to delete rows in a worksheet, but it can be more difficult to figure how to delete rows if you only ...

Discover More

Requiring Input

If you distribute a workbook that is used by others for data entry, you may want a way to make sure they fill in certain ...

Discover More

Automatically Adding 20% to an Entry

When you are developing a worksheet for others to use, you may want to have entries in a particular cell (or cells) be ...

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 9 + 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.