ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   anchoring a cell reference in formula copied or dragged over a ran (https://www.excelbanter.com/excel-discussion-misc-queries/234374-anchoring-cell-reference-formula-copied-dragged-over-ran.html)

nev4ever

anchoring a cell reference in formula copied or dragged over a ran
 
= IF(Condition,G14*b,"") where b is a constant named on another sheet,
Starting with this formula,,
How does one ensure that the cell reference "G14" remains constant when
copying the whole down a column or along a row?
taa,,
NevW

Mike H

anchoring a cell reference in formula copied or dragged over a ran
 
Hi,

Like this

= IF(Condition,$G1$4*b,"")

Note you can 'anchor' rows or columns and like above both rows and columns.

Mike

"nev4ever" wrote:

= IF(Condition,G14*b,"") where b is a constant named on another sheet,
Starting with this formula,,
How does one ensure that the cell reference "G14" remains constant when
copying the whole down a column or along a row?
taa,,
NevW


nev4ever

anchoring a cell reference in formula copied or dragged over a
 
Thanks heaps Mike,, I tried everything except $

"Mike H" wrote:

Hi,

Like this

= IF(Condition,$G1$4*b,"")

Note you can 'anchor' rows or columns and like above both rows and columns.

Mike

"nev4ever" wrote:

= IF(Condition,G14*b,"") where b is a constant named on another sheet,
Starting with this formula,,
How does one ensure that the cell reference "G14" remains constant when
copying the whole down a column or along a row?
taa,,
NevW



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

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