Conditional Format - Data Bar

bunkersoldier

New Member
Joined
Mar 26, 2014
Messages
4
Does anyone know how to show different colours on a data bar conditional format?
I want to have the bar green if the value is over 75, amber for between 60 and 75 and red if below 60. But at the same time retaining the the functionality of the Data Bar Conditional Format.

Cheers
John
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Data 1Data 2Data 3Data 4
Under 6053386583
60 - 75
Over 75

<tbody>
</tbody>

Hello Soldier :)

In cells for 60-75 place the following formula =if(and(B$1>=60, B$1<=75),B$1,"")
In cells for Over 75 place the following formula =if(B$1>75, B$1,"")

Then select the table, choose a column bar graph, right-click one of the bars, select format data series and write 100% for overlapped.

Done!

Hope this help.


Vândalo.
 
Upvote 0
Thanks for the help Vandalo, however I am trying to do this with the Data Bars Conditional Formatting. I want 1 column on my report to show the data bars with other data in other columns. The issue is that I am only able to create the data bars with a single colour and I want it to change colour based upon the data value.
 
Upvote 0
leaving the cursor on A2
1) click open conditional formatting Icon,
2) select "New rule",
3) select "Use a formula to select which cell to format"
4) =if(and(B$1>=60, B$1<=75),B$1,"")
5) and set format to be Green, OK, OK

Then repeat steps above 1-3
but this time for Red background
2)=if(B$1>75, B$1,"")

and set format to be red, OK, OK

This will make the cell black or the colour you choose for the last month onward
 
Upvote 0
Thanks subrosumon, that's the closest to what I want. Although it colours the whole cell rather than just the data bar
 
Upvote 0

Forum statistics

Threads
1,213,563
Messages
6,114,332
Members
448,566
Latest member
Nickdozaj

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top