Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Andre Croteau
 
Posts: n/a
Default Sum Indirect function through multiple sheets

Hello!

I have been looking through Googgle for a solution but have yet to find it.

I am trying to replicate the following 3 dimentional sum formula using the
indirect function

=SUM(START:END!A1:A5)


Suppose I have the following (without the double quotes):

in cell C1 I have the label "START"
in cell D1, I have the lable "END"
in cell E1 I have "A1"
in cell F1 I have "A5"

These are some of examples that I tried in cell B1

=SUM(INDIRECT("'"&C1&":"&D1&"'!"&E1&":"&F1))
=SUM(INDIRECT(C1&":"&D1&"!"&E1&":"&F1))
=SUM(INDIRECT(C1&":"&D1&"!A1:A5"))

For each of these trial formulas, I ended up with a #REF! result
I have yet to see an example with he indirect function used over multiple
sheets.

What am I going wrong?

Thanks in advance!

André


  #2   Report Post  
Domenic
 
Posts: n/a
Default

Try...

=SUMPRODUCT(SUMIF(INDIRECT("'"&C1:C10&"'!A1:A5")," <"))

....where C1:C10 contains your sheet names.

Hope this helps!

In article ,
"Andre Croteau" wrote:

Hello!

I have been looking through Googgle for a solution but have yet to find it.

I am trying to replicate the following 3 dimentional sum formula using the
indirect function

=SUM(START:END!A1:A5)


Suppose I have the following (without the double quotes):

in cell C1 I have the label "START"
in cell D1, I have the lable "END"
in cell E1 I have "A1"
in cell F1 I have "A5"

These are some of examples that I tried in cell B1

=SUM(INDIRECT("'"&C1&":"&D1&"'!"&E1&":"&F1))
=SUM(INDIRECT(C1&":"&D1&"!"&E1&":"&F1))
=SUM(INDIRECT(C1&":"&D1&"!A1:A5"))

For each of these trial formulas, I ended up with a #REF! result
I have yet to see an example with he indirect function used over multiple
sheets.

What am I going wrong?

Thanks in advance!

André

  #3   Report Post  
Andre Croteau
 
Posts: n/a
Default

Hello Dominic,

It works well!

It's just a bit surprising that one must revert to a sumproduct formula!

Thanks a lot!

André



"Domenic" wrote in message
...
Try...

=SUMPRODUCT(SUMIF(INDIRECT("'"&C1:C10&"'!A1:A5")," <"))

...where C1:C10 contains your sheet names.

Hope this helps!

In article ,
"Andre Croteau" wrote:

Hello!

I have been looking through Googgle for a solution but have yet to find

it.

I am trying to replicate the following 3 dimentional sum formula using

the
indirect function

=SUM(START:END!A1:A5)


Suppose I have the following (without the double quotes):

in cell C1 I have the label "START"
in cell D1, I have the lable "END"
in cell E1 I have "A1"
in cell F1 I have "A5"

These are some of examples that I tried in cell B1

=SUM(INDIRECT("'"&C1&":"&D1&"'!"&E1&":"&F1))
=SUM(INDIRECT(C1&":"&D1&"!"&E1&":"&F1))
=SUM(INDIRECT(C1&":"&D1&"!A1:A5"))

For each of these trial formulas, I ended up with a #REF! result
I have yet to see an example with he indirect function used over

multiple
sheets.

What am I going wrong?

Thanks in advance!

André



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
referencing named formula using INDIRECT function [email protected] Excel Worksheet Functions 19 May 11th 05 09:48 AM
Copying multiple sheets from one book 2 another and undertake spec Pank Mehta Excel Discussion (Misc queries) 14 March 16th 05 04:41 PM
Multiple sheets selected twa14 Excel Discussion (Misc queries) 2 December 21st 04 11:15 AM
linking multiple sheets to a summary sheet greg g Excel Discussion (Misc queries) 1 December 16th 04 07:43 AM
Need Function for adding rows on multiple sheets... struggling rookie ;) Thanks. Steve Excel Worksheet Functions 6 November 24th 04 12:10 AM


All times are GMT +1. The time now is 06:28 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"