#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 65
Default Turning green

On a spreadsheet we have a column which simply has the answer Yes or No.

In a row where the answer in that column is "Yes", I'd like the first 2
columns to turn green.

Any ideas, please?

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,117
Default Turning green

try this:

say you're in cell c2
somewhere in your spreadsheet, put the words "Yes" and "No" (without
quotes) & change them to white text OR hide the column. note the
location of these 2 words. in my sample i put them in T1 & T2.

select a2:b2
format, conditional formatting
choose "formula is" and enter
=$C2=$T$1
and choose the shading formatting
then click "add"
choose "formula is" again and enter
=$C2=$T$2
and choose "no fill" shading formatting
hit ok

try it out

if it works, highlight a2:b2 & drag down formatting as low as you
want. check one cell by opening conditional formatting again & make
sure the row # changed as you dragged it down.
:)
susan



On Apr 20, 7:40 am, bollard wrote:
On a spreadsheet we have a column which simply has the answer Yes or No.

In a row where the answer in that column is "Yes", I'd like the first 2
columns to turn green.

Any ideas, please?

Thanks.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 65
Default Turning green

Hi Susan.

I don't understand what you mean.

Let me clarify what's whe

The applicant's name appears in A2 and B2. The Yes/No data is in column M.

Surely I can use an IF condition, which includes $M$2="Yes" somewhere?

"Susan" wrote:

try this:

say you're in cell c2
somewhere in your spreadsheet, put the words "Yes" and "No" (without
quotes) & change them to white text OR hide the column. note the
location of these 2 words. in my sample i put them in T1 & T2.

select a2:b2
format, conditional formatting
choose "formula is" and enter
=$C2=$T$1
and choose the shading formatting
then click "add"
choose "formula is" again and enter
=$C2=$T$2
and choose "no fill" shading formatting
hit ok

try it out

if it works, highlight a2:b2 & drag down formatting as low as you
want. check one cell by opening conditional formatting again & make
sure the row # changed as you dragged it down.
:)
susan



On Apr 20, 7:40 am, bollard wrote:
On a spreadsheet we have a column which simply has the answer Yes or No.

In a row where the answer in that column is "Yes", I'd like the first 2
columns to turn green.

Any ideas, please?

Thanks.




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 96
Default Turning green

Highlight cells A2 and B2. Follow the Excel menu path Format / Conditional
Formatting. Change the first drop down field to "Formula Is." Then enter
the formula =$M2="Yes" in the next field. Then click on the Format button
and set the format to what you want the cell to be if the value is Yes. Then
click on Okay until you are back to Excel. A2 and B2 should now be whatever
format you set if the value in $M2 = Yes. Use the format painter to copy
this format to whatever other cells you want.

Hope that helps.

"bollard" wrote:

Hi Susan.

I don't understand what you mean.

Let me clarify what's whe

The applicant's name appears in A2 and B2. The Yes/No data is in column M.

Surely I can use an IF condition, which includes $M$2="Yes" somewhere?

"Susan" wrote:

try this:

say you're in cell c2
somewhere in your spreadsheet, put the words "Yes" and "No" (without
quotes) & change them to white text OR hide the column. note the
location of these 2 words. in my sample i put them in T1 & T2.

select a2:b2
format, conditional formatting
choose "formula is" and enter
=$C2=$T$1
and choose the shading formatting
then click "add"
choose "formula is" again and enter
=$C2=$T$2
and choose "no fill" shading formatting
hit ok

try it out

if it works, highlight a2:b2 & drag down formatting as low as you
want. check one cell by opening conditional formatting again & make
sure the row # changed as you dragged it down.
:)
susan



On Apr 20, 7:40 am, bollard wrote:
On a spreadsheet we have a column which simply has the answer Yes or No.

In a row where the answer in that column is "Yes", I'd like the first 2
columns to turn green.

Any ideas, please?

Thanks.




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 65
Default Turning green

Hi William

I've just tried that and it doesn't seem to work.

"William Horton" wrote:

Highlight cells A2 and B2. Follow the Excel menu path Format / Conditional
Formatting. Change the first drop down field to "Formula Is." Then enter
the formula =$M2="Yes" in the next field. Then click on the Format button
and set the format to what you want the cell to be if the value is Yes. Then
click on Okay until you are back to Excel. A2 and B2 should now be whatever
format you set if the value in $M2 = Yes. Use the format painter to copy
this format to whatever other cells you want.

Hope that helps.

"bollard" wrote:

Hi Susan.

I don't understand what you mean.

Let me clarify what's whe

The applicant's name appears in A2 and B2. The Yes/No data is in column M.

Surely I can use an IF condition, which includes $M$2="Yes" somewhere?

"Susan" wrote:

try this:

say you're in cell c2
somewhere in your spreadsheet, put the words "Yes" and "No" (without
quotes) & change them to white text OR hide the column. note the
location of these 2 words. in my sample i put them in T1 & T2.

select a2:b2
format, conditional formatting
choose "formula is" and enter
=$C2=$T$1
and choose the shading formatting
then click "add"
choose "formula is" again and enter
=$C2=$T$2
and choose "no fill" shading formatting
hit ok

try it out

if it works, highlight a2:b2 & drag down formatting as low as you
want. check one cell by opening conditional formatting again & make
sure the row # changed as you dragged it down.
:)
susan



On Apr 20, 7:40 am, bollard wrote:
On a spreadsheet we have a column which simply has the answer Yes or No.

In a row where the answer in that column is "Yes", I'd like the first 2
columns to turn green.

Any ideas, please?

Thanks.





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 96
Default Turning green

It's working for me on my Excel (Excel 2003). Go back into Format /
Conditional Formattingt and recheck the formula. Ensure that it is exactly
as I posted before. Sometimes Excel adds quotes by mistake and I have to go
back in and delete them.

Try that.

"bollard" wrote:

Hi William

I've just tried that and it doesn't seem to work.

"William Horton" wrote:

Highlight cells A2 and B2. Follow the Excel menu path Format / Conditional
Formatting. Change the first drop down field to "Formula Is." Then enter
the formula =$M2="Yes" in the next field. Then click on the Format button
and set the format to what you want the cell to be if the value is Yes. Then
click on Okay until you are back to Excel. A2 and B2 should now be whatever
format you set if the value in $M2 = Yes. Use the format painter to copy
this format to whatever other cells you want.

Hope that helps.

"bollard" wrote:

Hi Susan.

I don't understand what you mean.

Let me clarify what's whe

The applicant's name appears in A2 and B2. The Yes/No data is in column M.

Surely I can use an IF condition, which includes $M$2="Yes" somewhere?

"Susan" wrote:

try this:

say you're in cell c2
somewhere in your spreadsheet, put the words "Yes" and "No" (without
quotes) & change them to white text OR hide the column. note the
location of these 2 words. in my sample i put them in T1 & T2.

select a2:b2
format, conditional formatting
choose "formula is" and enter
=$C2=$T$1
and choose the shading formatting
then click "add"
choose "formula is" again and enter
=$C2=$T$2
and choose "no fill" shading formatting
hit ok

try it out

if it works, highlight a2:b2 & drag down formatting as low as you
want. check one cell by opening conditional formatting again & make
sure the row # changed as you dragged it down.
:)
susan



On Apr 20, 7:40 am, bollard wrote:
On a spreadsheet we have a column which simply has the answer Yes or No.

In a row where the answer in that column is "Yes", I'd like the first 2
columns to turn green.

Any ideas, please?

Thanks.



  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 65
Default Turning green

Hi William

No, I've checked and there's just the one set of inverted commas. It isn't
working. I've tried formatting column M so that the Yes and No are treated as
general, or as text etc and nothing seems to make any difference.

"William Horton" wrote:

Highlight cells A2 and B2. Follow the Excel menu path Format / Conditional
Formatting. Change the first drop down field to "Formula Is." Then enter
the formula =$M2="Yes" in the next field. Then click on the Format button
and set the format to what you want the cell to be if the value is Yes. Then
click on Okay until you are back to Excel. A2 and B2 should now be whatever
format you set if the value in $M2 = Yes. Use the format painter to copy
this format to whatever other cells you want.

Hope that helps.

"bollard" wrote:

Hi Susan.

I don't understand what you mean.

Let me clarify what's whe

The applicant's name appears in A2 and B2. The Yes/No data is in column M.

Surely I can use an IF condition, which includes $M$2="Yes" somewhere?

"Susan" wrote:

try this:

say you're in cell c2
somewhere in your spreadsheet, put the words "Yes" and "No" (without
quotes) & change them to white text OR hide the column. note the
location of these 2 words. in my sample i put them in T1 & T2.

select a2:b2
format, conditional formatting
choose "formula is" and enter
=$C2=$T$1
and choose the shading formatting
then click "add"
choose "formula is" again and enter
=$C2=$T$2
and choose "no fill" shading formatting
hit ok

try it out

if it works, highlight a2:b2 & drag down formatting as low as you
want. check one cell by opening conditional formatting again & make
sure the row # changed as you dragged it down.
:)
susan



On Apr 20, 7:40 am, bollard wrote:
On a spreadsheet we have a column which simply has the answer Yes or No.

In a row where the answer in that column is "Yes", I'd like the first 2
columns to turn green.

Any ideas, please?

Thanks.



  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 96
Default Turning green

Inverted commas??? Make sure there are quotes " around the word Yes. Also,
did you remember to set a format if your condition is true? And if so is it
a format that you would be able to differentiate from the regular formula?
Recheck your conditional format.

You may also try practicing in another blank worksheet. Try with the simple
conditional formatting of cell value equals and once you get that to work
move on from there to the Formula Is option.

I set my spreadsheet up with names in A2 and B2 and the word Yes in M2.
Then when I put the conditional formula Formula Is =$M2="Yes" in cells A2 and
B2 and then set the conditional format for those cells to a font color of
green it works. When the word Yes is in M2 the cells turn green and when it
is anything else they go back to normal font.

There must be something small you are missing.

"bollard" wrote:

Hi William

No, I've checked and there's just the one set of inverted commas. It isn't
working. I've tried formatting column M so that the Yes and No are treated as
general, or as text etc and nothing seems to make any difference.

"William Horton" wrote:

Highlight cells A2 and B2. Follow the Excel menu path Format / Conditional
Formatting. Change the first drop down field to "Formula Is." Then enter
the formula =$M2="Yes" in the next field. Then click on the Format button
and set the format to what you want the cell to be if the value is Yes. Then
click on Okay until you are back to Excel. A2 and B2 should now be whatever
format you set if the value in $M2 = Yes. Use the format painter to copy
this format to whatever other cells you want.

Hope that helps.

"bollard" wrote:

Hi Susan.

I don't understand what you mean.

Let me clarify what's whe

The applicant's name appears in A2 and B2. The Yes/No data is in column M.

Surely I can use an IF condition, which includes $M$2="Yes" somewhere?

"Susan" wrote:

try this:

say you're in cell c2
somewhere in your spreadsheet, put the words "Yes" and "No" (without
quotes) & change them to white text OR hide the column. note the
location of these 2 words. in my sample i put them in T1 & T2.

select a2:b2
format, conditional formatting
choose "formula is" and enter
=$C2=$T$1
and choose the shading formatting
then click "add"
choose "formula is" again and enter
=$C2=$T$2
and choose "no fill" shading formatting
hit ok

try it out

if it works, highlight a2:b2 & drag down formatting as low as you
want. check one cell by opening conditional formatting again & make
sure the row # changed as you dragged it down.
:)
susan



On Apr 20, 7:40 am, bollard wrote:
On a spreadsheet we have a column which simply has the answer Yes or No.

In a row where the answer in that column is "Yes", I'd like the first 2
columns to turn green.

Any ideas, please?

Thanks.



  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Turning green

Make sure you haven't got spare spaces or other non-printing characters in
M2.
Does =LEN(M2) give you the answer 3?

Also double check that you've got "Formula Is" in your CF, not "Cell value
is".
--
David Biddulph

"bollard" wrote in message
...
Hi William

No, I've checked and there's just the one set of inverted commas. It isn't
working. I've tried formatting column M so that the Yes and No are treated
as
general, or as text etc and nothing seems to make any difference.

"William Horton" wrote:

Highlight cells A2 and B2. Follow the Excel menu path Format /
Conditional
Formatting. Change the first drop down field to "Formula Is." Then
enter
the formula =$M2="Yes" in the next field. Then click on the Format
button
and set the format to what you want the cell to be if the value is Yes.
Then
click on Okay until you are back to Excel. A2 and B2 should now be
whatever
format you set if the value in $M2 = Yes. Use the format painter to copy
this format to whatever other cells you want.

Hope that helps.

"bollard" wrote:

Hi Susan.

I don't understand what you mean.

Let me clarify what's whe

The applicant's name appears in A2 and B2. The Yes/No data is in column
M.

Surely I can use an IF condition, which includes $M$2="Yes" somewhere?

"Susan" wrote:

try this:

say you're in cell c2
somewhere in your spreadsheet, put the words "Yes" and "No" (without
quotes) & change them to white text OR hide the column. note the
location of these 2 words. in my sample i put them in T1 & T2.

select a2:b2
format, conditional formatting
choose "formula is" and enter
=$C2=$T$1
and choose the shading formatting
then click "add"
choose "formula is" again and enter
=$C2=$T$2
and choose "no fill" shading formatting
hit ok

try it out

if it works, highlight a2:b2 & drag down formatting as low as you
want. check one cell by opening conditional formatting again & make
sure the row # changed as you dragged it down.
:)
susan



On Apr 20, 7:40 am, bollard
wrote:
On a spreadsheet we have a column which simply has the answer Yes
or No.

In a row where the answer in that column is "Yes", I'd like the
first 2
columns to turn green.

Any ideas, please?

Thanks.





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
green marker in cell ? Joe Miller Excel Discussion (Misc queries) 2 August 15th 06 07:01 PM
Help, need to make field go red or green smoran Excel Worksheet Functions 1 October 3rd 05 04:30 PM
little green triangles - XL 2003 dpenny Excel Discussion (Misc queries) 2 September 30th 05 08:30 PM
Turning #N/A to a zero...?? bigtim Excel Discussion (Misc queries) 5 July 26th 05 08:48 PM
how 'come green isn't green? ericx Excel Discussion (Misc queries) 7 November 26th 04 02:49 PM


All times are GMT +1. The time now is 01:41 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"