Hi all,
I couldn't figure out the syntax to use to specify that all the keywords must be present in search results, so I may have missed a past topic dealing with this. If so, sorry about that.
My problem is as follows:
When I use (for instance) Row(1:5) inside a Sum array formula:
I get a result of 15.
However, when I try using Row(1:5) inside a GetPivotData array formula:
(intending to get the total number of Supporters with a PaymentCount between 1 and 5), Row(1:5) evaluates to 1 instead of {1,2,3,4,5} and all I get is the total number of Supporters with a PaymentCount of 1.
I've slightly simplified this - in the full version I'm using Indirect within Row() to dynamically generate the range, but I've tested when reduced to the case stated above and the problem persists. What I'm actually after is the total number of Supporters with a PaymentCount > X, where X varies with the row of the table I'm building, so the Indirect changes the array I want out from {1,2,3,4,5} to {2,3,4,5} to {3,4,5}, etc.
I couldn't figure out the syntax to use to specify that all the keywords must be present in search results, so I may have missed a past topic dealing with this. If so, sorry about that.
My problem is as follows:
When I use (for instance) Row(1:5) inside a Sum array formula:
Code:
{=SUM(Row(1:5))}
However, when I try using Row(1:5) inside a GetPivotData array formula:
Code:
{=GETPIVOTDATA("Supporters",$A$4,"PaymentCount",ROW(1:5))}
I've slightly simplified this - in the full version I'm using Indirect within Row() to dynamically generate the range, but I've tested when reduced to the case stated above and the problem persists. What I'm actually after is the total number of Supporters with a PaymentCount > X, where X varies with the row of the table I'm building, so the Indirect changes the array I want out from {1,2,3,4,5} to {2,3,4,5} to {3,4,5}, etc.