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 / Worksheet Functions / February 2007

Tip: Looking for answers? Try searching our database.

Why doesn't the INDIRECT function work when nested in FREQUENCY?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Philip J Smith - 23 Feb 2007 09:10 GMT
When I use {=FREQUENCY(INDIRECT($A$1),Bin_Range)} I get a column of #REF!.

A1 can contain one of two valid range names.  
The frequency function works when either of the two are entered directly or
even when an IF function replaces the INDIRECT function e.g.
{=FREQUENCY(IF($B$1=1,Range1,Range2),Bin_Range)}

In all cases the formulae are entered as array functions.

Does anyone know why it doesn't work?

Regards

Phil
Ron Rosenfeld - 23 Feb 2007 12:44 GMT
>When I use {=FREQUENCY(INDIRECT($A$1),Bin_Range)} I get a column of #REF!.
>
[quoted text clipped - 10 lines]
>
>Phil

It works OK here.  Could it be that your range name is referring to a closed
workbook?
--ron
Philip J Smith - 23 Feb 2007 13:36 GMT
Hi Ron.

No.  The ranges are on the same worksheet as the Frequency analysis, thanks
for your response - please see my note about the named ranges being of
variable length using the offset function.

Regards

Phil

> >When I use {=FREQUENCY(INDIRECT($A$1),Bin_Range)} I get a column of #REF!.
> >
[quoted text clipped - 14 lines]
> workbook?
> --ron
Toppers - 23 Feb 2007 13:41 GMT
Phil,
         Works OK for me.  Just check range name in A1 is correct as this
will give a #REF! error if incorrect.

> When I use {=FREQUENCY(INDIRECT($A$1),Bin_Range)} I get a column of #REF!.
>
[quoted text clipped - 10 lines]
>
> Phil
 
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.