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
 

ITWare2008

Board Regular
Joined
Apr 16, 2010
Messages
173
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.
 

bunkersoldier

New Member
Joined
Mar 26, 2014
Messages
4
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.
 

bunkersoldier

New Member
Joined
Mar 26, 2014
Messages
4
Hi subrosumon, could you explain what you mean by new ruls please?
 

subrosumon

Board Regular
Joined
Mar 20, 2014
Messages
122
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
 

bunkersoldier

New Member
Joined
Mar 26, 2014
Messages
4
Thanks subrosumon, that's the closest to what I want. Although it colours the whole cell rather than just the data bar
 

Forum statistics

Threads
1,081,834
Messages
5,361,594
Members
400,639
Latest member
fleyd

Some videos you may like

This Week's Hot Topics

  • populate from drop list with multiple tables
    Hi All, i have a drop list that displays data, what i want is when i select one of those from the list to populate text from different tables on...
  • Find list of words from sheet2 in sheet1 before a comma and extract text vba
    Hi Friends, Trying to find the solution on my task. But did not find suitable one to the need. Here is my query and sample file with details...
  • Dynamic Formula entry - VBA code sought
    Hello, really hope one of you experts can help with this - i've spent hours on this and getting no-where. .I have a set of data (more rows than...
  • Listbox Header
    Have a named range called "AccidentsHeader" Within my code I have: [CODE]Private Sub CommandButton1_Click() ListBox1.RowSource =...
  • Complex Heat Map using conditional formatting
    Good day excel world. I have a concern. Below link have a list of countries that carries each country unique data. [URL...
  • Conditional formatting
    Hi good morning, hope you can help me please, I have cells P4:P54 and if this cell is equal to 1 then i want row O to say "Fully Utilised" and to...
Top