Changing colors with an If statement

mlopes1

Board Regular
Joined
Jul 14, 2002
Messages
114
I have the following code in a range of cells in column B:
=IF(ISBLANK(C12),"N/A","Other terms:")

The C12 is not constant.

Is there a way to have the formula make the "N/A" be shown with black font and the "Other terms:" in red?

I am sure this has been asnwered before but I could not find it in previous posts. Thanks in advance,

Mark
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
You can do this with conditional formatting. You will need to set the formatting to FORMULA and put the following:

="N/A"

Then you can set the color that you want.

Did this help?
 
Upvote 0

Forum statistics

Threads
1,202,912
Messages
6,052,520
Members
444,588
Latest member
ViJN

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