When you copy and paste the formula to a new location the formulas relative references do not change?

Categories: Formulas

Have you ever copied a formula to another tab in your workbook, and the result was not at all what you expected? Moved a formula to a new location and were surprised that it didn’t change?

References in Excel work just as you would expect in most situations; but to understand how to fix the problem formulas, you need to know a little bit about how Excel formula references work in the Excel environment.

Relative References

“Relative reference” means that the formula changes when you copy it to another cell. In other words, the reference is relative to the location of the formula.

Try it. In cell A1, enter “20”; and in cell A2, enter “30”. In cell B1, enter the formula “=A1+1”.

When you copy and paste the formula to a new location the formulas relative references do not change?

Now copy the formula in cell B1:

  • Click on cell B1.
  • Click the Copy button. The selection rectangle surrounding B1 will change to moving dashes.
  • Select cell B2.
  • Click the Paste button.

Now examine the formula in B2, and you’ll find that, instead of “=A1+1”, it shows “=A2+1”. The reference to A1 has changed to refer to A2. This is how a relative reference behaves. Wherever you copy this formula, you’ll find that it operates similarly, always referring to the cell directly to the left of the formula.

When you copy and paste the formula to a new location the formulas relative references do not change?

Absolute References

Excel defaults to relative references because that’s what you’ll need more often than not, yet sometimes you want a formula always to point to the original source. You can do this with an “absolute reference,” which means that the formula does not change when you copy it to another cell.

In the example above, edit the formula in cell B1 by inserting dollar signs in front of the “A” and the “1” in the cell reference.

Now copy the formula in cell B1 down to B2 and examine the result. Instead of changing to “=A2+1”, it shows “=$A$1+1”, just as you typed it in B1. Wherever you copy a formula with an absolute reference, it will always to point to the original source.

When you copy and paste the formula to a new location the formulas relative references do not change?

Mixed References

Sometimes you need a formula always to refer to the original source column, but to change with each row. You can do this with a mixed reference—that is, one that is made up partially of relative references and partially of absolute references.

In the example above, change the formula in B1 to “=$A1+1”. Now copy it to a cell in a different column and a different row. Wherever you paste the formula, it always refers to column A, but the row changes to the current row.

When you copy and paste the formula to a new location the formulas relative references do not change?

Single-Column References

Excel provides an alternative method of referring to the cell in a specific column of the current row: by referring only to the column, leaving the row out of the reference. In the example above, change the formula in B1 to “=$A:$A+1” and copy this formula anywhere in the spreadsheet.

When you copy and paste the formula to a new location the formulas relative references do not change?

Because of the dollar signs, this formula refers to the value in column A, regardless of where you paste it; and because the row is not specified, it always refers to the current row.

Next Steps

Excel’s relative and absolute references provide you the ability to create powerful formulas that can be copied across multiple rows and columns, always returning the answers that you need. For a next step, try using range names, which act like absolute references but, by using your own custom names, make your formulas easier to read and maintain.

PRYOR+ 7-DAYS OF FREE TRAINING


Courses in Customer Service, Excel, HR, Leadership, OSHA and more. No credit card. No commitment. Individuals and teams.


  • -- By Sumit Bansal

Watch Video – Copy and Paste Formulas in Excel without Changing Cell References

When you copy and paste formulas in Excel, it automatically adjusts the cell references.

For example, suppose I have the formula =A1+A2 in cell B1. When I copy the cell B1 and paste it in B2, the formula automatically becomes =A2+A3.

This happens as Excel automatically adjusts the references to make sure the rows and columns now refer to the adjusted rows and columns.

Note: This adjustment happens when you’re using relative references or mixed references. In the case of absolute references, the exact formula gets copied.

Copy and Paste Formulas in Excel without Changing Cell References

When using relative/mixed references in your formulas, you may – sometimes – want to copy and paste formulas in Excel without changing the cell references.

Simply put, you want to copy the exact formula from one set of cells to another.

In this tutorial, I will show you how you can do this using various ways:

  • Manually Copy Pasting formulas.
  • Using ‘Find and Replace’ technique.
  • Using the Notepad.

Manually Copy Paste the Exact Formula

If you only have a handful of formulas that you want to copy and paste without changing the cell references, doing it manually would be more efficient.

To copy paste formulas manually:

  • Select the cell from which you want to copy the formula.
  • Go to the formula bar and copy the formula (or press F2 to get into the edit mode and then copy the formula).
  • Select the destination cell and paste the formula.

Note that this method works only when you have a few cells from which you want to copy formulas.

If you have a lot, use the find and replace technique shown below.

Using Find and Replace

Here are the steps to copy formulas without changing the cell references:

This will convert the text back into the formula and you will get the result.

Note: If you use the # character as a part of your formula, you can use any other character in Replace with (such as ‘ZZZ’ or ‘ABC’).

Using Notepad to Copy Paste Formulas

If you have a range of cells where you have the formulas that you want to copy, you can use a Notepad to quickly copy and paste the formulas.

Here are the steps to copy formulas without changing the cell references:

  • Go to Formulas –> Show Formulas. This will show all the formulas in the worksheet.
    When you copy and paste the formula to a new location the formulas relative references do not change?
  • Copy the cells that have the formulas that you want to copy.
  • Open a notepad and paste the cell contents in the notepad.
  • Copy the content on the notepad and paste in the cells where you want the exact formulas copied.
  • Again go to Formulas –> Show formulas.

Note: Instead of Formulas –> Show formulas, you can also use the keyboard shortcut Control + ` (this is the same key that has the tilde sign).

You May Also Like the Following Tutorials:

  • How to Convert Formulas to Values in Excel.
  • Show Formulas in Excel Instead of the Values.
  • How to Lock Formulas in Excel.
  • Understanding Absolute, Relative, and Mixed Cell References in Excel.
  • How to reference another sheet in Excel.
  • How to Remove Cell Formatting in Excel
  • How to Copy Excel Table to Word
  • How to Copy and Paste Column in Excel?
  • How to Multiply a Column by a Number in Excel

When you copy and paste the formula to a new location the formulas relative references do not change?

Get 51 Excel Tips Ebook to skyrocket your productivity and get work done faster

31 thoughts on “How to Copy and Paste Formulas in Excel without Changing Cell References”

  1. Thank you for your help.
    “Using Find and Replace” is very good option. it really works.

  2. Thank you very much

  3. BROOOOOO! This was so smart and easy. Thanks my friend!

  4. Excellent. That has made my work today so much easier!!

  5. Thanks you so much! This Helped me a lot!!

  6. Great! Thanks for the teaching! Loving the Notepad method

  7. Amazing….such a nice n easy way to do it with replace..thanks a lot

  8. Thanks alot. really helpful

  9. Nice. Very well explained, thank you.

  10. OH. MY. GOSH. I’m 10 hours of copying and pasting formulas but this has saved me at least a few more and countless future hours! Replacing = with #, pasting, then replacing # with =. It’s so simple… why didn’t I think of it. 🙂 Thank you!

  11. Thanks a lot Simple & Eazy

  12. # is best and easiest solution, thanks a lot!!! very clever!

  13. thanks a lot

  14. This saved me tonnes of work. Thanks so much!

  15. For a copying and pasting a large array of formulas comprising both relative and absolute references to different cells, sheets and workbooks, the ‘find and replace’ has proven to be convoluted, time consuming and problematic. One has to ‘cherry pick’ through the array to ensure which of one’s relative cell references are not to be changed.
    I migrated to excel from lotus-123; as a comparison using ‘123’ back then, one would simply ‘highlight rows (or columns)’, ‘copy’, ‘insert’ equal rows (or columns), then ‘paste’ – quick and most importantly no cherry picking errors.
    Excel’s ‘insert copied cells’ command hides the ‘insert row or column’ command, therefore one cannot emulate the ‘123’ way. Even if one tries the ‘insert sheet rows (or columns)’ command then attempt to paste directly from ‘clipboard’, only text and not formulas are pasted.

  16. amazing!
    thanks
    saved me 20 min. of work…

  17. THIS IS AWESOME! – THE # = TRICK. GENIUS!
    THANK U VERY MUCH!

    • Agree! This is so simple, but very helpful. Thanks!

  18. I have a cell reference issue I hope someone can help me with. I have a cell outside of a range that I always want to refer to a specific cell inside of the range, even when cells are inserted or deleted from the range. For example, cell A10 refers to C10 in the range B1:D200. If someone inserts cells B7:D13, I still want A10 to refer to C10, not C17. I think I need a helper column that has the text “C10” in cell E10. What is the Function that gets A10 to use the static text in E10 to refer to cell C10?

    • You can use the INDIRECT function. This should work =INDIRECT(“C10”). If you have text C10 in cell E10, just use =INDIRECT(E10)

      • Thanks. That is the Function I was looking for, but could not remember.

      • Even though INDIRECT is less complicated, can you tell me why CELL(“contents”,ADDRESS(10,3)) didn’t work?

        • Jim,
          although these are functions I’ve never had cause to use, I think this might be because the $C$10 from the ADDRESS function is seen as text, not a cell reference
          CELL(“contents”,”$C$10″) certainly does not work
          regards,
          t’other jim

      • although INDIRECT is the way to go with this, you could also use OFFSET:
        =OFFSET(A10,,2) should work
        both are volatile formulae (will recalculate on every worksheet change), which you might be able to avoid by using =INDEX(C:C,10) which would only fail your requirements if a whole column were inserted or deleted somewhere between A:A and C:C

        • taking this a step further, =INDEX(1:1048576,10,3) will always refer to C10 – but it’s very clumsy-looking

    • I’ve made a step in the right direction. ADDRESS(10,3) results in $C$10 and it does not change when cell C10 is moved. CELL(“contents”,$C$10) gives me the proper result. However, CELL(“contents”,ADDRESS(10,3)) is not even accepted. What is wrong with the nested formula?

      • you should use “=CELL(“contents”, INDIRECT(ADDRESS(10,3,1,1,”Sheet1″),1))” as there are certain arguments to ADDRESS function which ADDRESS(10,3) is not capturing and those arguments are not optional.

  19. I think Bansal’s point was that sometimes you can have a range of dynamic formulae that you want to replicate elsewhere
    I’ve had this situation occur before but I never thought of using the Notepad method – thanks for that, another weapon in my arsenal

  20. Absolute cell reference is the best. i.e. =A$1$ + B$1$ this cell is locked in that way.

  21. I use absolute/Dynamic references for doing this

    • I love method 3. Thanks you.

Comments are closed.

When you copy and paste the formula to a new location the formulas relative references do not change true or false?

Relative and absolute references behave differently when copied and filled to other cells. Relative references change when a formula is copied to another cell. Absolute references, on the other hand, remain constant no matter where they are copied.

Do relative cell references change when copied?

A formula that contains a relative cell reference changes as you copy it from one cell to another. For example, if you copy the formula =A2+B2 from cell C2 to C3, the formula references in C3 adjust downward by one row and become =A3+B3.

When you copy the formula and paste it to another cell the reference of cells do not gets changed?

Press F2 (or double-click the cell) to enter the editing mode. Select the formula in the cell using the mouse, and press Ctrl + C to copy it. Select the destination cell, and press Ctl+V. This will paste the formula exactly, without changing the cell references, because the formula was copied as text.

When you copy a formula to a new location changes automatically?

The correct answer is Relative Reference. With relative cell referencing, when we copy a formula from one area of the worksheet to another, it records the position of the cell relative to the cell that originally contained the formula.