Condtional Format with a Word and Fill Color

L

Legacy 436357

Guest
Hi,

I have these formulas in cell B3 for conditional formatting:

=L3="Yes" (I set the fill color to red)
=L3="No" (I set the fill color to green)

How can I add the word "Closed" if yes and "Open" if no in conditional formatting?

Thank you
 
Last edited by a moderator:

Some videos you may like

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.

Special-K99

Well-known Member
Joined
Nov 7, 2006
Messages
8,350
This is nothing to do with conditional formatting. Conditional formatting changes the format not the value.
You are changing the value.

Just put a formula in the cell you want (which for some reason you've omitted) to set the value, e.g.

in A1
=IF(L3="Yes","Closed","Open")
 
L

Legacy 436357

Guest
I need a break from the screen omg. That is so obvious thank you.
 

Watch MrExcel Video

Forum statistics

Threads
1,122,335
Messages
5,595,569
Members
413,996
Latest member
mabelO

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
Top