Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
How do I write a formula in one worksheet that looks in many other worksheets
and returns the sum of all the values in the last-used cells in a certain column? |
#2
![]() |
|||
|
|||
![]()
Delia wrote...
How do I write a formula in one worksheet that looks in many other worksheets and returns the sum of all the values in the last-used cells in a certain column? If these columns had no blank cells from row 1 to the last row with data, you could try something like =SUMPRODUCT(N(INDIRECT("'"&{"Sheet2";"Sheet3";"She et4"}&"'!A" &COUNTIF(INDIRECT("'"&{"Sheet2";"Sheet3";"Sheet4"} &"'!A:A"),"<")))) You can adapt this for known numbers of blank cells in the column in question, but a general solution with varying numbers of blank cells would require formulas in multiple cells to produce this one result or VBA. |
#3
![]() |
|||
|
|||
![]()
Thank you!
"Delia" wrote: How do I write a formula in one worksheet that looks in many other worksheets and returns the sum of all the values in the last-used cells in a certain column? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
lookup and return range of cells | Excel Worksheet Functions | |||
Return cell contents based on conditional lookup | Excel Worksheet Functions | |||
Return cell reference of lookup value | Excel Worksheet Functions | |||
Lookup with multiple value return | Excel Worksheet Functions | |||
How do I lookup and return different values when the lookup value. | Excel Discussion (Misc queries) |