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.

Changing Multiple Cells at Once

Written by Allen Wyatt (last updated May 13, 2022)
This tip applies to Excel 97, 2000, 2002, and 2003


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.

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

AutoFormat within Form Fields

When entering information into protected form fields, Word doesn't apply the formatting inherent in the AutoFormat As You ...

Discover More

Adding a Break to Your Document

Want to modify the way your text flows between pages in a document? Word allows you to insert several types of breaks ...

Discover More

Finding the Analysis ToolPak Add-In

The Analysis ToolPak is used to add some very handy capabilities to Excel. If you don't have it installed, and you can't ...

Discover More

Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!

More ExcelTips (menu)

How Many Rows and Columns Have I Selected?

Want a quick way to tell how may rows and columns you've selected? Here's what I do when I need to know that information.

Discover More

Limiting Entry of Prior Dates

Want to establish a "bottom limit" on what dates can be entered in a cell? This tip presents two different ways you can ...

Discover More

Picking a Contiguous Range of Cells

There are a variety of ways to pick a range of cells in Excel. Here are three of them you'll find useful.

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}] (all 7 characters, in the sequence shown) 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 one less than 9?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


This Site

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.

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.