Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 26
Default Offset function problem-Dynamic range

I have used the offset function many times before to name a dynamic range
however this time something funny is happening. I have a sheet with many
different data tables that that I will use for charting. When I am trying to
define a range for one series the using the offset function: =OFFSET('Chart
Data'!$J$5,0,0,COUNTA('Chart Data'!$J:$J),1) it selects a range of cells from
J5 to J33, even though cells J13:J21 are blank. Does anyone know why its
doing this?

I was able to find a correction to this by entering in the offset function
as follows: =OFFSET('Chart Data'!$J$5,0,0,COUNTA('Chart Data'!$J:$J)-21,1)
but I am worried that as more data is inserted into this table I might lose
something.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 459
Default Offset function problem-Dynamic range

MarkM wrote:
I have used the offset function many times before to name a dynamic
range however this time something funny is happening. I have a sheet
with many different data tables that that I will use for charting.
When I am trying to define a range for one series the using the
offset function: =OFFSET('Chart Data'!$J$5,0,0,COUNTA('Chart
Data'!$J:$J),1) it selects a range of cells from J5 to J33, even
though cells J13:J21 are blank. Does anyone know why it's doing this?

I was able to find a correction to this by entering in the offset
function as follows: =OFFSET('Chart Data'!$J$5,0,0,COUNTA('Chart
Data'!$J:$J)-21,1) but I am worried that as more data is inserted
into this table I might lose something.



Hi Mark.

Probably in the range J13:J21 there are some blanks (i.e. null strings or
spaces or formulas that give a blank).

Maybe you can solve using COUNT function instead of COUNTA...


--
(I'm not sure of names of menus, options and commands, because
translating from the Italian version of Excel...)

Hope I helped you.

Thanks in advance for your feedback.

Ciao

Franz Verga from Italy


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
Macro question Chris Excel Worksheet Functions 12 July 7th 06 01:23 AM
Dynamic Range with unused formula messing up x axis on dynamic graph [email protected] Charts and Charting in Excel 2 February 2nd 06 08:02 PM
function problem regarding cell range chindo Excel Worksheet Functions 1 November 10th 05 03:06 AM
dynamic named range function MJB Excel Worksheet Functions 1 August 5th 05 05:56 AM
Match function...random search? Les Excel Worksheet Functions 10 July 28th 05 11:54 AM


All times are GMT +1. The time now is 03:46 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"