Hi Gurus,
Am I able to sumif a range of dates within a pivot table.
The formula I have is as below, but returns a #ref .
=GETPIVOTDATA("DUE",$A$3,"Group","AP","Payment Date","<"&DATE(2019, 6, 21))
Is there a way to have a formula be a sum of less than 21/06/2019, on the group AP when referencing the pivot table.
Am I able to sumif a range of dates within a pivot table.
The formula I have is as below, but returns a #ref .
=GETPIVOTDATA("DUE",$A$3,"Group","AP","Payment Date","<"&DATE(2019, 6, 21))
Code:
[TABLE]
<tbody>[TR]
[TD]Sum of DUE[/TD]
[TD="width: 114"]Column Labels[/TD]
[TD="width: 63"][/TD]
[/TR]
[TR]
[TD]Week Ending[/TD]
[TD="class: xl201"]AP[/TD]
[TD="class: xl201"]CX[/TD]
[/TR]
[TR]
[TD="class: xl200"]1/03/2019[/TD]
[TD="class: xl199"][/TD]
[TD="class: xl199"][/TD]
[/TR]
[TR]
[TD="class: xl200"]10/05/2019[/TD]
[TD="class: xl199"] 2,551[/TD]
[TD="class: xl199"][/TD]
[/TR]
[TR]
[TD="class: xl200"]17/05/2019[/TD]
[TD="class: xl199"] 3,526[/TD]
[TD="class: xl199"][/TD]
[/TR]
[TR]
[TD="class: xl200"]24/05/2019[/TD]
[TD="class: xl199"] 11,866[/TD]
[TD="class: xl199"][/TD]
[/TR]
[TR]
[TD="class: xl200"]31/05/2019[/TD]
[TD="class: xl199"] 54,079[/TD]
[TD="class: xl199"][/TD]
[/TR]
[TR]
[TD="class: xl200"]7/06/2019[/TD]
[TD="class: xl199"] 13,805[/TD]
[TD="class: xl199"][/TD]
[/TR]
[TR]
[TD="class: xl200"]14/06/2019[/TD]
[TD="class: xl199"] 8,223[/TD]
[TD="class: xl199"][/TD]
[/TR]
[TR]
[TD="class: xl200"]21/06/2019[/TD]
[TD="class: xl199"] 5,417[/TD]
[TD="class: xl199"] 1,312[/TD]
[/TR]
</tbody>[/TABLE]
Is there a way to have a formula be a sum of less than 21/06/2019, on the group AP when referencing the pivot table.
Last edited: