Colour format based on cell value question

M Welsh

New Member
Joined
Mar 7, 2015
Messages
20
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
 

Some videos you may like

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.

Special-K99

Well-known Member
Joined
Nov 7, 2006
Messages
8,342
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
20
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
20
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 :)
 

Watch MrExcel Video

Forum statistics

Threads
1,102,266
Messages
5,485,762
Members
407,513
Latest member
Gregor Lockyer

This Week's Hot Topics

  • Finding issue in If elseif else with For each Loop
    Finding issue in If elseif else with For each Loop I have tried this below code but i'm getting in Y column filled with W005. Colud you please...
  • MsgBox Error
    Hi Guys, I have the below error show up when i try and run my macro in File1 but works fine if i copy and paste the same code into file2. [ATTACH...
  • CELL FORMAT - IF CONDITION
    My Cell Format is [B]""0.00" Cr". [/B]But in the cell, it is showing 123.00 for editing. (123 is entry figure). (Data imported from other...
  • Show numbers nearly the same
    Is this possible. I have a number that can change very time eg 0.00001234 Then I have a lot of numbers 0.0000001, 0.0000002, 0.00000004...
  • Please i need your help to create formula
    I need a formula in cell B8 to do this >>if b1=1 then multiply ( cell b8) by 10% ,if b1=2 multiply by 20%,if=3 multiply by 30%. Thank you in...
  • Got error while adding column and filter
    Got error while adding column and filter In column Z has some like "Success" and "Error". I want to add column in AA if the Z cell value is...
Top