You are viewing the article How to Copy Formulas in Excel at Lassho.edu.vn you can quickly access the necessary information in the table of contents of the article below.
This article is co-authored by a team of editors and trained researchers who confirm the accuracy and completeness of the article.
The wikiHow Content Management team carefully monitors the work of editors to ensure that every article is up to a high standard of quality.
This article has been viewed 11,084 times.
The Excel program has a feature that makes it easy for users to copy formulas for whole rows or columns, but you don’t always get the results you want. When you get unexpected results or get #REF and /DIV0 errors, you will probably feel unhappy. Don’t worry, though – you don’t need to edit every cell in a 5,000-line spreadsheet. This article will provide some simple ways to help you copy formulas to other cells.
Steps
Use Find and Replace to copy exact formulas
Column A | Column OVER | OLD Column | Column EASY |
---|---|---|---|
line 1 | 944 | Frog | = A1 /2 |
line 2 | 636 | Toad | = A2 /2 |
line 3 | 712 | The lizard | = A3 /2 |
line 4 | 690 | Snake | = A4 /2 |
- If you want to copy the formula in a cell, skip to the last step (“Try Other Ways”) of this section.
Column A | Column OVER | OLD Column | Column EASY |
---|---|---|---|
line 1 | 944 | Frog | ##& A1 /2 |
line 2 | 636 | Toad | ##& A2 /2 |
line 3 | 712 | The lizard | ##& A3 /2 |
line 4 | 690 | Snake | ##& A4 /2 |
- Do not use the * or ? to avoid difficulties in the following steps.
Column A | Column OVER | OLD Column | Column EASY | |
---|---|---|---|---|
line 1 | 944 | Frog | ##& A1 /2 | ##& A1 /2 |
line 2 | 636 | Toad | ##& A2 /2 | ##& A2 /2 |
line 3 | 712 | The lizard | ##& A3 /2 | ##& A3 /2 |
line 4 | 690 | Snake | ##& A4 /2 | ##& A4 /2 |
Column A | Column OVER | OLD Column | Column EASY | |
---|---|---|---|---|
line 1 | 944 | Frog | = A1 /2 | = A1 /2 |
line 2 | 636 | Toad | = A2 /2 | = A2 /2 |
line 3 | 712 | The lizard | = A3 /2 | = A3 /2 |
line 4 | 690 | Snake | = A4 /2 | = A4 /2 |
- To copy a formula in a cell without changing the reference, you would select the cell and then copy the formula that appears in the formula bar near the top of the window (not in that cell). Press Esc to close the formula bar, and then paste the formula wherever needed.
- Press Ctrl and ` (also the ~ key) to view the worksheet in formula view. Copy the formulas and paste them into a text editing tool such as Notepad or TextEdit. Copy them again, and then paste them where you want them in the spreadsheet. Next, press Ctrl and ` again to return to the normal view.
Fill in the formula by column or row
Column A | Column OVER | OLD Column | |
---|---|---|---|
line 1 | ten | 9 | 19 |
line 2 | 20 | 8 | |
line 3 | 30 | 7 | |
line 4 | 40 | 6 |
Column A | Column OVER | OLD Column | |
---|---|---|---|
line 1 | ten | 9 | = A1 + B1 |
line 2 | 20 | 8 | = A2 + B2 |
line 3 | 30 | 7 | = A3 + B3 |
line 4 | 40 | 6 | = A4 + B4 |
Column A | Column OVER | OLD Column | |
---|---|---|---|
line 1 | ten | 9 | 19 |
line 2 | 20 | 8 | 28 |
line 3 | 30 | 7 | 37 |
line 4 | 40 | 6 | forty six |
- You can also double-click the plus sign to fill the entire column instead of dragging. The Excel program will stop filling in the column when it sees a blank cell. If the reference data has gaps, you’ll have to repeat this step to populate the column below that gap.
- Another way to duplicate a formula for an entire column is to select the cell directly below the cell containing the formula and press Ctrl + D . [2] X Research Source
Copy formula to multiple cells with paste operation
Column A | Column OVER | OLD Column | |
---|---|---|---|
line 1 | ten | 9 | 19 |
line 2 | 20 | 8 | |
line 3 | 30 | 7 | |
line 4 | 40 | 6 |
Use relative and absolute cell references
Column A | Column OVER | OLD Column | |
---|---|---|---|
line 2 | 50 | 7 | = A2 *2 |
line 3 | 100 | ||
line 4 | 200 | ||
line 5 | 400 |
Column A | Column OVER | OLD Column | |
---|---|---|---|
line 2 | 50 | 7 | = A2 *2 |
line 3 | 100 | ||
line 4 | 200 | = A4 *2 | |
line 5 | 400 |
- This also works with cells outside the worksheet but in the same row and column. If you copied the formula from cell C1 to cell D6 (not shown), Excel changes the “A2” reference to the cell in the right adjacent column (C→D) and down 5 lines (2→7) , or “B7”.
- Relative column, absolute row (B$3): The formula has an absolute reference to line 3, so it always refers to line 3:
Column A Column OVER OLD Column line 1 50 7 = B$3 line 2 100 = A$3 = B$3 line 3 200 = A$3 = B$3 line 4 400 = A$3 = B$3 - Absolute column, relative row ($B1): The formula has an absolute reference to column B, so it always refers to column B.
Column A Column OVER OLD Column line 1 50 7 = $B1 line 2 100 = $B2 = $B2 line 3 200 = $B3 = $B3 line 4 400 = $B4 = $B4 - Absolute row and column ($B$1): The formula has an absolute reference to column B of row 1, so it always refers to column B of row 1.
Column A Column OVER OLD Column line 1 50 7 = $B$1 line 2 100 = $B$1 = $B$1 line 3 200 = $B$1 = $B$1 line 4 400 = $B$1 = $B$1
Advice
- If you copy the formula to a new cell and see a green triangle, Excel has identified a possible error. Take a close look at the recipe to find out the cause. [4] X Research Sources
- If you accidentally change the = sign to a ? or * in the “copy exact formula” method, finding the “?” or “*” will not give you the expected result. You can fix the problem by searching for “~?” or “~*”. [5] X Research Sources
- Select the cell and press Ctrl ‘ (apostrophe) to copy the formula of the cell above into it.
Warning
- Other versions of Excel may look different from the screenshots in the article.
This article is co-authored by a team of editors and trained researchers who confirm the accuracy and completeness of the article.
The wikiHow Content Management team carefully monitors the work of editors to ensure that every article is up to a high standard of quality.
This article has been viewed 11,084 times.
The Excel program has a feature that makes it easy for users to copy formulas for whole rows or columns, but you don’t always get the results you want. When you get unexpected results or get #REF and /DIV0 errors, you will probably feel unhappy. Don’t worry, though – you don’t need to edit every cell in a 5,000-line spreadsheet. This article will provide some simple ways to help you copy formulas to other cells.
Thank you for reading this post How to Copy Formulas in Excel at Lassho.edu.vn You can comment, see more related articles below and hope to help you with interesting information.
Related Search: