Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Cacatenation and SUMPRODUCT

OK, so this one is pretty complicated.

I have multiple big workbooks with multiple tabs on each. One tab is
the "Summary" tab and basically just has a list of all the tabs.

So let's say it looks like:

Column A Column B

Workbook 1.xls Foo

Column 1 is my workbook name. Column 2 is the name of a sheet in that
workbook.

I'm trying to set up a SumProduct that I can copy down the list (it'll
be in Coumn C) that currently reads:

=SUMPRODUCT((INDIRECT("'[Workbook1.xls]Foo'!$L$64:$L
$500")<0)*(L64:L500<"TOTAL")*(I64:K500))

However, like I said, I want a forumula I can copy down. I tried:

=SUMPRODUCT((INDIRECT("'[&"A1"&]&"B1"&'!$L$64:$L
$500")<0)*(L64:L500<"TOTAL")*(I64:K500))

And several other permutations on that, but nothing seems to work. I
can't understand why Excel isn't accepting the cacatenation.

Any ideas?

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Cacatenation and SUMPRODUCT

=SUMPRODUCT((INDIRECT("'["&A1&"]"&B1&"'!$L$64:$L$500")<0)*(L64:L500<"TOTAL")*(I6 4:K500))

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



wrote in message
ups.com...
OK, so this one is pretty complicated.

I have multiple big workbooks with multiple tabs on each. One tab is
the "Summary" tab and basically just has a list of all the tabs.

So let's say it looks like:

Column A Column B

Workbook 1.xls Foo

Column 1 is my workbook name. Column 2 is the name of a sheet in that
workbook.

I'm trying to set up a SumProduct that I can copy down the list (it'll
be in Coumn C) that currently reads:

=SUMPRODUCT((INDIRECT("'[Workbook1.xls]Foo'!$L$64:$L
$500")<0)*(L64:L500<"TOTAL")*(I64:K500))

However, like I said, I want a forumula I can copy down. I tried:

=SUMPRODUCT((INDIRECT("'[&"A1"&]&"B1"&'!$L$64:$L
$500")<0)*(L64:L500<"TOTAL")*(I64:K500))

And several other permutations on that, but nothing seems to work. I
can't understand why Excel isn't accepting the cacatenation.

Any ideas?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Cacatenation and SUMPRODUCT

On Mar 8, 3:00 pm, "Bob Phillips" wrote:
=SUMPRODUCT((INDIRECT("'["&A1&"]"&B1&"'!$L$64:$L$500")<0)*(L64:L500<"TOTAL")*(I6 4:K500))

--
---
HTH

Bob


Nope, I tried that. Doesn't work. Thanks anyway.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 347
Default Cacatenation and SUMPRODUCT

Hi,

What does "not work" mean? What kind of result are you getting? Are the
workbooks opened?

Jean-Guy

" wrote:

On Mar 8, 3:00 pm, "Bob Phillips" wrote:
=SUMPRODUCT((INDIRECT("'["&A1&"]"&B1&"'!$L$64:$L$500")<0)*(L64:L500<"TOTAL")*(I6 4:K500))

--
---
HTH

Bob


Nope, I tried that. Doesn't work. Thanks anyway.


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 347
Default Cacatenation and SUMPRODUCT

Hi

Try this:

=SUMPRODUCT((INDIRECT("'["&A1&"]"&B1&"'!$L$64:$L$500")<0)*(L64:L500<"TOTAL")*(I6 4:K500))

note that the workbook will need to be open.

HTH
Jean-Guy

" wrote:

OK, so this one is pretty complicated.

I have multiple big workbooks with multiple tabs on each. One tab is
the "Summary" tab and basically just has a list of all the tabs.

So let's say it looks like:

Column A Column B

Workbook 1.xls Foo

Column 1 is my workbook name. Column 2 is the name of a sheet in that
workbook.

I'm trying to set up a SumProduct that I can copy down the list (it'll
be in Coumn C) that currently reads:

=SUMPRODUCT((INDIRECT("'[Workbook1.xls]Foo'!$L$64:$L
$500")<0)*(L64:L500<"TOTAL")*(I64:K500))

However, like I said, I want a forumula I can copy down. I tried:

=SUMPRODUCT((INDIRECT("'[&"A1"&]&"B1"&'!$L$64:$L
$500")<0)*(L64:L500<"TOTAL")*(I64:K500))

And several other permutations on that, but nothing seems to work. I
can't understand why Excel isn't accepting the cacatenation.

Any ideas?




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
help with sumproduct nastech Excel Discussion (Misc queries) 4 June 24th 06 08:54 PM
Sumproduct Steved Excel Worksheet Functions 3 June 22nd 06 09:36 PM
sumproduct Purnima Sharma Excel Worksheet Functions 3 May 17th 06 05:22 PM
Sumproduct Esrei Excel Discussion (Misc queries) 2 August 12th 05 04:22 PM
Like Sumproduct, But Different ericsh Excel Worksheet Functions 6 August 11th 05 05:49 PM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"