LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 134
Default More on "Data Range" - Dynamic Range Names

This is wonderful for using "OFFSET" for a Dynamic Range Name
for a Chart "Data Range"...http://processtrends.com/pg_dynamic_charts.htm
Thank you again Kelly O'Day.

It includes, for the X-Axis Dynamic Range Name...
"Refers to:" --- =OFFSET(dyn_ranges!$A$2,0,0,COUNTA(dyn_ranges!$A$A )-1)

Currently, I'm using Column A to receive several Ranges for Charts from
Access Automation.

The...COUNTA(dyn_ranges!$A$A) will Count Entries in Column A from Cell
$A$2 down. Other than separating the Ranges...IE..
For Chart 1...Columns A:B --- COUNTA(dyn_ranges!$A$A)
For Chart 2...Columns C:D --- COUNTA(dyn_ranges!$C$C)
For Chart 1...Columns E:F --- COUNTA(dyn_ranges!$E$E)
For Chart 1...Columns G:H --- COUNTA(dyn_ranges!$G$G)

....Is there a way to COUNTA(dyn_ranges!$A$A) - "Down x" number of Rows??

TIA - Bob



http://processtrends.com/pg_dynamic_charts.htm

From the URL directly above
We want to setup our chart so that it automatically updates as we add
additional weeks of flow data. We do this by
creating dynamic range names that expand as we add data.
The Dynamic Expanding Range - For the X-Axis
The Define Name window appears. We add "Week" in Name box and enter an
Offset formula in the Refers to box to
define our dynamic range name. The general offset formula is:
= Offset(start cell, rows offset, cols offset, number of rows, number of
cols)
"Refers to:" --- =OFFSET(dyn_ranges!$A$2,0,0,COUNTA(dyn_ranges!$A$A )-1) --
RN = week

 
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
Unchecking "Extend data range formats" is not workingfor row shading PLG Excel Discussion (Misc queries) 1 January 18th 07 03:35 PM
Array as a "named range" - formula ok in cells, but error as "named range" tskogstrom Excel Discussion (Misc queries) 11 December 28th 06 04:44 PM
Dynamic Range with Function "AND" Jeff Excel Discussion (Misc queries) 5 May 24th 06 05:10 PM
How can I make a range "dynamic"? Conan Kelly Excel Worksheet Functions 6 December 27th 05 08:41 PM
using a "variable" in range names Adam Kroger Excel Discussion (Misc queries) 9 December 11th 05 07:17 PM


All times are GMT +1. The time now is 06:11 AM.

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"