Jun 21 2017 12:20 AM - last edited on Nov 09 2023 11:10 AM by
I have a chart with past and forecasted figures for several series of data.
I set the colors of each serie in order to have something nice and meaningful : 1 color per serie, dotted for forecast.
Each time I filter my data to see a particular serie, Excel destroys my work to put back its automated layout which are ugly and meaningless.
How can I prevent this ?
I'm using excel professional plus 2013
Thanks a lot !
Mar 12 2021 11:20 AM
Doesn't work in Excel Pro Plus 2016. Using a slicer to filter reassigns the line colors to the remaining items. Both of those advanced boxes defaulted to being checked... I deselected, saved, closed Excel, reopened. This is a very, very simple chart - 2 locations over time, line chart, colors assigned. Slicer filter to either location, they both use only one of the two colors. Thanks!
May 17 2021 10:25 AM
Feb 12 2022 08:25 AM
Jun 11 2022 12:07 AM
Jun 12 2022 09:45 AM
If you're unlucky enough to still be using this dinosaur of a program in 2022, quite frankly, you can't stop it from changing colors back to the template defaults. Basically this happens because Microsoft believes they know what you want better than you do in every single instance, even down to the colors you choose.
Go get Smartsheet, or basically any other modern spreadsheet software. It's the 21st century.
Jun 12 2022 09:46 AM
Jun 21 2022 08:12 PM
Aug 31 2022 12:44 PM
Mar 04 2023 12:11 AM
Very nice thanks.
I have adjusted to my preferences as:
Make workbook xlsm
Under Thisworkbook
Private Sub Workbook_Open()
ThisWorkbook.ChartDataPointTrack = False
End Sub
By doing this, even if other people open this chart won't go crazy as well :)
Apr 27 2023 08:28 AM
I was dealing with his issue for quite some time (I'm on MS 365 Excel) - especially the series in my stacked bar charts would change the colour every time I would add another column and sort the value by the last data set added.
I have tried everything I managed to google, but nothing worked.
But then, I had a discussion and error/trial session with a colleague and voilà, I think we cracked it.
So, what was done --> legend was formatted (I know, it sounds insane, but it works in MS 365)
In the chart which you don't want to change any series colours, double-click on the coloured shape next to the series name and *format legend entry* --> in the fill colour, even if the colour is the same as you want it to be, just confirm it selecting it once again from the palette.
This way it works for me just the way I need - no series colour changes anymore, and I can sort the date up and down and all stays the same.
I hope it works for some of you at least too.
Let me pls know.
Jan 28 2024 08:14 AM
@mbiscotto You're a saviour! Been thinking about that one for ages, many thanks :)
Feb 28 2024 12:20 PM
@mbiscotto Thank you! It's my life saver of the month.
Mar 02 2024 03:23 AM
Is there an equivalent setting/fix for MacOS?