I have an UDF capturing a PivotTable's Slicer's selection. Let's suppose I capture the selections of 2 slicers:
I also have a table in an Excel worksheet that has 3 columns: Letter (many letters), Day (all days), and Sales.
I want to use an UDF that would be similar in structure to the normal Excel SumIFS formula:
This formula basically needs to add the results for A, B (from Letter column) and the corresponding Mon, Tue, Wed (from Day column).
Code:
Slicer1: A, B
Slicer2: Mon, Tue, Wed
I also have a table in an Excel worksheet that has 3 columns: Letter (many letters), Day (all days), and Sales.
I want to use an UDF that would be similar in structure to the normal Excel SumIFS formula:
Code:
=SUMIFS_UDF(Table[Sales],Table[Letter],Slicer1,Table[Day],Slicer2)
This formula basically needs to add the results for A, B (from Letter column) and the corresponding Mon, Tue, Wed (from Day column).