#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default named range help


I have created a value for a range which i reference in a macro that
creates a pivot table. We add new data each month and generate a new
table so we needed to keep the range of cells dynamic.

Here is the definition for the name i use:

=OFFSET('C:\Monthly Stat Project\[I&RC Monthly Stats Count
TEST.xls]MonthlyCount_data'!$A$1,0,0,COUNTA('C:\Monthly Stat
Project\[I&RC Monthly Stats Count
TEST.xls]MonthlyCount_data'!$A:$A),6)

What i want to do is remove the reference to the location of the
workbook "C:\Monthly Stat Project\[I&RC Monthly Stats Count TEST.xls]"

and instead have it just reference the current workbook. Is there a
way to do this?

something along the lines of: =OFFSET(CURRENT WORKBOOK
MonthlyCount_data'!$A$1,0,0,COUNTA(CURRENT WORKBOOK
MonthlyCount_data'!$A:$A),6)


Any help would be greatly appreciated.

Thanks


--
captainwicked
------------------------------------------------------------------------
captainwicked's Profile: http://www.excelforum.com/member.php...o&userid=36369
View this thread: http://www.excelforum.com/showthread...hreadid=569980

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
Can't chart dynamic named range?? [email protected] Charts and Charting in Excel 4 July 20th 06 08:30 PM
copy named range to powerpoint confused Excel Worksheet Functions 1 October 17th 05 03:23 PM
Using a formula to create named range reference [email protected] Excel Worksheet Functions 4 June 29th 05 08:03 PM
named range, data validation: list non-selected items, and new added items KR Excel Discussion (Misc queries) 1 June 24th 05 05:21 AM
How to dynamically reference a dynamic named range paris3 Excel Worksheet Functions 4 June 24th 05 01:22 AM


All times are GMT +1. The time now is 12:14 PM.

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

About Us

"It's about Microsoft Excel"