View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
eholz1 eholz1 is offline
external usenet poster
 
Posts: 32
Default trying to use dynamic ranges and names for dumb bar chart

i surrender,

I am trying to set a bar chart (vertical bars) and define a ranges and
names for the categories axis
and the y axis (temperatures)

I try to define a name (from the insert,name,define) and set it to the
following
weeks =offset(a1,0,0,counta(a:a))
and
temps = offset(b1,0,0,counta(b:b))

the data is like:
(col a) (col b)
week1 55.5
week2 60.3 ...

I can make a chart using the data in the cells (a1 to a15, and b1 to
b15).
the chart is fine as long as I do not try to reset the series using
the named ranges.

I try to replace both the category axis (weeks) and the temperatures
(temps) with the names, and the chart errors out with a formula error.
If i click anywhere in the chart, the data changes, and blows the
chart.

What am I missing here???
I am using Excel 2003, and windows xp pro
ewholz