Please Note: This article is written for users of the following Microsoft Excel versions: 97, 2000, 2002, and 2003. If you are using a later version (Excel 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Excel, click here: Changing Multiple Cells at Once.
by Allen Wyatt
(last updated September 6, 2016)
David has several non-adjacent cells that each contain the same formula. He needs to change the formula in all the cells to something else. He knows he can change the formula in one of the cells and then copy the formula to the other cells, but he's wondering if there is a way to change the formula in all the cells at the same time, without the need to do the copy/paste operation.
If you want to retype the formula from scratch, Excel actually provides a shortcut to do this: Ctrl+Enter. All you need to do is create a selection set of the cells you want to edit. (Selection sets are created by clicking on a single cell then, as you hold down the Ctrl key, clicking on other cells you want included in the set.) Type the formula you want to appear in each cell in the set, then press Ctrl+Enter.
If you want to change an existing formula in the cells, simply create your selection set of those cells and then use Find and Replace to search for the formula you want to change. You can easily click on Replace All in the dialog box to change all the cells at once. (Remember—this approach will only work properly if the formulas in the cells are all exactly the same.)
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (11923) applies to Microsoft Excel 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Excel (Excel 2007 and later) here: Changing Multiple Cells at Once.
Program Successfully in Excel! John Walkenbach's name is synonymous with excellence in deciphering complex technical topics. With this comprehensive guide, "Mr. Spreadsheet" shows how to maximize your Excel experience using professional spreadsheet application development tips from his own personal bookshelf. Check out Excel 2013 Power Programming with VBA today!
Select a range of cells, and one of those cells will always be the starting point for the range. This tip explains how to ...Discover More
Need to figure out if a cell contains a number so that your formula makes sense? (Perhaps it would return an error if the ...Discover More
Data validation can be used to create lists of choices for entry into a particular cell. Using the techniques in this tip you ...Discover More
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon interface.