Conditional Formatting

gangani23

Board Regular
Joined
May 23, 2003
Messages
111
How can I do this? Please help.

If there is any “letter” in cell A1, cell B1 will be “green” and cell C1 will show “Completed”

If cell A1 is blank, cell B1 will be “red” and cell C1 will show “Not Completed”
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
One way:

Set cell B1's background colour to green
Select cell B1 and conditional formatting
Change the setting to Formula is and paste this formula =ISBLANK($A$1)
Set the format to a background of red
Click Ok,Ok

Put this formula in Cell C1:

=IF(A1="","Not Complete","Complete")

Hope this helps.

Dom.
 
Upvote 0
Thanks Dom Hill. Cell c (with complete or not complete) worked fine. But cell b did not work. Any advise?
 
Upvote 0
B1 format Green (will be overwritten by conditional format)
B1 conditional format ..... Formula Is ... =A1<>""
(2 quote marks means "nothing")

C1 formula .. =IF(A1="","Not Completed","Completed")
 
Upvote 0
If =ISBLANK($A$1) is not working try =A1=""

Both should have the same effect as far as I know.

Don't forget to set the format in the conditional formatting to red background colour. If A1 is blank this will then overrule the standard background green colour that you should already have set.

Dom
 
Upvote 0

Forum statistics

Threads
1,213,485
Messages
6,113,931
Members
448,533
Latest member
thietbibeboiwasaco

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