PC Review


Reply
Thread Tools Rate Thread

INDIRECT as part of array

 
 
=?Utf-8?B?eHJiYmFrZXI=?=
Guest
Posts: n/a
 
      28th Mar 2007
My nemesis!

I'm trying to "productionize" some reports so that all the user need do is
enter (into cell E5) which row (on sheet 'Management Summary') is where the
current data is.

c$13 = a particular manager's name
'Management Summary'!$D$2:$DD$2=row where manager's names are populated
e5=40 (the row where the current data to be summed is)

=SUM(IF('Management Summary'!$D$2:$DD$2=C$13,INDIRECT("'Management
Summary'"&"!$A"&E5&":$DD"&E5,0)))

I know I'm close. This works:
=INDIRECT("'Management Summary'"&"!$A"&E5)
so my basic understanding of INDIRECT and concatanation is pretty good.
However when I try the full formula using INDIRECT in the middle of the
array, I get a #REF.

Does XL maybe have a cow if you use INDIRECT in an array like this? More
likely my syntax is no good. I'd appreciate another pair of eyes.

Thanks for the help.

Russ

 
Reply With Quote
 
 
 
 
=?Utf-8?B?eHJiYmFrZXI=?=
Guest
Posts: n/a
 
      28th Mar 2007
That's got it Max! thanks

"Max" wrote:

> > =SUM(IF('Management Summary'!$D$2:$DD$2=C$13,INDIRECT("'Management
> > Summary'"&"!$A"&E5&":$DD"&E5,0)))

>
> Try this revision which uses the simpler SUMIF (normal ENTER will do):
> =SUMIF('Management Summary'!$D$2:$DD$2,C$13,INDIRECT("'Management
> Summary"&"'!$D"&E5&":$DD"&E5))
> --
> Max
> Singapore
> http://savefile.com/projects/236895
> xdemechanik
> ---
> "xrbbaker" wrote:
> > My nemesis!
> >
> > I'm trying to "productionize" some reports so that all the user need do is
> > enter (into cell E5) which row (on sheet 'Management Summary') is where the
> > current data is.
> >
> > c$13 = a particular manager's name
> > 'Management Summary'!$D$2:$DD$2=row where manager's names are populated
> > e5=40 (the row where the current data to be summed is)
> >
> > =SUM(IF('Management Summary'!$D$2:$DD$2=C$13,INDIRECT("'Management
> > Summary'"&"!$A"&E5&":$DD"&E5,0)))
> >
> > I know I'm close. This works:
> > =INDIRECT("'Management Summary'"&"!$A"&E5)
> > so my basic understanding of INDIRECT and concatanation is pretty good.
> > However when I try the full formula using INDIRECT in the middle of the
> > array, I get a #REF.
> >
> > Does XL maybe have a cow if you use INDIRECT in an array like this? More
> > likely my syntax is no good. I'd appreciate another pair of eyes.
> >
> > Thanks for the help.
> >
> > Russ
> >

 
Reply With Quote
 
Max
Guest
Posts: n/a
 
      29th Mar 2007
Welcome ..
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"xrbbaker" <(E-Mail Removed)> wrote in message
news:46A6D0A1-1933-416C-B097-(E-Mail Removed)...
> That's got it Max! thanks



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: INDIRECT as part of array =?Utf-8?B?TWF4?= Microsoft Excel Discussion 0 28th Mar 2007 01:52 AM
Indirect ref in array formulas =?Utf-8?B?UkQgV2lycg==?= Microsoft Excel Worksheet Functions 3 18th Nov 2006 02:17 PM
Indirect used in an array formula Werner Rohrmoser Microsoft Excel Worksheet Functions 3 23rd Jul 2005 05:03 PM
using INDIRECT in array formulas Steven Stovall Microsoft Excel Programming 3 3rd Dec 2004 05:16 AM
Use of Indirect with Row() as part of argument JM Microsoft Excel Worksheet Functions 8 26th Feb 2004 02:32 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:25 PM.