ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   INDIRECT FUNCTION - I want to freeze reference when inserting rows (https://www.excelbanter.com/excel-worksheet-functions/171902-indirect-function-i-want-freeze-reference-when-inserting-rows.html)

dim

INDIRECT FUNCTION - I want to freeze reference when inserting rows
 
Hi folks,

I have a named range from Cell A2 to Cell A101 in a workbook.

This is entered in the Define Name - Refers To box as:

= INDIRECT(Sheet1!$A$2:$A$101)

When I insert rows in row 2, my references steadily change to $A$3:$A$102
then $A$4:$A$103 an so on.

I need my references to stay the same when rows are inserted. IM GOING
INSANE WITH THIS!

Please help!!!!

ShaneDevenshire

INDIRECT FUNCTION - I want to freeze reference when inserting rows
 
Hi Dim,

This is a rather unusual use of INDIRECT but if that's what you want, try
this:

=INDIRECT("Sheet1!$A$1:"&Sheet1!$A$11)

I'm assuming you want the A10 part to become A11, if not
=INDIRECT("Sheet1!$A$1:$A$10")

--
Cheers,
Shane Devenshire


"dim" wrote:

Hi folks,

I have a named range from Cell A2 to Cell A101 in a workbook.

This is entered in the Define Name - Refers To box as:

= INDIRECT(Sheet1!$A$2:$A$101)

When I insert rows in row 2, my references steadily change to $A$3:$A$102
then $A$4:$A$103 an so on.

I need my references to stay the same when rows are inserted. IM GOING
INSANE WITH THIS!

Please help!!!!


dim

INDIRECT FUNCTION - I want to freeze reference when inserting
 
Hi Shane,

Thanks. I'll try that ASAP. I do NOT want any part of it to change. I want
$A$2:$A$101 to stay EXACTLY the same regardless of rows inserted into Row 2.

I dont want particularly to use INDIRECT. I dont care what I use, I just
want the references to STAY THE SAME when rows are inserted!

Thanks, I'll see if that works and get back.

dim

INDIRECT FUNCTION - I want to freeze reference when inserting
 
OMG! You did it! :-D Thankyou soooo much. Who would have thought that
quotation marks would make such a difference?....well...obviously you would!
haha. Thanks.


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

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