Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
Hi,
how do I refer to a column when the number of rows may change dynamically? e.g column A with 12 rows of data would be a1:A12, with dynamic number of rows it would be A1:A?? I am using SumProduct to add up those rows which meet certain conditions. But the number of rows in the source area changes, so how can I get my sumproduct formula to work as the number of rows changes? eg my pseudo code is: =SUMPRODUCT((L2:L"number of rows" = "LDC")*(C2:C"number of rows")) I know that COUNTA can be used to return the number of non empty rows but cant work out the syntax to use this, e.g. this is wrong: =SUMPRODUCT(L2:LCOUNTA(L:L)= "LDC")*(C2:LCOUNTA(L:L)) thanks to anyone who can help or advise! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Formula checking multiple worksheets | Excel Worksheet Functions | |||
Formula checking multiple worksheets | Excel Worksheet Functions | |||
I need a formula to find rows within a date range in one column? | Excel Worksheet Functions | |||
Excel2K: Is it possible to use dynamic named ranges in custom data validation formula? | Excel Discussion (Misc queries) | |||
How do I limit the number of rows in an Excel worksheet. | Excel Worksheet Functions |