ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   function problem regarding cell range (https://www.excelbanter.com/excel-worksheet-functions/54701-function-problem-regarding-cell-range.html)

chindo

function problem regarding cell range
 

I have a function that takes in a range of cells, but when I want to do
a fill (or hold down ctrl-d to copy the function over multiple cells in
the same column), the range of cells changes from A1:B9 to A2:B10, and
the next function will take in A3:B11 and so on. How do I stop this
automatic changing from occuring so that it only takes in A1:B9 in
every single cell?


--
chindo
------------------------------------------------------------------------
chindo's Profile: http://www.excelforum.com/member.php...o&userid=28669
View this thread: http://www.excelforum.com/showthread...hreadid=483767


bpeltzer

function problem regarding cell range
 
You need to change your references to absolute: $A$1:$B$9. If you click the
cell with the first formula and highlight the cell references in the formula
bar, hitting function key F4 cycles between relative (A1), absolute ($A$1),
and the two mixed ($A1 and A$1) references.
Check Excel's help 'About cell and range references.'
--Bruce

"chindo" wrote:


I have a function that takes in a range of cells, but when I want to do
a fill (or hold down ctrl-d to copy the function over multiple cells in
the same column), the range of cells changes from A1:B9 to A2:B10, and
the next function will take in A3:B11 and so on. How do I stop this
automatic changing from occuring so that it only takes in A1:B9 in
every single cell?


--
chindo
------------------------------------------------------------------------
chindo's Profile: http://www.excelforum.com/member.php...o&userid=28669
View this thread: http://www.excelforum.com/showthread...hreadid=483767




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

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