ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   if cell is blank, color another cell? (https://www.excelbanter.com/new-users-excel/102803-if-cell-blank-color-another-cell.html)

savbci

if cell is blank, color another cell?
 
I have 2 fields A1 and B1
If B1 is blank I want the text in A1 to turn red. Otherwise it will remain
black.
Later if B1 is filled in then A1 will turn back to it's original state
(black).
How do I do this?


Excelenator

if cell is blank, color another cell?
 

use Conditional Formatting.
1. Select cell A1.
2. On the menu bar select Format\Conditional Formatting
3. Select "Formula Is" from the first drop down on the left
4. Enter the Formula =ISBLANK(B1) into the text box to the right
5. Click "Format" and under the Font tab choose Color and select Red.
6. Click OK and OK




savbci Wrote:
I have 2 fields A1 and B1
If B1 is blank I want the text in A1 to turn red. Otherwise it will
remain
black.
Later if B1 is filled in then A1 will turn back to it's original state
(black).
How do I do this?



--
Excelenator


------------------------------------------------------------------------
Excelenator's Profile: http://www.excelforum.com/member.php...o&userid=36768
View this thread: http://www.excelforum.com/showthread...hreadid=567613


VBA Noob

if cell is blank, color another cell?
 

Your after conditional formatting.

Slect A1 then go to Format conditional formatting. Click format and
enter the below. Format font to red


=$B1=""

VBA Noob


--
VBA Noob
------------------------------------------------------------------------
VBA Noob's Profile: http://www.excelforum.com/member.php...o&userid=33833
View this thread: http://www.excelforum.com/showthread...hreadid=567613


Miguel Zapico

if cell is blank, color another cell?
 
You can use conditional formating (menu Format) in A1, set the condition with
"Formula Is" and use the following formula:
=ISBLANK(B1)
Then set the format as you want it in the Format button.

Hope this helps,
Miguel.

"savbci" wrote:

I have 2 fields A1 and B1
If B1 is blank I want the text in A1 to turn red. Otherwise it will remain
black.
Later if B1 is filled in then A1 will turn back to it's original state
(black).
How do I do this?



All times are GMT +1. The time now is 07:35 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com