Colour format based on cell value question

M Welsh

New Member
Joined
Mar 7, 2015
Messages
18
Hi

I've been trying for a couple of hours to conditional colour format cells based on cell value but can't get it right. I have the formulas but I only seem to be able to enter 1 formula but I need to enter 3?

My rules are:

If B7=>99 but less than 99.9 then shade amber
If B7<99 then shade red
If B7=100 then shade green

Any help is much appreciated in how I can enter 3 different formulas :)

Michael
 

Special-K99

Well-known Member
Joined
Nov 7, 2006
Messages
8,327
Re: Colour format bsed on call value question

Select the range to highlight (presumably just B7 in this case)

Conditional Formatting
New Rule
Use a formula to determine...

3 colours = 3 formulas

=AND(B7>=99,B7<99.9)
format as amber

=AND(B7>=0,B7<99)
format as red

=B7=100
format as green

QUESTION: Are you sure you meant B7=100 ? Not greater than or equal 100 ?
 
Last edited:

M Welsh

New Member
Joined
Mar 7, 2015
Messages
18
Re: Colour format bsed on call value question

Thanks for the quick response SpecialK. Do you know how I enter 3 formulas when in "new rule", "use formula to determine...". I can enter one formula to format 1 colour but can't see a way of doing it to get 3 colours.

Hope that makes sense. I've tried to take screenshot but I'm not able to paste into the forum.
 

M Welsh

New Member
Joined
Mar 7, 2015
Messages
18
Re: Colour format bsed on call value question

You are a star Special K - all sorted, just had to do one at a time. Been bugging me for years so much appreciated :)
 

Forum statistics

Threads
1,082,306
Messages
5,364,414
Members
400,801
Latest member
julievandermeulen

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