Hi all!
My workbook has invoice amounts in range "A10:A50000" (named "SSCurDocAmts"
and an invoice Aging value (1-6) in range "B10:B50000" (named "SSAgingBuckets"
.
I need to generate six invoice amount subtotals (one for each possible Aging value). I think I need an array formula that sums all the values from VISIBLE rows in named range "SSCurDocAmts" if the value in named range "SSAgingBuckets" is, say, 1. This is my best shot, but doesn't work:
{=SUBTOTAL(9, IF(SSAgingBuckets=1,SSCurDocAmts))}
This works, but sums all rows, not just visible ones:
{=SUM(IF(SSAgingBuckets=1,SSCurDocAmts))}
Can someone please help me?
Thanks!
VBAjedi![[swords] [swords] [swords]](/data/assets/smilies/swords.gif)
My workbook has invoice amounts in range "A10:A50000" (named "SSCurDocAmts"
I need to generate six invoice amount subtotals (one for each possible Aging value). I think I need an array formula that sums all the values from VISIBLE rows in named range "SSCurDocAmts" if the value in named range "SSAgingBuckets" is, say, 1. This is my best shot, but doesn't work:
{=SUBTOTAL(9, IF(SSAgingBuckets=1,SSCurDocAmts))}
This works, but sums all rows, not just visible ones:
{=SUM(IF(SSAgingBuckets=1,SSCurDocAmts))}
Can someone please help me?
Thanks!
VBAjedi
![[swords] [swords] [swords]](/data/assets/smilies/swords.gif)