Copy/Paste exact formula

joeljkp

New Member
Joined
Jun 12, 2002
Messages
14
How do you copy and paste a formula over an entire column without Excel changing the formula for each cell?
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Sorry for the blank reply

Here goes:

1. Select the cell containing the formula to be copied
2. Hit F2 to enter Edit mode
3. Place an apostrophe (‘) before the ‘=’ sign to make it a string
4. Hit Enter
5. Do ^c
6. Select the col. in which you want to paste the formula
7. Hit ^v
8. Keeping the column selected, do Edit>Replace
9. In the dialog box type ‘= in the ‘Replace’ box
10. Type = in the Replace with box.
 
Upvote 0
Hi

You could also use absolute referencing. Just place a $ sign before the column and / or row parts of cell references in the formula that you don't want to change when copied. i.e.

=Sum(A1:B6) becomes =Sum($A$1:$B$6)

If you press F2 to edit your formula, you can then use F4 to toggle through the options (A1, $A$1, $A1, A$1) when the cursor is over a cell reference in your formula.

If you play around with this a little, you'll see how it works.

JayKay :)
This message was edited by JayKay on 2002-06-13 10:17
 
Upvote 0
Use dollar signs! =(A1)+(B1) will become = (A2)+(B2) when copied to the next cell down. =($A$1)+($B$1) will stay =($A$1)+($B$1) no matter where you copy it.
 
Upvote 0

Forum statistics

Threads
1,213,484
Messages
6,113,923
Members
448,533
Latest member
thietbibeboiwasaco

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top