+ Reply to Thread
Results 1 to 6 of 6

Slicers with Numbers and Text

  1. #1
    Registered User
    Join Date
    10-21-2016
    Location
    Kansas City, MO
    MS-Off Ver
    2010, 2013
    Posts
    75

    Question Slicers with Numbers and Text

    I am building an Excel dashboard of promotional sales data for several retail locations. As the dashboard's charts are constructed from pivot tables, I am trying to use slicers to list the different promotions. The promotions have both a number and a text string name, and reference to either of these is interchangeable, so both need to be reflected in my dashboard. Ideally, a slicer tab would look like "1. Promotion String A", "2. Promotion String B", etc., but my attempt at this read the entire field as text and sorted promotions 10-19 in between 1 and 2. I have not found a solution for text string slicers that sort with leading numbers. Is this possible? I could have a key column to the side listing each promotion name's number and leave the slicers as the promotion numbers, but I was hoping to simplify the reference to have both name and number on the slicer.

    Any help would be appreciated. Thanks!

  2. #2
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: Slicers with Numbers and Text

    Can you post a sample of what you have at the moment please.

  3. #3
    Registered User
    Join Date
    10-21-2016
    Location
    Kansas City, MO
    MS-Off Ver
    2010, 2013
    Posts
    75

    Re: Slicers with Numbers and Text

    I've built a small example of what I'm discussing but without the dashboard piece. I can build the slicers and connect them to the pivot charts but can't get my slicers to sort efficiently. As these are being presented, some people will be looking for "Promotion #7", others for whatever promotion 7 offers. I suppose I can make a large legend on the dashboard but was hoping to simply incorporate that into my slicers...
    Attached Files Attached Files

  4. #4
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: Slicers with Numbers and Text

    See if a Custom List will help you;

    https://www.myonlinetraininghub.com/...l-date-slicers

    May not be practical but will work.

  5. #5
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,434

    Re: Slicers with Numbers and Text

    How about adding leading zero to your descriptions
    Cheers
    Andy
    www.andypope.info

  6. #6
    Registered User
    Join Date
    10-21-2016
    Location
    Kansas City, MO
    MS-Off Ver
    2010, 2013
    Posts
    75

    Re: Slicers with Numbers and Text

    Kersplash, thanks for your idea - I did consider using a custom list but did see that it had to be created/imported on each computer viewing the file, which will be multiple in my case. If I was a VBA whiz, I'm sure I could set this to happen quite easily each time, but that unfortunately is not my specialty yet.

    Andy, your solution is simple but genius and works great! I never thought of leading zeroes - thanks so much!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. VBA to convert a range from numbers to numbers stored as text (Text to Columns)
    By tantcu in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-06-2017, 05:50 PM
  2. Replies: 11
    Last Post: 04-10-2017, 06:23 AM
  3. [SOLVED] make Userform entries with just numbers stay as text and not numbers upon pasting
    By vpan in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-01-2016, 02:13 PM
  4. [SOLVED] Disconnect Slicers, Change Pivot Table Source, Reconnect Slicers: a problem
    By Geoff. in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-30-2015, 02:27 PM
  5. Replies: 19
    Last Post: 07-20-2014, 04:55 PM
  6. [SOLVED] Marco to convert numbers stored as text to numbers and dates stored as text to numbers
    By a2424 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-22-2014, 10:19 AM
  7. [SOLVED] Convert all numbers stored as text or custom formatted to numbers &no decimals - 40 sheets
    By synses in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-19-2013, 01:46 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1