Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / February 2008

Tip: Looking for answers? Try searching our database.

Dynamic Named ranges in formulae

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Sandy - 09 Feb 2008 17:31 GMT
I have a named range 'CountRecords' created by the following :-

   =OFFSET(RecordOfRounds!$A$1,52,0,COUNT(RecordOfRounds!$A:$A)-5,1)

which in the current sheet is the range A53:A80 - this is displayed
surrounded by a blue line when I type 'CountRecords' into the 'Name Box'

I then insert the following in cell A2 :-
   =COUNT(CountRecords) and the display is '0'

If I enter COUNT(A53:A80) I get (correctly!) '28'.

What am I doing wrong?
Sandy
Don Guillett - 09 Feb 2008 18:02 GMT
somewhere type =count(a:a) to see what you get.

Signature

Don Guillett
Microsoft MVP Excel
SalesAid Software
dguillett1@austin.rr.com

>I have a named range 'CountRecords' created by the following :-
>
[quoted text clipped - 10 lines]
> What am I doing wrong?
> Sandy
Sandy - 09 Feb 2008 18:22 GMT
Hi Don,

I get 33, which ties in with the -5 part of 'COUNT(RecordOfRounds!$A:$A)-5'.
The reason for the -5 is to deduct some cells with numbers I have in the top
area of my spreadsheet.

Thinking something had jammed up in excel I closed and then re-opened it,
which produced an error on opening of a circular reference. I presume that
is because the Name is being calculated using the entire column A and the
formula was using the same name and was in the name calculation range - if
you see what I mean.

Moving my =Count(ParBlock) to column B solved the problem. So.....is there a
way to use the =OFFSET()without encroaching on the cells or  rows above row
53?

Interested in hearing your thoughts on all of this

Thanks
Sandy

> somewhere type =count(a:a) to see what you get.
>
[quoted text clipped - 12 lines]
>> What am I doing wrong?
>> Sandy
DJH - 09 Feb 2008 18:51 GMT
Try
=OFFSET(RecordofRounds!$A$53,0,0,COUNT(RecordofRounds!$53:$6700),1)

> Hi Don,
>
[quoted text clipped - 33 lines]
>>> What am I doing wrong?
>>> Sandy
Sandy - 10 Feb 2008 15:23 GMT
Thank you
Sandy

> Try
> =OFFSET(RecordofRounds!$A$53,0,0,COUNT(RecordofRounds!$53:$6700),1)
[quoted text clipped - 37 lines]
>>>> What am I doing wrong?
>>>> Sandy
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.