GROUPBY + Slicer

LearningByDoing

New Member
Joined
Aug 17, 2023
Messages
11
Office Version
  1. 365
Platform
  1. Windows
  2. Web
Hello,
I am currently experimenting with the combination GROUPBY + Slicer, as Mike Thomas shows in the video on YouTube, but my combination is not working as desired. Maybe I just have tunnel vision and don't see the ‘problem’. Hence my request for help.

Below is the screenshot with the slicer, which only works with the name ‘Miki’, but not with the other names.
1730808703866.png

Thanks in advance

groupby-slicer.xlsx
ABCDEFGHIJK
1
2DatePersonSalesFilterPersonSales
3JanMiki1645,011Chantel16365,47
4JanMiki4828,541Jo5628,43
5JanChantel3634,561Miki16071,94
6FebChantel2713,461Tyrine13794,66
7FebMiki679,071Total51860,5
8FebTyrine1526,731
9MarTyrine3151,761
10MarJo3554,021
11AprTyrine3409,511
12JunJo458,091
13JulChantel2140,041
14AugChantel3361,291
15AugMiki3882,281
16AugTyrine3223,121
17AugChantel1608,71
18SepTyrine98,571
19SepJo1616,321
20SepChantel2907,421
21OctMiki554,621
22OctMiki4326,081
23NovTyrine2384,971
24DecMiki156,341
25
Sheet1
Cell Formulas
RangeFormula
F2:G7F2=GROUPBY(tbl_data[[#All],[Person]],tbl_data[[#All],[Sales]],SUM,3,,,tbl_data[[#All],[Filter]]=1)
D3:D24D3=SUBTOTAL(103,A3)
Dynamic array formulas.
 

Attachments

  • 1730808624868.png
    1730808624868.png
    65.3 KB · Views: 1

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
In what way doesn't it work with the other names?
 
Upvote 0
@Fluff
... if I set the filter to a different name, the following result appears

... and this is repeated for Chantel and Tyrine ... only Miki the slicer like
1730809673216.png
 
Upvote 0
That's because you are hiding rows. Move the Groupby formula to below the table & everything should be fine.
 
Upvote 0
Solution
@Fluff

... you must have rolled your eyes. 🫣 Such a ‘stupid mistake’ and I didn't see it.
Thank you very much and have a nice day.
👏
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,885
Messages
6,175,186
Members
452,615
Latest member
bogeys2birdies

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top