Written by Allen Wyatt (last updated April 17, 2021)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, and 2021
As you are entering information in a cell, you may want to cancel what you are entering. For instance, you may have selected the wrong cell before you started typing, and you want to "back out" of the edit you are making.
There are two ways you can do this. The first is to simply press the Esc key and the other is to click on the X just to the left of the Formula bar. (In Excel 2007 and Excel 2010 the X only appears after you start typing. In Excel 2013 and later versions the X is always visible, but it is only clickable after you start typing.) Regardless of the method you choose, Excel undoes your changes and returns the cell to its state just before you started typing.
If you make a mistake and press Enter, Excel replaces the contents of the cell with whatever you were typing. To undo this, you should use the Undo feature of Excel: simply press Ctrl+Z or click on the Undo tool at the top-left corner of the program window.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (10630) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, and 2021. You can find a version of this tip for the older menu interface of Excel here: Canceling an Edit.
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!
The fill handle can save a huge amount of time when you are editing a worksheet. If you are really good at using the ...
Discover MoreExcel makes it easy to select a group of contiguous cells. However, it also makes it easy to select non-contiguous groups ...
Discover MoreNeed to get rid of everything in a worksheet except for your formulas? You can do it rather easily by applying the ideas ...
Discover MoreFREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)
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.
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2025 Sharon Parq Associates, Inc.
Comments