--- title: Making charts with conditionally coloured series author: Steph type: post date: 2013-05-25T16:05:54+00:00 categories: - Misc Technology tags: - chart - Excel --- The example I’m running through is available at   The scenario we’re looking at is where we  want to be able to convey quality within a chart by having differently coloured columns, based on different conditions that we want to specify.  Unfortunately, the ability to natively apply conditional formatting isn’t yet present, but we can mimic it by overlaying series of the same size that are coloured differently.   First thing you need is your data: [dynamic colours - initial table][1] Then you need to add columns with formula that are of the structure **=if(condition to meet, number, “”)** So… [dynamic colours - extra columns added][2] where Orange = IF([@[‘# of tickets]]>=AVERAGE([‘# of tickets]),[@[‘# of tickets]],””) and Red = IF([@[‘# of tickets]]>=PERCENTILE([‘# of tickets],0.75),[@[‘# of tickets]],””) You can now make a column chart and colour the series as required.  Make sure the series go from left to right in increasing priority.  Change any orders on the ‘Select Data’ menu using the up and down arrows. [Dynamic colours - before overlap][3] Once done, format a series and set overlap to 100%, and the job is done! [dynamic coulrs - overlap applied][4]   Of course you can tidy it up a bit further   [dynamic colours - cleaned up][5] [1]: ../img/2013-05-25-17_10_12-Microsoft-Excel-Dynamic-colors_xat75b_qosxi3.png [2]: ../img/2013-05-25-17_10_54-Microsoft-Excel-Dynamic-colors_jrqz9i_mzl0zi.png [3]: ../img/2013-05-25-16_58_50-Microsoft-Excel-Dynamic-colors_fefc6w.png [4]: ../img/2013-05-25-17_02_48-Microsoft-Excel-Dynamic-colors_pqgse5.png [5]: ../img/2013-05-25-17_03_20-Microsoft-Excel-Dynamic-colors_c16fei.png