LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Domenic
 
Posts: n/a
Default

In article ,
Domenic wrote:

Assuming that your sheets are named Sheet1, Sheet2, etc., and that
B1:B10 contains your sheet names, and C1:C10 contains the corresponding
flag, Yes/No, try the following formula...

=SUM(SUMIF(INDIRECT("'Sheet"&SMALL(IF(C1:C10="Yes" ,ROW(C1:C10)),ROW(INDIR
ECT("1:"&COUNTIF(C1:C10,"Yes"))))&"'!A1"),"<"))

Hope this helps!


I forgot to mention that the formula must be confirmed with
CONTROL+SHIFT+ENTER, and not just ENTER.

Hope this helps!


 
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
How to use SUMIF to return sums between two values located in cells ScottBerger Excel Worksheet Functions 2 April 23rd 23 09:05 PM
Multiple sheets selected twa14 Excel Discussion (Misc queries) 2 December 21st 04 11:15 AM
SUMIF and 3-D Ranges Ron In Tulsa Excel Worksheet Functions 2 November 22nd 04 07:30 PM
SUM(IF( Array to avoid #NUM! values Elijah Excel Worksheet Functions 7 November 21st 04 02:17 PM
sumif to add data in multiple sheets Sues Excel Worksheet Functions 4 November 18th 04 06:54 AM


All times are GMT +1. The time now is 07:03 AM.

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"