Change the cell color based on its text.
fantomex
-
Picton -
Picton -
Hello,
I'm sure my problem is quite simple, but I just can't find a solution. In my three-column table (project progress table):
column 1: project title
column 2: progress percentage
column 3: status, the result is displayed according to the progress: "completed" (if % =100); "in progress" (if 1<%<99) and "not started" (if %<1).
I would like my "status" column to be colored green, yellow, and red depending on whether the status is "completed," "in progress," or "not started."
I know it's possible, but I can't figure it out, even when using conditional formatting....
HELP
Configuration: Windows XP / Chrome 40.0.2214.115
I'm sure my problem is quite simple, but I just can't find a solution. In my three-column table (project progress table):
column 1: project title
column 2: progress percentage
column 3: status, the result is displayed according to the progress: "completed" (if % =100); "in progress" (if 1<%<99) and "not started" (if %<1).
I would like my "status" column to be colored green, yellow, and red depending on whether the status is "completed," "in progress," or "not started."
I know it's possible, but I can't figure it out, even when using conditional formatting....
HELP
Configuration: Windows XP / Chrome 40.0.2214.115
2 réponses
Hello,
Use conditional formatting for this
Select the cell(s)
Go to Home => Conditional Formatting
Click on "New Rule..."
Select "Format cells that contain"
Instead of "Cell value," select "Specific Text"
In the value, put "not started."
Click on Format then Fill
Select the Red color
Click OK then OK
Repeat these steps for each formatting to be done (Yellow, Green...).
Use conditional formatting for this
Select the cell(s)
Go to Home => Conditional Formatting
Click on "New Rule..."
Select "Format cells that contain"
Instead of "Cell value," select "Specific Text"
In the value, put "not started."
Click on Format then Fill
Select the Red color
Click OK then OK
Repeat these steps for each formatting to be done (Yellow, Green...).
The best thing would have been to replace the colors with small icons ("check" and "cross") but I'll settle for this.
In the cell where you want the check, you put this formula
=IF(progress = '0', "X", IF(AND(progress > 1, progress < 100), "in progress", "Completed"))