Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I am trying to define a name relating to an area whose boundaries will vary
depending upon the data contained within it. One cell (which does not reside within the area) contains the cell reference of the second boundary point, so I tried using the following definition of the area "=Sheet1!$H$58:INDIRECT(Sheet1!$I$53)" -typically I53 contains:"H68". If I use F5 (goto) there is no problem going to this new range, if however I use a function such as "=COUNTIF(newarea,H61)" -where "newarea" is the name defined with area above it crashes Excel -this is in both 2003 and 2007 versions. Any ideas? |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
You need to have INDIRECT generate the actual range
=INDIRECT("Sheet1!$H$58:"&$I$53) best wishes -- Bernard V Liengme Microsoft Excel MVP www.stfx.ca/people/bliengme remove caps from email "surreyjed" wrote in message ... I am trying to define a name relating to an area whose boundaries will vary depending upon the data contained within it. One cell (which does not reside within the area) contains the cell reference of the second boundary point, so I tried using the following definition of the area "=Sheet1!$H$58:INDIRECT(Sheet1!$I$53)" -typically I53 contains:"H68". If I use F5 (goto) there is no problem going to this new range, if however I use a function such as "=COUNTIF(newarea,H61)" -where "newarea" is the name defined with area above it crashes Excel -this is in both 2003 and 2007 versions. Any ideas? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Allow EXCEL INDIRECT(ADDRESS()) and INDIRECT(RANGE()) functions | Excel Worksheet Functions | |||
INDIRECT and Defined Names | Excel Worksheet Functions | |||
INDIRECT sheet Names | Excel Worksheet Functions | |||
Help with using range names in sum function | Excel Worksheet Functions | |||
How to paste INDIRECT function to range of cells? | Excel Worksheet Functions |