Forum Discussion
Torifox43
Jun 12, 2019Copper Contributor
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
- JKPieterseSilver ContributorI 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/
- Torifox43Copper 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
- JKPieterseSilver ContributorAha, that video demonstrates use of an add-in (Mekko charts?) which apparently has the capability you're looking for.