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 / September 2006

Tip: Looking for answers? Try searching our database.

Dynamic Range Not Working

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Takeadoe - 25 Sep 2006 17:16 GMT
I created a named range called HarvestData.

In the refers to box I typed the following:
=OFFSET(Harvest!$A$2,0,0,COUNTA(Harvest!$A:$A),COUNTA(Harvest!$1:$1))

I hit ok.

If I go back into the "Define Name" dialog box and select the name
"Harvest" and have it point to the actual range in the worksheet, it
highlights cells A2:B20.  The problem is, there are data in columns A
to N.  Why is it not recognizing the rest of the columns?  I discovered
this problem because I'm referencing column h in a VLOOKUP and it is
not returning data that I know is there.

What am I doing wrong here?

Your help is really appreciated.

Mike
Bob Phillips - 25 Sep 2006 16:13 GMT
Perhaps it should be

=OFFSET(Harvest!$A$2,0,0,COUNTA(Harvest!$A:$A),COUNTA(Harvest!$2:$2))

Signature

HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

> I created a named range called HarvestData.
>
[quoted text clipped - 15 lines]
>
> Mike
JE McGimpsey - 25 Sep 2006 18:00 GMT
Your formula works fine for me, as long as I have data in row 1. Are you
sure you have data in each cell from A1:N1?

> I created a named range called HarvestData.
>
[quoted text clipped - 15 lines]
>
> Mike
Takeadoe - 25 Sep 2006 18:10 GMT
First, thank you for replying.  Second, I do not have data in every
cell from A1:N1.  I do have data in A2:N2 though, which is actually my
header row.  Is that the problem?

Mike
> Your formula works fine for me, as long as I have data in row 1. Are you
> sure you have data in each cell from A1:N1?
[quoted text clipped - 18 lines]
> >
> > Mike
 
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.