ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Keeping one part of a formula same, but change other cell ref? (https://www.excelbanter.com/excel-discussion-misc-queries/26453-keeping-one-part-formula-same-but-change-other-cell-ref.html)

kwelp

Keeping one part of a formula same, but change other cell ref?
 
How do I keep one part of a cell formula the same, but change the other
referenced cell? Example: =sum(D2/D9) where D9 stays the same, but D2 will
change to D3, D4, etc.

Peo Sjoblom

First of all, the sum function is not necessary when you only have 2 cells
that you divide

=D2/$D$9

--
Regards,

Peo Sjoblom


"kwelp" wrote in message
...
How do I keep one part of a cell formula the same, but change the other
referenced cell? Example: =sum(D2/D9) where D9 stays the same, but D2
will
change to D3, D4, etc.



kwelp

thank you, couldn't remember the "$" sign to keep a cell reference constant.
I am using more than two cells, a whole list as a matter of fact.

"Peo Sjoblom" wrote:

First of all, the sum function is not necessary when you only have 2 cells
that you divide

=D2/$D$9

--
Regards,

Peo Sjoblom


"kwelp" wrote in message
...
How do I keep one part of a cell formula the same, but change the other
referenced cell? Example: =sum(D2/D9) where D9 stays the same, but D2
will
change to D3, D4, etc.




Dana DeLouis

You may want to know about the F4 button as well. As you finish typing
"D9", hit the F4 button to cycle thru the options. It will place the "$" in
the cell address for you. HTH :)

--
Dana DeLouis
Win XP & Office 2003


"kwelp" wrote in message
...
thank you, couldn't remember the "$" sign to keep a cell reference
constant.
I am using more than two cells, a whole list as a matter of fact.

"Peo Sjoblom" wrote:

First of all, the sum function is not necessary when you only have 2
cells
that you divide

=D2/$D$9

--
Regards,

Peo Sjoblom


"kwelp" wrote in message
...
How do I keep one part of a cell formula the same, but change the other
referenced cell? Example: =sum(D2/D9) where D9 stays the same, but D2
will
change to D3, D4, etc.







All times are GMT +1. The time now is 09:09 PM.

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