# Copying formulas

#### BarbM

##### New Member
I have a column of figures and I want to multiply each row by a percentage. I put the percentage in cell #1 and my figures follow in the cells below. That percentage in cell #1 will change which is why I have it in a separate cell. I set the formula in cell #2 to multiply by cell #1 and it works fine. I then copy cell #2 and paste it to all of the cells below. This is where it goes wrong...

The problem is that cell #3 is now multiplying by cell #2, then cell #4 is multiplying by cell #3....it descends the formula and I don't want that to happen. I want cells 3 through 20 to multiply by cell #1 (without having to change the formula manually in each cell) so that when I change the percentage figure in cell #1 each row will adjust accordingly. This doesn't seem like much since I only have 17 cells, but that's just for the purpose of explaining the problem. I actually have hundreds to do so I thought by putting the percentage in a separate cell it would save me time. I don't want to have to adjust each cell formula when the percentage changes.

I'm sure it's something very simple, but I don't know how to make that happen.

### Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Welcome to the board.

Use absolute references to cell #1

=A2*A\$1

As dragged down that will change to
=A3*A\$1
=A4*A\$1
=A5*A\$1
etc.

Hit F4 to put dollar signs around the reference, then it won't change.

Use \$ to block the cell row and/or column when dragging up/down or left/right:

A1 will change when dragging in either direction
A\$1 will always refer to row 1 when dragging up/down; column will change when dragging left/right
\$A1 will Always refer to column A when dragging left/right; row will change when dragging up/down.
\$A\$1 will Always refer to \$A\$1, no matter in which direction the formula will be dragged

When editing a formula, you can toggle over the 4 possibilities by using F4 when your cursor is on a cell reference.

Last edited:
Thank you to everyone who replied. My experience with excel is limited but boy the time I could have saved over the years if I had known about absolute references! This worked perfectly!

You're welcome.

Replies
0
Views
242
Replies
3
Views
275
Replies
5
Views
111
Replies
6
Views
137
Replies
5
Views
259

1,196,425
Messages
6,015,171
Members
441,882
Latest member
LostinExcelHelp

### 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.

### Which adblocker are you using?

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

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