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.
Professional Development Guidance! Four world-class developers offer start-to-finish guidance for building powerful, robust, and secure applications with Excel. The authors show how to consistently make the right design decisions and make the most of Excel's powerful features. Check out Professional Excel Development today!
When you are entering information in a worksheet, it sure would be handy to have a way to "mask" the information being ...
Discover MoreThere are many different ways you may need to enter data in a worksheet. For instance, you might want to enter data in ...
Discover MoreEntering data in a worksheet can be time consuming. One of the tools that Excel provides to make entry easier is ...
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