ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   remain constant in a copy & paste (https://www.excelbanter.com/new-users-excel/77873-remain-constant-copy-paste.html)

Viviank

remain constant in a copy & paste
 
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


davesexcel

remain constant in a copy & paste
 

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

You need absolute value, when you select the range press F4


--
davesexcel
------------------------------------------------------------------------
davesexcel's Profile: http://www.excelforum.com/member.php...o&userid=31708
View this thread: http://www.excelforum.com/showthread...hreadid=523353


Max

remain constant in a copy & paste
 
=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 ...


--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---



Viviank

remain constant in a copy & paste
 
Thanks a lot. That was the help I needed.

"Max" wrote:

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


--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---




Max

remain constant in a copy & paste
 
You're welcome, Viviank !
Thanks for feeding back ..
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Viviank" wrote in message
...
Thanks a lot. That was the help I needed.




SteveW

remain constant in a copy & paste
 
On Fri, 17 Mar 2006 21:19:23 +0800, "Max"
wrote:

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


--

Steve


All times are GMT +1. The time now is 03:01 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com