Copy cell formula help

G

Guest

I've created a spreadsheet with a dozen colums and about 150 rows.
in the 1st row cells I have a conditional formula which states Sumif "cell
Range", "Salesman Name", "Copycell Range".

I'm trying to copy and paste the whole column in the hopes I retain the same
cell ranges and formula, but evertime I paste from column A to Column B the
whole range shifts the column range.

My question is this;

Is there a way to keep the conditions in the formula from changing?

Please help.
 
D

Dave O

The way to do this is add "$" to the formula. The $ acts as an
"anchor" that prevents the automatic shift that occurs when you copy
from column A to column B. For instance:
=SUM($A10:$A20) prevents the column reference from changing, but allows
the row numbers to change.
=SUM(A$10:A$20) prevents the row number from changing but allows the
column reference to change.
=SUM($A$10:$A$20) locks both the column reference and the row
reference, allowing neither to change.

This takes a bit of getting used to, so be careful at first to make
sure it is behaving as you need it to. Also, a hint: when you're
writing or editting the formula, you can press the F4 key a number of
times to apply the anchors.
 
G

Guest

I you don't want to range to change then you need to enter $ in front of it.
Example: instead of A1:C8 you would have $A$1:$C$8. If you only want the
column or the row to stay the same then just put the $ in front of that part.
This can all easily be done by clicking F4 when you are on that formula.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top