Forum Discussion

Torifox43's avatar
Torifox43
Copper Contributor
Jun 12, 2019

Change bar graph color based on cell color

Trying to figure out how to change bar graph colors based on the color of cells. In older excel versions there was a button that said "apply cell colors from spreadsheet". The cells are colored from conditional formatting if that matters. 

 

3 Replies

  • JKPieterse's avatar
    JKPieterse
    Silver Contributor
    I am not aware of such an option and I've been using Excel since 1996. That being said, if you need conditional colors for a bar chart, the way to implement that is to have a separate column of data for each condition which contains either a value when the condition is met, or #N/A when not. A bit complicated to explain, Jon Peltier does a pretty good job here: https://peltiertech.com/conditional-formatting-of-excel-charts/
    • Torifox43's avatar
      Torifox43
      Copper Contributor

      JKPieterse I'll take a look and see if I can make it work. This is the youtube video that I referenced before: https://www.youtube.com/watch?v=0kb720KJxNs

       

      It's basically what I'm trying to accomplish

      • JKPieterse's avatar
        JKPieterse
        Silver Contributor
        Aha, that video demonstrates use of an add-in (Mekko charts?) which apparently has the capability you're looking for.

Resources