Magic: Create Title with Excel Slicer Selections! - 2263

If you like this content, please consider visiting the video on YouTube and subscribe to the MrExcel Channel to show your support!
This video has been published on Feb 28, 2019.
When you filter a pivot table to many items, the title of (Multiple Items) is nearly useless. Which items? Printing the whole slicer can take up a lot of space. Today, I combine a Mike Alexander trick with TEXTJOIN to create a title that shows which items are selected in the slicer.
maxresdefault.jpg


Transcript of the video:
Learn Excel from MrExcel podcast, episode 2263.
Report the Excel slicer selections in the title.
Hey welcome back to MrExcel netcast, I’m Bill Jelen.
Oh you know what, ever since Excel 2007, we’vee had the ability in a pivot table to select multiple items.
But I hate when I select multiple items because no one can tell what I selected.
What the heck does this mean?
Multiple items.
Then in Excel 2010, they gave us the ability to insert a slicer and when we insert a slicer, that’s great because now we can see which items are selected but now we have to print out the whole freakin slicer.
Alright, so, here’s what we’re going to do.
We’re going to get rid of this filter.
The filter goes away, keep the slicer there, slicer in view, out view, I don’t care.
We’re going to take the pivot table, this is the Mike Alexander trick.
Hey Mike, how you doing?
Copy the pivot table far out here to the right-hand side, that makes it share a cache in the pivot table, we don’t need revenue, we don’t need customer, all we need is sector.
Oh by the way, no grand total.
Right click, remove grand total.
Alright, now here’s the awesome thing.
So this is going to be equal, text join, text join, brand new function, February of Excel 2017 so hey, it’s been two years, get Office 365, the delimiter is going to be comma space ignore empty, definitely ignore empty because you don’t know how many sectors are going to be there and then the list of sectors is this big list here, how many possible sectors there can be like that.
And then once we have that working, we can actually just update it here.
Report for sectors, ampersand, control X, over here, paste.
Cells styles.
I hardly ever use sell styles but I’ll use it for the titles just because they look cool.
Alright, check out how this works now.
So if choose communications, if I choose communications through financials, I love it.
That’s so much better than multiple items.
Well hey, I want to thank you for stopping by.
We’ll see you next time, maybe in 15 minutes for the next one from MrExcel
 

Forum statistics

Threads
1,223,641
Messages
6,173,506
Members
452,518
Latest member
SoerenB

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