copy formula

V

Vercingetorix.XIII

How do I get a formula to copy and keep same cell range? example:

=SUMIF('Flash Update'!B1:B20,"PE",'Flash Update'!D1:D20)

when I copy it to another cell it comes out as:

=SUMIF('Flash Update'!B2:B21,"PE",'Flash Update'!D2:D21)

I'd like it to stay same range and if possible update the "PE" to whatever
"x" I need instead of having to edit each one manually...

V.XIII
 
Joined
Apr 29, 2008
Messages
66
Reaction score
0
If you use $B$1:$B$20, when you copy the formula to another cell, it will remain as $B$1:$B$20. However to get the "PE" to change you will need to make it the reference to a cell containing "PE" without $s, e.g. Z1 or $Z1.
$Z1 will become $Z2 when copied to the next row down but will remain $Z2 when copied to a cell in another column in the same row.
HTH,
Paul
 

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