PC Review


Reply
Thread Tools Rate Thread

coloring a cell if blank

 
 
Karenobrn
Guest
Posts: n/a
 
      18th Aug 2008
I would like to format a column so that if no data has been entered in a cell
in that column then the cell would be colored or marked somehow. Is this
possible? I have tried Conditional Formatting but it only colors the cell if
there is data in that cell... I want to do the opposite.

Thanks
Karen

 
Reply With Quote
 
 
 
 
macropod
Guest
Posts: n/a
 
      18th Aug 2008
Hi Karenobrn,

You can also use Conditional Formatting to colour a cell if it's empty. A formula you might use to colour a cell depending on the
value in A1 is =A1="" or =Trim(A1)="".

--
Cheers
macropod
[MVP - Microsoft Word]


"Karenobrn" <(E-Mail Removed)> wrote in message news:CDBAE245-E387-40E4-816A-(E-Mail Removed)...
>I would like to format a column so that if no data has been entered in a cell
> in that column then the cell would be colored or marked somehow. Is this
> possible? I have tried Conditional Formatting but it only colors the cell if
> there is data in that cell... I want to do the opposite.
>
> Thanks
> Karen
>


 
Reply With Quote
 
Karenobrn
Guest
Posts: n/a
 
      18th Aug 2008
Ok...because I'm a newbie to all this...... where do I put such a
formula?....and why "A1" when the column I want this to occur in is column
J?...then where does the color come into play? how does it know what color?

Thanks for responding....

"macropod" wrote:

> Hi Karenobrn,
>
> You can also use Conditional Formatting to colour a cell if it's empty. A formula you might use to colour a cell depending on the
> value in A1 is =A1="" or =Trim(A1)="".
>
> --
> Cheers
> macropod
> [MVP - Microsoft Word]
>
>
> "Karenobrn" <(E-Mail Removed)> wrote in message news:CDBAE245-E387-40E4-816A-(E-Mail Removed)...
> >I would like to format a column so that if no data has been entered in a cell
> > in that column then the cell would be colored or marked somehow. Is this
> > possible? I have tried Conditional Formatting but it only colors the cell if
> > there is data in that cell... I want to do the opposite.
> >
> > Thanks
> > Karen
> >

>
>

 
Reply With Quote
 
macropod
Guest
Posts: n/a
 
      18th Aug 2008
Hi Karen,

The A1 reference was just for an example. For J1 you could use =J1="" or =Trim(J1)="".

As for where to use the formula, select the cell(s) you want the colour to apply to and use Format|Conditional Formatting, then
choose 'Formula is' from the dropdown and insert the formula, changing the cell reference to suit your requirements. If you've got a
range of cells that you want to shade on the basis of the contents of J1, then select all of them and replace 'J1' in the above
formulae with $J$1 (or your equivalent cell's address).

If you just want to colour the cell(s) you've selected, you don't even need a formula fo the conditional format - simply use
Format|Conditional Formatting with 'Cell value is', 'Equal to' and ="" in the end box. Note: Excel will insist on changing this to
='''''' when you click OK, so simply edit the conditional formatting formula again so that you end up with just ="".

--
Cheers
macropod
[MVP - Microsoft Word]


"Karenobrn" <(E-Mail Removed)> wrote in message news:BD739D31-0CC7-4744-89FE-(E-Mail Removed)...
> Ok...because I'm a newbie to all this...... where do I put such a
> formula?....and why "A1" when the column I want this to occur in is column
> J?...then where does the color come into play? how does it know what color?
>
> Thanks for responding....
>
> "macropod" wrote:
>
>> Hi Karenobrn,
>>
>> You can also use Conditional Formatting to colour a cell if it's empty. A formula you might use to colour a cell depending on the
>> value in A1 is =A1="" or =Trim(A1)="".
>>
>> --
>> Cheers
>> macropod
>> [MVP - Microsoft Word]
>>
>>
>> "Karenobrn" <(E-Mail Removed)> wrote in message news:CDBAE245-E387-40E4-816A-(E-Mail Removed)...
>> >I would like to format a column so that if no data has been entered in a cell
>> > in that column then the cell would be colored or marked somehow. Is this
>> > possible? I have tried Conditional Formatting but it only colors the cell if
>> > there is data in that cell... I want to do the opposite.
>> >
>> > Thanks
>> > Karen
>> >

>>
>>


 
Reply With Quote
 
FIRE GIRL
Guest
Posts: n/a
 
      18th Aug 2008
How would I adjust this formula to color the contents of cell A1 if cell A3
is left empty?? (instead of coloring the same cell that is empty?)

"macropod" wrote:

> Hi Karenobrn,
>
> You can also use Conditional Formatting to colour a cell if it's empty. A formula you might use to colour a cell depending on the
> value in A1 is =A1="" or =Trim(A1)="".
>
> --
> Cheers
> macropod
> [MVP - Microsoft Word]
>
>
> "Karenobrn" <(E-Mail Removed)> wrote in message news:CDBAE245-E387-40E4-816A-(E-Mail Removed)...
> >I would like to format a column so that if no data has been entered in a cell
> > in that column then the cell would be colored or marked somehow. Is this
> > possible? I have tried Conditional Formatting but it only colors the cell if
> > there is data in that cell... I want to do the opposite.
> >
> > Thanks
> > Karen
> >

>
>

 
Reply With Quote
 
macropod
Guest
Posts: n/a
 
      18th Aug 2008
Simple - you use the same formula (ie =A1="" or =Trim(A1)="") while using Format|Conditional Formatting with cell A3 selected.

--
Cheers
macropod
[MVP - Microsoft Word]


"FIRE GIRL" <(E-Mail Removed)> wrote in message news:6F689001-CAB9-482A-8AAD-(E-Mail Removed)...
> How would I adjust this formula to color the contents of cell A1 if cell A3
> is left empty?? (instead of coloring the same cell that is empty?)
>
> "macropod" wrote:
>
>> Hi Karenobrn,
>>
>> You can also use Conditional Formatting to colour a cell if it's empty. A formula you might use to colour a cell depending on the
>> value in A1 is =A1="" or =Trim(A1)="".
>>
>> --
>> Cheers
>> macropod
>> [MVP - Microsoft Word]
>>
>>
>> "Karenobrn" <(E-Mail Removed)> wrote in message news:CDBAE245-E387-40E4-816A-(E-Mail Removed)...
>> >I would like to format a column so that if no data has been entered in a cell
>> > in that column then the cell would be colored or marked somehow. Is this
>> > possible? I have tried Conditional Formatting but it only colors the cell if
>> > there is data in that cell... I want to do the opposite.
>> >
>> > Thanks
>> > Karen
>> >

>>
>>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I restore cell gridlines lost after coloring a cell? Alan R. Microsoft Excel Misc 5 7th Oct 2008 09:51 AM
Coloring a cell based off the color of another cell Eric D Microsoft Excel Misc 4 13th Jun 2008 05:24 PM
Start Cell B1 then find first blank cell, insert subtotal, next non blank, then next blank, sutotal cells in between......... amorrison2006@googlemail.com Microsoft Excel Programming 2 7th Jun 2007 09:27 PM
Automatic coloring of blank cells when sheet work complete =?Utf-8?B?YmlnZGFkZHkz?= Microsoft Excel Worksheet Functions 14 5th Aug 2005 05:00 PM
Coloring Cell Font based on Cell Contents willjohnson33@yahoo.com Microsoft Excel Programming 3 22nd Feb 2005 11:37 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:23 PM.