remain constant in a copy & paste

G

Guest

I want to set up a column of numbers
at the bottom I want to show a total of the numbers
in column b I want to show what % column a is of the total
That's easy enough, but when I copy and paste the total tries to move down a
row skewing my calculations.

In other words in the formula in cell b1 =a1/sum(a1:a10)
when I copy and paste it to cell b2 it becomes =a2/sum(a2:a11)
and I want the sum portion to remain constant
- in other words =a2/sum(a1:a10)

Please help.

Thank you

Vivian
 
D

davesexcel

=A1/SUM($A$1:$A$10)
=A2/SUM($A$1:$A$10)

You need absolute value, when you select the range press F
 
M

Max

=A1/SUM($A$1:$A$10)

and with the above entered in B1,
to copy B1 down, we could simply drag the fill handle
(i.e. the "black square" at the bottom right-hand corner of cell B1)
instead of:
.. I copy and paste it to cell b2 ...


---
 
G

Guest

Thanks a lot. That was the help I needed.

Max said:
and with the above entered in B1,
to copy B1 down, we could simply drag the fill handle
(i.e. the "black square" at the bottom right-hand corner of cell B1)
instead of:
 
S

SteveW

You're welcome, Viviank !
Thanks for feeding back ..

of course, you have already calculate the sum
so b1 = a1/$a$11
and then drag b1 down to b10
would save 10 extra calculations
 

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

Similar Threads

excel formula 1
Copy formula 4
Stopping a constant variable cell from being copied. 3
Copy & Paste 1
Excel Conditional Formatting 1
Sorting 1
Copy/Fill increments 8
Bug in Excel? 2

Top