Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
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! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to use SUMIF to return sums between two values located in cells | Excel Worksheet Functions | |||
Multiple sheets selected | Excel Discussion (Misc queries) | |||
SUMIF and 3-D Ranges | Excel Worksheet Functions | |||
SUM(IF( Array to avoid #NUM! values | Excel Worksheet Functions | |||
sumif to add data in multiple sheets | Excel Worksheet Functions |