Skip to playerSkip to main contentSkip to footer
  • 5/16/2025
Discover how to change bar graph colors in Excel based on value. We will use rept bar chart font Paybill to present a true bar chart.

One useful feature in Excel when creating bar charts is the ability to change the color of the bars based on their value. This makes it easier to quickly identify the highest and lowest values in the chart. Additionally, selecting the right font is important to ensure that the chart is easy to read and professional-looking. With the rept function in Excel, it is possible to create charts that repeat specific values, which can be useful in cases where the same data is being charted repeatedly. By using the rept function in conjunction with the bar chart, it is possible to create a chart with different colored bars and a consistent font style, resulting in a chart that is easy to read and visually appealing.

When creating bar charts in Excel, it is important to select a font that is easy to read, such as the rept bar chart font. To improve the visual impact of the chart, you can also change the colors of the bars based on their value. This can be done in Excel by using conditional formatting, which allows you to set up rules that apply different colors to the bars based on specific values. Using the rept function in Excel, it is possible to create a chart that repeats specific values, which can be useful in cases where the same data is being charted repeatedly. By combining the rept function with conditional formatting, you can create a bar chart with different colors and a consistent font style, resulting in a chart that is visually appealing and easy to read.

Lets start out multi-color data bar with REPT function in Excel.

Create Bars
1) Select cell C2
2) =REPT("|",B2)
3) Home ~ Font
4) Change font to "Playbill"
5) Copy and paste C2 to the rest of the rows.

Colouring Bars
1) Select select bar charts at C2
2) Home ~ Styles ~ Conditional Formatting
3) Manage Rules
4) For red bars
a) New Rules...
b) Use a formula to determine which cells to format
c) =B225)
d) Format
e) Font tab
f) Set font colour to ORANGE
g) OK
h) OK


Playbill font download link.
https://www.dafontfree.co/downloads/playbill/


rept bar chart font,how to change bar graph colors in excel based on value, excel rept bar chart font, bar chart with different colors excel,excel rept function chart,rept function in excel,
rept bar chart font,excel rept bar chart font,bar chart with different colors excel,rept and len function in excel,excel rept function chart,rept function in excel,
Multi-color Data bar with REPT function in Excel,
Transcript
00:00If you want to create a bar chart like this when you make changes to your numeric value for my
00:05example here will be grades you can see that the size of the bar chart increases at the same time
00:09it changes color space on a predefined number here so this is how you do it first you have to create
00:15a bar chart using a function called rept and then the first argument we're going to put the character
00:21of a pipe and the second argument would be grade and close parenthesis and hit enter what it does
00:27is that it does draw a 66 pipe like this in order to make it look like a bar chart you're going to
00:33have to use a font called playbill like this i'll leave the link to downloading this font in my
00:40description please check it out so when you make changes now like this you can see it changes
00:45according to whatever numbers you have set here now the next thing to do is to change the color
00:50based on predefined number select c2 like this and go to home style conditional formatting and
00:57then manage rule we're going to add three rules here for three different colors so new rule and
01:03you're going to use formula the first one is going to be for red color so it's going to be equal to say
01:10b2 if you have dollar sign get rid of it manually or press f4 three times like this and it's gone so it's
01:16going to say less than or equal to 30. if you have any numbers below 30 go to format here click on font and
01:25change the color to red like this and click ok and click ok now you can see you have one rule here
01:31just as a test click ok for now and you can see if you put anything below 30 let's say 12 you can see
01:37that your bar chart is starting to turn to red but anything above 30 say 31 nothing has been defined
01:44quite yet so click on c2 again go conditional formatting manage rule and we're going to add two rules
01:49consecutively here new rule this one's going to be for the orange so orange is uh there's two condition
01:56you're going to use n b2 right press f4 three times it's going to say less than or equal to say 80
02:05second argument will be b2 press f4 three times to get rid of dollar sign it's going to be greater than
02:1230 so it's creating a bracket which means anything between 30 to 80 you're going to say font you're
02:21going to say you're going to assign to orange like this right and once that's done click ok this is the
02:27second rule and the final rule would be for green so green will cover all bases which means anything
02:34above 80 like that get rid of it greater than 80 like this so you got format font automatic sorry the
02:45color change from automatic to green and click ok and ok and ok one more time you can see that
02:51it's starting to take shape so anything above 80 is green anything below 80 would be orange and
02:59anything below 30 will be red so once that's done you're gonna drag this thing all the way down and
03:05apply to all the rows in your data set here and now if you make changes like that let's say for example
03:1144 i don't know 72 32 you can see that it's starting to change according to the number that you assign
03:20not only the size of the bar chart and also the color as well

Recommended