How to copy formula without changing its cell references in Excel?
Normally Excel adjusts the cell references if you copy your formulas to another location in your worksheet. You would have to fix all cell references with a dollar sign ($) or press F4 key to toggle the relative to absolute references to prevent adjusting the cell references in formula automatically. If you have a range of formulas need to be copied, these methods will be very tedious and time-consuming. If you want to copy the formulas without changing cell references quickly and easily, try the following methods:
- Method 1: by Replace feature
- Method 2: by converting formula to text
- Method 3: by converting to absolute references
- Method 4: by Exact Copy feature
Copy formulas exactly/ statically without changing cell references in Excel
Kutools for Excel Exact Copy utility can help you easily copy multiple formulas exactly without changing cell references in Excel, preventing relative cell references updating automatically. Click for 60-day free trial!
Copy formula without changing its cell references by Replace feature
In Excel, you can copy formula without changing its cell references with Replace function as following steps:
1. Select the formula cells you will copy, and click Home > Find & Select > Replace, or press shortcuts CTRL+H to open the Find & Select dialog box.
2. Click Replace button, in the Find what box input “=”, and in the Replace with box input “#” or any other signs that different with your formulas, and click the Replace All button.
Basically, this will stop the references from being references. For example, “=A1*B1” becomes “#A1*B1”, and you can move it around without excel automatically changing its cell references in current worksheet.
3. And now all “=” in selected formulas are replaced with “#”. And a dialog box comes out and shows how many replacements have been made. Please close it. See above screenshot:
And the formulas in the range will be changed to text strings. See screenshots:
4. Copy and paste the formulas to the location that you want of the current worksheet.
5. Select the both changed ranges, and then reverse the step 2. Click Home> Find & Select >Replace… or press shortcuts CTRL+H, but this time enter “#” in the Find what box, and “=” in the Replace with box, and click Replace All. Then the formulas have been copied and pasted into another location without changing the cell references. See screenshot:
Copy formula without changing its cell references by converting formula to text
Above method is to change the formula to text with replacing the = to #. Actually, Kutools for Excel provide such utilities of Convert Formula to Text and Convert Text to Formula. And you can convert formulas to text and copy them to other places, and then restore these text to formula easily.
Kutools for Excel - Combines More Than 120 Advanced Functions and Tools for Microsoft Excel |
1. Select the formula cells you will copy, and click Kutools > Content > Convert Formula to Text. See screenshot:
2. Now selected formulas are converted to text. Please copy them and paste into your destination range.
3. And then you can restore the text strings to formula with selecting the text strings and clicking Kutools > Content > Convert Text to Formula. See screenshot:
Copy formula without changing its cell references by converting to absolute references
The formulas changes after copying as a result of relative references. Therefore, we can apply Kutools for Excel’s Convert Refers utility to change the cell references to absolute to prevent from changing after copying in Excel.
Kutools for Excel - Combines More Than 120 Advanced Functions and Tools for Microsoft Excel |
1. Select the formula cells you will copy, and click Kutools > Convert Refers.
2. In the opening Convert Formula References dialog box, please check the To absolute option and click the Ok button. See screenshot:
3. Copy the formulas and paste into your destination range.
Note: If necessary, you can restore the formulas’ cell references to relative by reusing the Convert Refers utility again.
Copy formula without changing its cell references by Kutools for Excel
Is there an easier way to copy formula without changing its cell references this quickly and comfortably? In actual, Kutools for Excel can help you copy formulas without changing its cell references quickly.
Kutools for Excel - Combines More Than 120 Advanced Functions and Tools for Microsoft Excel |
1. Select the formula cells you will copy, and click Kutools > Exact copy.
2. In the first Exact Formula Copy dialog box, please click OK. And in the second Exact Formula Copy dialog box, please specify the first cell of destination range, and click the OK button. See screenshot:
Tip: Copy formatting option will keep all cells formatting after pasting the range, if the option has been checked.
And all selected formulas have been pasted into the specified cells without changing the cell references. See screenshot:
Demo: copy formulas without changing cell references in Excel
Tip: In this Video, Kutools tab and Enterprise tab are added by Kutools for Excel. If you need it, please click here to have a 60-day free trial without limitation!
Recommended Productivity Tools
Office Tab
Bring handy tabs to Excel and other Office software, just like Chrome, Firefox and new Internet Explorer.
Kutools for Excel
Amazing! Increase your productivity in 5 minutes. Don't need any special skills, save two hours every day!
200 New Features for Excel, Make Excel Much Easy and Powerful:
- Merge Cell/Rows/Columns without Losing Data.
- Combine and Consolidate Multiple Sheets and Workbooks.
- Compare Ranges, Copy Multiple Ranges, Convert Text to Date, Unit and Currency Conversion.
- Count by Colors, Paging Subtotals, Advanced Sort and Super Filter,
- More Select/Insert/Delete/Text/Format/Link/Comment/Workbooks/Worksheets Tools...
Comments
Quote:
This is a better option for myself and it works great; I don't need anymore add-ins.
ctrl+' will display all formulas
copy the whole area you need.
open notepad
paste it there
copy from notepad
paste in the desired area.
done :)
cheers
Your "Copy formula without changing its cell references by Replace feature" tip worked perfectly and did the job in like 10 seconds.
Brilliant!!