How to do color formatting of cell in excel based on multiple conditions
-
Select the range that you will work with;
-
Click the Home > Conditional Formatting > New Rule….
-
In the Format Only Cells with section, specify the conditions that you need.
-
Click the Format button.
-
In the Format Cells dialog box, set the background color under Fill tab.
More details here
For your conditional formatting just select a column go to:
-
conditional formatting>highlight cells rules>less than at the value you put 90 and at highlight you choose red
then again:
-
conditional formatting>highlight cells rules>greater than and at the value you put 89 and at color green
UPDATE:
For more conditions go to new rule and choose use a formula. The formula will look like this for the green color: =AND(A1="Prime",B1>90)
then you do the same steps for the other conditions and colors.
pnuts
Updated on July 08, 2022Comments
-
pnuts almost 2 years
I have two columns. One column has the tier as
Prime,essential,maintenance and Consumption
. Other column hasvalues
in either% or as NA
. I want to format all cells which are having tier as Prime and essential andvalue is >=90
asgreen
elseRed
. Similarly if tier ismaintenance or Consumption
andvalue is >= 96
thengreen else Red
.How do i do it. Please help
-
Admin almost 10 yearsHi Thanks for your Response. However it would be great if you write the formula as well. I am little new to this formatting and knows only Basic rules :(
-
Alexandru Cimpanu almost 10 years@Ratna No problem, it was useful for me two. Please accept the answer to close the question.
-
Alexandru Cimpanu almost 10 years@Ratna now it would be more easy for you.
-
Admin almost 10 yearsBut what about the Tier condition as Prime Essential n etc.. ?
-
Alexandru Cimpanu almost 10 yearscan you put a sketch of the table?
-
Alexandru Cimpanu almost 10 yearsI have updated the response, this should be enough for you to continue.