+ Reply to Thread
Results 1 to 6 of 6

How can I maintain the same colors when switching pivot table options?

  1. #1
    Registered User
    Join Date
    08-18-2017
    Location
    Mexico
    MS-Off Ver
    Office 2016
    Posts
    41

    How can I maintain the same colors when switching pivot table options?

    Hi

    I would like to keep the same chart colors when using slicers depending on the brand vendor.

    However, let's assume my chart has 4 vendors

    Vendor A - green bar
    Vendor B - blue bar
    Vendor C - yellow bar
    Vendor D - red bar


    If I pick the four vendors it will use the colors mentioned above but if i choose two vendors from the slicer, the colors will change and not maintain the original ones.

    Is there a way to keep the same color to the desired vendor even if I choose different combinations within the slicer?


    Thanks,
    D2S
    Attached Files Attached Files
    Last edited by D2S; 09-22-2017 at 12:29 AM. Reason: Attaching workbook

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: How can I maintain the same colors when switching pivot table options?

    Attach a sample workbook, (not a picture). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  3. #3
    Registered User
    Join Date
    08-18-2017
    Location
    Mexico
    MS-Off Ver
    Office 2016
    Posts
    41

    Re: How can I maintain the same colors when switching pivot table options?

    Thanks Sandy, attached file in the main post.

    D2S

  4. #4
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: How can I maintain the same colors when switching pivot table options?

    Out Come (I reformatted manually the color to orange in the bellow chart, however, if I have more than 30 brands it will be difficult to reformat each of them for every chart)
    you didn't say that in the post, so maybe VBA? Excel Programming / VBA / Macros
    Last edited by sandy666; 09-22-2017 at 01:06 AM.

  5. #5
    Registered User
    Join Date
    08-18-2017
    Location
    Mexico
    MS-Off Ver
    Office 2016
    Posts
    41

    Re: How can I maintain the same colors when switching pivot table options?

    Well it's because I'm not sure what's the best solution, basically I just want that the Brand keeps the same color even when selecting different quantity of slicers.

  6. #6
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: How can I maintain the same colors when switching pivot table options?

    If you set colours manually it should works for you. The problem is only a large number of brands

+ 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. Pivot table / chart - maintain percentages after filtering
    By scaniafan in forum Excel Charting & Pivots
    Replies: 7
    Last Post: 09-06-2016, 07:48 AM
  2. maintain format on pivot table
    By Hassan1977 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-22-2016, 04:53 PM
  3. [SOLVED] Switching Pivot Table/Chart
    By Blackhawks in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-14-2014, 05:47 AM
  4. switching layout of Calculated Fields in Pivot Table
    By torlok2002 in forum Excel General
    Replies: 3
    Last Post: 05-06-2008, 09:15 AM
  5. Switching Pivot Table Source
    By singularity in forum Excel General
    Replies: 5
    Last Post: 11-08-2007, 12:31 PM
  6. [SOLVED] Maintain Format of Pivot Table
    By Cash in forum Excel General
    Replies: 1
    Last Post: 03-30-2006, 02:25 PM
  7. maintain:Pivot Table Calculations
    By Dave in forum Excel General
    Replies: 1
    Last Post: 04-22-2005, 10:06 PM

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