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.

Indirect & Arrays

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Matthew - 07 Feb 2008 19:35 GMT
Am I being thick...

I can not get an array formula to work with an indirect command.

I may have made a typo but I am now starting to convince my self it
doesn't work.

E.g.
in B1 is the text contrived from a load of &..& statements

'Week 1'!$B$4:$B$102=59,'Week 1'!$C$4:$C$102

In C1 is

{=SUM(IF(INDIRECT(B1),0))}

The simple outcome was if the b4:b104 = 59 then sum c4:c104

Help please

Matthew
Charles Williams - 07 Feb 2008 19:55 GMT
INDIRECT() only works with references, not formulae

Charles
__________________________________________________
Outlines for my Sessions at the Australia Excel Users Group
http://www.decisionmodels.com/OZEUC.htm

> Am I being thick...
>
[quoted text clipped - 17 lines]
>
> Matthew
Tyro - 07 Feb 2008 21:23 GMT
B1 has to contain a valid address. It does not.
For example in B1 I have the value C1. In Cell C1 there is a 6. in D1 I put:
IF(INDIRECT(B1)<7,1,2)   The formula returns 1.

Tyro

> Am I being thick...
>
[quoted text clipped - 17 lines]
>
> Matthew
T. Valko - 07 Feb 2008 21:46 GMT
>in B1 is the text contrived from a load of &..& statements
>'Week 1'!$B$4:$B$102=59,'Week 1'!$C$4:$C$102

Depending on how the above is constructed, it'll work *if* you split it up
into 2 cells:

B1: 'Week 1'!$B$4:$B$102
C1: 'Week 1'!$C$4:$C$102

Then:

=SUMIF(INDIRECT(B1),59,INDIRECT(C1)

Or:

B1: 'Week 1'!$B$4:$B$102
C1: 'Week 1'!$C$4:$C$102
D1: 59

=SUMIF(INDIRECT(B1),D1,INDIRECT(C1)

Signature

Biff
Microsoft Excel MVP

> Am I being thick...
>
[quoted text clipped - 17 lines]
>
> Matthew
Matthew - 12 Feb 2008 17:55 GMT
> >in B1 is the text contrived from a load of &..& statements
> >'Week 1'!$B$4:$B$102=59,'Week 1'!$C$4:$C$102
[quoted text clipped - 42 lines]
>
> > Matthew

Thank you to all I knew I was having a bad day!
 
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.