Slicers Sorted by Bins Buckets or Bands

jbiehl

Board Regular
Joined
Jul 30, 2020
Messages
59
Office Version
  1. 365
Platform
  1. Windows
Hi Everyone!
This seems way too simple, and yet I can't find a thread for it.

The source data has people tied to values from 0-100.
I want the slicer's values to sort in decile bands (0-9, 10-19, 20-29, etc...) without having to add an extra column to the source data.

For example I want to be able to click on a "0-9" button in the slicer, and see a list of people with a 0, 1, 2, 3, 4, 5, 6, 7, 8, or 9 next to their name - not a "0-9".

I feel like this should be so easy with a VBA code, but I can't find a thread with this specific question.

Thanks in advance!
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Since there were no responses, and this site has all of the excel gurus, I'm assuming this just isn't possible.
The work-around was found on another thread, and that was to add the following formula to the source data.
=(CHOOSE(yourformula)/10+1,"0-9","10-19","20-29","30-39","40-49","50-59","60-69","70-79","80-89","90-100"),"")
 
Upvote 0
Solution

Forum statistics

Threads
1,213,486
Messages
6,113,932
Members
448,533
Latest member
thietbibeboiwasaco

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