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

Quickly Clearing Array Contents

An array of variables is a powerful element of VBA programming. If you want to clear what is stored in an array, here's a ...

Discover More

Sharing Your Workbook

Need to allow others to contribute to your Excel workbook? It's easy to do if you just share it. This tip provides an ...

Discover More

Changing Page Margins

Part of determining page layout is to specify the size of the margins that surround the text on a page. Word allows you ...

Discover More

Save Time and Supercharge Excel! Automate virtually any routine task and save yourself hours, days, maybe even weeks. Then, learn how to make Excel do things you thought were simply impossible! Mastering advanced Excel macros has never been easier. Check out Excel 2010 VBA and Macros today!

More ExcelTips (ribbon)

Adding Spaces in Front of Capital Letters

Got some text that is 'run together' and needs spaces inserted to improve readability? There are a variety of approaches ...

Discover More

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

Ignoring Paragraph Marks when Pasting

Paste information in a worksheet, and you may end up with Excel placing it into lots of different cells. If you want it ...

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 nine minus 4?

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.