Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
 
Posts: n/a
Default Cell references change when entering new data

"X-No-Archive: yes"

In cell E1, I have the formula =COUNTIF($A1:$C20,$D$1)5

If I enter new data in A:C the cell references in the formula change. I
will be autofilling the formula in column E, so the relative references
$A1:$C20 will have to change. ie

Cell E2 =COUNTIF($A2:$C21,$D$1)5

How do I use INDIRECT or an alternative function so that the cell
references do not change when entering data. The simplest formula
adaptation please, since I will be using the methodology in numerous
complex/nested formulas.

Thanks

  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

To lock A1:C20 using indirect you can use

=COUNTIF(INDIRECT("$A1:$C20"),$D$1)5


Regards,

Peo Sjoblom



" wrote:

"X-No-Archive: yes"

In cell E1, I have the formula =COUNTIF($A1:$C20,$D$1)5

If I enter new data in A:C the cell references in the formula change. I
will be autofilling the formula in column E, so the relative references
$A1:$C20 will have to change. ie

Cell E2 =COUNTIF($A2:$C21,$D$1)5

How do I use INDIRECT or an alternative function so that the cell
references do not change when entering data. The simplest formula
adaptation please, since I will be using the methodology in numerous
complex/nested formulas.

Thanks


  #3   Report Post  
Duke Carey
 
Posts: n/a
Default

for E1, replace your $A1:$c20 reference with

OFFSET(D1,0,-3,20,3)

& copy it down



" wrote:

"X-No-Archive: yes"

In cell E1, I have the formula =COUNTIF($A1:$C20,$D$1)5

If I enter new data in A:C the cell references in the formula change. I
will be autofilling the formula in column E, so the relative references
$A1:$C20 will have to change. ie

Cell E2 =COUNTIF($A2:$C21,$D$1)5

How do I use INDIRECT or an alternative function so that the cell
references do not change when entering data. The simplest formula
adaptation please, since I will be using the methodology in numerous
complex/nested formulas.

Thanks


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
need to clear data references in pivot table report Mikeeusa Charts and Charting in Excel 3 April 28th 05 08:57 PM
When entering data into excel spreadsheet cell, the page just jum. jj Excel Discussion (Misc queries) 1 March 1st 05 06:05 PM
Using a Text / Data output as a cell reference Jimboski Excel Discussion (Misc queries) 1 February 11th 05 07:31 PM
Combining data (numeric format) in multiple cells into one cell (t GNAC SID Excel Discussion (Misc queries) 2 February 7th 05 04:09 PM
Retrieve last cell with data JimDandy Excel Worksheet Functions 2 November 20th 04 06:50 PM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"