PC Review


Reply
Thread Tools Rate Thread

blank cell conditionally formatted

 
 
davegb
Guest
Posts: n/a
 
      27th Mar 2007
I would like blank cells in my spreadsheet to be white (no shading). I
would like the cells with text to be formatted to a selected color. I
did a search in this NG but couldn't find any similar situations. Does
anyone know how to do this?

TIA

 
Reply With Quote
 
 
 
 
JE McGimpsey
Guest
Posts: n/a
 
      27th Mar 2007
One way:

Format your cells as white (no shading). Select the cells to
Conditionally format (with, say, cell A1 the active cell), and set the
dropdowns and inputbox to read

CF1: Formula is =LEN(A1)>0
Format1: <patterns>/<selected color>

In article <(E-Mail Removed)>,
"davegb" <(E-Mail Removed)> wrote:

> I would like blank cells in my spreadsheet to be white (no shading). I
> would like the cells with text to be formatted to a selected color. I
> did a search in this NG but couldn't find any similar situations. Does
> anyone know how to do this?
>
> TIA

 
Reply With Quote
 
davegb
Guest
Posts: n/a
 
      27th Mar 2007
On Mar 27, 9:20 am, JE McGimpsey <jemcgimp...@mvps.org> wrote:
> One way:
>
> Format your cells as white (no shading). Select the cells to
> Conditionally format (with, say, cell A1 the active cell), and set the
> dropdowns and inputbox to read
>
> CF1: Formula is =LEN(A1)>0
> Format1: <patterns>/<selected color>
>
> In article <1175008431.196607.19...@b75g2000hsg.googlegroups.com>,
>
>
>
> "davegb" <dav...@safebrowse.com> wrote:
> > I would like blank cells in my spreadsheet to be white (no shading). I
> > would like the cells with text to be formatted to a selected color. I
> > did a search in this NG but couldn't find any similar situations. Does
> > anyone know how to do this?

>
> > TIA- Hide quoted text -

>
> - Show quoted text -


Thanks for your reply. Worked great!

I also want to put in some underlining in some cells based on whether
an adjacent cell is blank or non-blank. Do you know how to do that?

 
Reply With Quote
 
JE McGimpsey
Guest
Posts: n/a
 
      27th Mar 2007
One way:

Add the underlining to the CF format.


In article <(E-Mail Removed)>,
"davegb" <(E-Mail Removed)> wrote:

> I also want to put in some underlining in some cells based on whether
> an adjacent cell is blank or non-blank. Do you know how to do that?

 
Reply With Quote
 
davegb
Guest
Posts: n/a
 
      28th Mar 2007
On Mar 27, 10:38 am, JE McGimpsey <jemcgimp...@mvps.org> wrote:
> One way:
>
> Add the underlining to the CF format.
>
> In article <1175011135.308605.6...@e65g2000hsc.googlegroups.com>,
>
>
>
> "davegb" <dav...@safebrowse.com> wrote:
> > I also want to put in some underlining in some cells based on whether
> > an adjacent cell is blank or non-blank. Do you know how to do that?- Hide quoted text -

>
> - Show quoted text -


Thanks for the reply. That was what I was planning to do, but I don't
know how to test a nearby cell (probably will use the offset property)
to see if it has a date or a number in it to determine the formatting
of the cell in question. Any ideas?

 
Reply With Quote
 
JE McGimpsey
Guest
Posts: n/a
 
      28th Mar 2007
> Any ideas?

Lots, but there's no way of knowing which would be most appropriate
without something more specific than "test a nearby cell", and "see if
it has a date or a number in it".

In article <(E-Mail Removed)>,
"davegb" <(E-Mail Removed)> wrote:

> Thanks for the reply. That was what I was planning to do, but I don't
> know how to test a nearby cell (probably will use the offset property)
> to see if it has a date or a number in it to determine the formatting
> of the cell in question.

 
Reply With Quote
 
davegb
Guest
Posts: n/a
 
      29th Mar 2007
On Mar 27, 4:34 pm, JE McGimpsey <jemcgimp...@mvps.org> wrote:
> > Any ideas?

>
> Lots, but there's no way of knowing which would be most appropriate
> without something more specific than "test a nearby cell", and "see if
> it has a date or a number in it".
>
> In article <1175034435.405119.167...@y80g2000hsf.googlegroups.com>,
>
>
>
> "davegb" <dav...@safebrowse.com> wrote:
> > Thanks for the reply. That was what I was planning to do, but I don't
> > know how to test a nearby cell (probably will use the offset property)
> > to see if it has a date or a number in it to determine the formatting
> > of the cell in question.- Hide quoted text -

>
> - Show quoted text -


Thanks for your help. I think I'll just format the spreadsheet
manually, I can't devote a great deal of time to this right now.

 
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
Countif cell is conditionally formatted RicG Microsoft Excel Worksheet Functions 0 12th Jun 2009 07:59 AM
inserting a hyperlink into a conditionally formatted cell, Excel 2 Rawknee Microsoft Excel Misc 2 31st Mar 2009 07:23 PM
Conditionally Formatted Cells amy Microsoft Excel Misc 1 23rd Feb 2008 08:28 AM
Checking color of conditionally formatted cell Jerry K Microsoft Excel Programming 2 23rd Oct 2007 10:58 PM
Ending a macro early conditionally on one cell being blank Rokuro kubi Microsoft Excel Misc 3 26th May 2006 03:09 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:50 PM.