Condition based cell color

abhi234u

New Member
Joined
Sep 10, 2007
Messages
37
Office Version
  1. 365
  2. 2019
  3. 2016
Platform
  1. Windows
Hi All,

I have a question if we can do a condition based for 6 conditions. I tried conditional formatting with icons but it has three conditions max. Is there an easy way for my colors to be in cells from A1 to AB80.

Thanks
 

Attachments

  • excel.JPG
    excel.JPG
    16.8 KB · Views: 3

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
You can create 6 rules, one for each colour.
 
Upvote 0
You can create 6 rules, one for each colour.
Hi,

I have to create 6 conditions for one cell. As the number can either be from 1 to 6. And the same conditions have to applied to cell from A1 to AB80.

eg: If (a1=1 then green color) elseif(a1=2 then light green color)elseif(a1 =3 then blue ) etc

Thanks
 
Upvote 0
You can select A1:AB80 & then create 6 separate rules
=A1=1
=A1=2
etc, etc
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,868
Messages
6,127,413
Members
449,382
Latest member
DonnaRisso

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