ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How do I make a formula work for all the cells in a column? (https://www.excelbanter.com/excel-discussion-misc-queries/255403-how-do-i-make-formula-work-all-cells-column.html)

janelle

How do I make a formula work for all the cells in a column?
 
Hi,

How do I make a formula work for an entire column without having to input
each row, one at a time? Each cell in the column would be calculating from
another columns entry. I currently am inputting it like this.....

D1: =SUM(C1)-1
D2: =SUM(C2)-1
D3: =SUM(C3)-1

Is there a way for me to set the formula for the entire column eventhough it
has to reference a new cell from another column each time (as in the example
above)?

Any help would be greatly appreciated!!! =)


Lars-Åke Aspelin[_2_]

How do I make a formula work for all the cells in a column?
 
On Thu, 4 Feb 2010 13:43:02 -0800, Janelle
wrote:

Hi,

How do I make a formula work for an entire column without having to input
each row, one at a time? Each cell in the column would be calculating from
another columns entry. I currently am inputting it like this.....

D1: =SUM(C1)-1
D2: =SUM(C2)-1
D3: =SUM(C3)-1

Is there a way for me to set the formula for the entire column eventhough it
has to reference a new cell from another column each time (as in the example
above)?

Any help would be greatly appreciated!!! =)


Just put the formula in cell D1.
Then double click on the little square handle in the lower right
corner of cell D1.
The formula will automagically be filled down column D as far as you
have data in column C.
You can also "click and hold" this handle and then drag it down as far
as you need before you "unclick" it.

Hope this helps / Lars-Åke

Bob Phillips[_4_]

How do I make a formula work for all the cells in a column?
 
Just enter it in D1, then move the cursor towards the bottom right corner of
the cell until it changes to a black cross. Then, whilst holding down the
left-mouse button, drag and copy the formula down as far as required.

HTH

Bob

"Janelle" wrote in message
...
Hi,

How do I make a formula work for an entire column without having to input
each row, one at a time? Each cell in the column would be calculating
from
another columns entry. I currently am inputting it like this.....

D1: =SUM(C1)-1
D2: =SUM(C2)-1
D3: =SUM(C3)-1

Is there a way for me to set the formula for the entire column eventhough
it
has to reference a new cell from another column each time (as in the
example
above)?

Any help would be greatly appreciated!!! =)




Leah

How do I make a formula work for all the cells in a column?
 


"Janelle" wrote:

Hi,

How do I make a formula work for an entire column without having to input
each row, one at a time? Each cell in the column would be calculating from
another columns entry. I currently am inputting it like this.....

D1: =SUM(C1)-1
D2: =SUM(C2)-1
D3: =SUM(C3)-1

Is there a way for me to set the formula for the entire column eventhough it
has to reference a new cell from another column each time (as in the example
above)?

Any help would be greatly appreciated!!! =)


If you look at the active cell you should see a little square in the outline
on the bottom right corner of the cell. If you hover over the square your
cursor will change to a little cross. You can click that box and drag it
down the entire column/row. The formula will copy over and the cells will be
updated like you want.


Gord Dibben

How do I make a formula work for all the cells in a column?
 
You have fill handle answers in other replies.

Just to make your life a little easier.......

=SUM(C1)-1 can be written =C1-1

SUM is used when multiple cells are to be summed.

i.e. =SUM(C1:C10) or =SUM(C1,C4,C6,C8,C10)


Gord Dibben MS Excel MVP

On Thu, 4 Feb 2010 13:43:02 -0800, Janelle
wrote:

Hi,

How do I make a formula work for an entire column without having to input
each row, one at a time? Each cell in the column would be calculating from
another columns entry. I currently am inputting it like this.....

D1: =SUM(C1)-1
D2: =SUM(C2)-1
D3: =SUM(C3)-1

Is there a way for me to set the formula for the entire column eventhough it
has to reference a new cell from another column each time (as in the example
above)?

Any help would be greatly appreciated!!! =)




All times are GMT +1. The time now is 04:32 AM.

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