A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Conditional Formatting Formula



 
 
Thread Tools Display Modes
  #1  
Old May 24th, 2010, 03:42 AM posted to microsoft.public.excel.misc
Missile
external usenet poster
 
Posts: 11
Default Conditional Formatting Formula

After some help with Conditional Formatting.
As an example I have the following data in cells B1 & B2;
Cell B1 "Project 1 - Testing"
Cell B2 "Project 2 - Not Issued"
I want the cells containing the words "Not Issued" to be shaded (Green). In
this example that would be "B2".
Also I would like the same shading applied to cells A2, C2 to H2.


Thanks
  #2  
Old May 24th, 2010, 05:44 AM posted to microsoft.public.excel.misc
FSt1
external usenet poster
 
Posts: 2,788
Default Conditional Formatting Formula

hi
while holding the Ctrl key down...with the mouse...select A2,C2 and H2.
on the menu barformatconditional format
Formula is.......=$B2="Not Issued"......pick your shade of green.
ok out.
the key is the dollar sign($). this points all selected cells in the row at
column B but not the row so that you can copy A2:H2 and copy down as far as
needed.

regards
FSt1

"Missile" wrote:

After some help with Conditional Formatting.
As an example I have the following data in cells B1 & B2;
Cell B1 "Project 1 - Testing"
Cell B2 "Project 2 - Not Issued"
I want the cells containing the words "Not Issued" to be shaded (Green). In
this example that would be "B2".
Also I would like the same shading applied to cells A2, C2 to H2.


Thanks

  #3  
Old May 24th, 2010, 05:54 AM posted to microsoft.public.excel.misc
L. Howard Kittle
external usenet poster
 
Posts: 516
Default Conditional Formatting Formula

Select the cells you want to check for Not Issued. Say B1:B5

In Format Conditional formatting Formula Is =COUNTIF(B1,"*Not
Issued*")0 Format Patterns click on green OK out.

So now if you select B5 and note the conditional formatting in it, you will
see the formula refers to B5 in that cell.

Is not case sentive.

Here is the formula again if perhaps the 's got you confused in my
instructions.

=COUNTIF(B1,"*Not Issued*")0

HTH
Regards,
Howard

"Missile" wrote in message
...
After some help with Conditional Formatting.
As an example I have the following data in cells B1 & B2;
Cell B1 "Project 1 - Testing"
Cell B2 "Project 2 - Not Issued"
I want the cells containing the words "Not Issued" to be shaded (Green).
In
this example that would be "B2".
Also I would like the same shading applied to cells A2, C2 to H2.


Thanks



  #4  
Old May 24th, 2010, 06:06 AM posted to microsoft.public.excel.misc
L. Howard Kittle
external usenet poster
 
Posts: 516
Default Conditional Formatting Formula

Hi FSt1,

Just to note, the OP says the cells will contain something like "Project 1 -
Not Issued". So =$B2="Not Issued" will not work if other characters are in
the cell.

=COUNTIF(B1,"*Not Issued*")0 looks for the occurrence of Not Issued among
all the characters in the cell.

Regards,
Howard

"FSt1" wrote in message
...
hi
while holding the Ctrl key down...with the mouse...select A2,C2 and H2.
on the menu barformatconditional format
Formula is.......=$B2="Not Issued"......pick your shade of green.
ok out.
the key is the dollar sign($). this points all selected cells in the row
at
column B but not the row so that you can copy A2:H2 and copy down as far
as
needed.

regards
FSt1

"Missile" wrote:

After some help with Conditional Formatting.
As an example I have the following data in cells B1 & B2;
Cell B1 "Project 1 - Testing"
Cell B2 "Project 2 - Not Issued"
I want the cells containing the words "Not Issued" to be shaded (Green).
In
this example that would be "B2".
Also I would like the same shading applied to cells A2, C2 to H2.


Thanks



  #5  
Old May 24th, 2010, 06:48 AM posted to microsoft.public.excel.misc
Missile
external usenet poster
 
Posts: 11
Default Conditional Formatting Formula

Excellent, thanks for that, modified it slightly and it works perfectly.
Added $ to the B1, eg. =COUNTIF($B1,"*Not Issued*")0


"L. Howard Kittle" wrote:

Select the cells you want to check for Not Issued. Say B1:B5

In Format Conditional formatting Formula Is =COUNTIF(B1,"*Not
Issued*")0 Format Patterns click on green OK out.

So now if you select B5 and note the conditional formatting in it, you will
see the formula refers to B5 in that cell.

Is not case sentive.

Here is the formula again if perhaps the 's got you confused in my
instructions.

=COUNTIF(B1,"*Not Issued*")0

HTH
Regards,
Howard

"Missile" wrote in message
...
After some help with Conditional Formatting.
As an example I have the following data in cells B1 & B2;
Cell B1 "Project 1 - Testing"
Cell B2 "Project 2 - Not Issued"
I want the cells containing the words "Not Issued" to be shaded (Green).
In
this example that would be "B2".
Also I would like the same shading applied to cells A2, C2 to H2.


Thanks



.

  #6  
Old May 24th, 2010, 07:25 AM posted to microsoft.public.excel.misc
L. Howard Kittle
external usenet poster
 
Posts: 516
Default Conditional Formatting Formula

You are welcome, thanks for the feedback.

Howard

"Missile" wrote in message
...
After some help with Conditional Formatting.
As an example I have the following data in cells B1 & B2;
Cell B1 "Project 1 - Testing"
Cell B2 "Project 2 - Not Issued"
I want the cells containing the words "Not Issued" to be shaded (Green).
In
this example that would be "B2".
Also I would like the same shading applied to cells A2, C2 to H2.


Thanks



  #7  
Old May 24th, 2010, 08:09 AM posted to microsoft.public.excel.misc
FSt1
external usenet poster
 
Posts: 2,788
Default Conditional Formatting Formula

hi
and you are right. i didn't read close enough or read too quickly or
something.
thanks for the correction.

regards
FSt1

"L. Howard Kittle" wrote:

Hi FSt1,

Just to note, the OP says the cells will contain something like "Project 1 -
Not Issued". So =$B2="Not Issued" will not work if other characters are in
the cell.

=COUNTIF(B1,"*Not Issued*")0 looks for the occurrence of Not Issued among
all the characters in the cell.

Regards,
Howard

"FSt1" wrote in message
...
hi
while holding the Ctrl key down...with the mouse...select A2,C2 and H2.
on the menu barformatconditional format
Formula is.......=$B2="Not Issued"......pick your shade of green.
ok out.
the key is the dollar sign($). this points all selected cells in the row
at
column B but not the row so that you can copy A2:H2 and copy down as far
as
needed.

regards
FSt1

"Missile" wrote:

After some help with Conditional Formatting.
As an example I have the following data in cells B1 & B2;
Cell B1 "Project 1 - Testing"
Cell B2 "Project 2 - Not Issued"
I want the cells containing the words "Not Issued" to be shaded (Green).
In
this example that would be "B2".
Also I would like the same shading applied to cells A2, C2 to H2.


Thanks



.

 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:52 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.