Home |
Search |
Today's Posts |
#6
![]() |
|||
|
|||
![]()
Bob Phillips wrote...
Try this, as dynamic as it gets (I hope -;)) On the summary sheet, cell A1: enter the first data sheet name Cell B1: =SUMIF(OFFSET(INDIRECT("'"&A1&"'!A1"),,,COUNTA(IN DIRECT("'"&A1&"'!A:A"))),"G 1",OFFSET(INDIRECT("'"&A1&"'!B1"),,,COUNTA(INDIRE CT("'"&A1&"'!A:A")))) .... Why OFFSET(INDIRECT(.))? An alternative, =SUMIF(INDIRECT("'"&A1&"'!A1:A"&COUNTA(INDIRECT("' "&A1&"'!A:A"))), "G1",INDIRECT("'"&A1&"'!B1:B"&COUNTA(INDIRECT("'"& A1&"'!A:A")))) That said, I doubt this would recalc any quicker than =SUMIF(INDIRECT("'"&A1&"'!A:A"),"G1",INDIRECT("'"& A1&"'!B:B")) |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to nest a left function within a sumif function? | Excel Worksheet Functions | |||
SUMIF function | Excel Worksheet Functions | |||
SUMIF function | Excel Worksheet Functions | |||
help with "criterea" in the sumif function | Excel Worksheet Functions | |||
how do you do a sumif function on more than one worksheet? | Excel Worksheet Functions |