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 » Setting up and Configuration
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Show a row shaded when a cell contains certain data



 
 
Thread Tools Display Modes
  #1  
Old March 2nd, 2007, 11:59 PM posted to microsoft.public.excel.setup
Gadgetman
external usenet poster
 
Posts: 16
Default Show a row shaded when a cell contains certain data

I have a spreadsheet which if column K has the data 'T2' in it I want the
whole row to be shaded red. Can anyone explain how to do this?
Thanks
Steve
  #2  
Old March 3rd, 2007, 01:47 AM posted to microsoft.public.excel.setup
Dave Peterson
external usenet poster
 
Posts: 19,791
Default Show a row shaded when a cell contains certain data

Select the range that should be affected (A:Z???)
Then with the activecell in row #1
Format|conditional formatting
Formula is:
=$k1="T2"
and give it a nice format

Gadgetman wrote:

I have a spreadsheet which if column K has the data 'T2' in it I want the
whole row to be shaded red. Can anyone explain how to do this?
Thanks
Steve


--

Dave Peterson
  #3  
Old March 3rd, 2007, 03:14 AM posted to microsoft.public.excel.setup
Elkar
external usenet poster
 
Posts: 940
Default Show a row shaded when a cell contains certain data

Select column K
From the Format Menu, choose "Conditional Formatting..."
Change "Cell Value Is" to "Formula Is"
Enter the formula: =COUNTIF(K:K,"T2")0
Choose your format
OK

HTH,
Elkar


"Gadgetman" wrote:

I have a spreadsheet which if column K has the data 'T2' in it I want the
whole row to be shaded red. Can anyone explain how to do this?
Thanks
Steve

  #4  
Old March 3rd, 2007, 02:19 PM posted to microsoft.public.excel.setup
Gadgetman
external usenet poster
 
Posts: 16
Default Show a row shaded when a cell contains certain data

Thanks it did work but only in the K cell. What I need is for it to high the
whole row in the same shade.
Thanks
Steve

"Elkar" wrote:

Select column K
From the Format Menu, choose "Conditional Formatting..."
Change "Cell Value Is" to "Formula Is"
Enter the formula: =COUNTIF(K:K,"T2")0
Choose your format
OK

HTH,
Elkar


"Gadgetman" wrote:

I have a spreadsheet which if column K has the data 'T2' in it I want the
whole row to be shaded red. Can anyone explain how to do this?
Thanks
Steve

  #5  
Old March 3rd, 2007, 02:22 PM posted to microsoft.public.excel.setup
Gadgetman
external usenet poster
 
Posts: 16
Default Show a row shaded when a cell contains certain data

Sorry Dave but you lost me. I tried it but it doesn't seem to work perhaps
if you could put it into idiots talk I may understand it a bit better.
Thanks
Steve

"Dave Peterson" wrote:

Select the range that should be affected (A:Z???)
Then with the activecell in row #1
Format|conditional formatting
Formula is:
=$k1="T2"
and give it a nice format

Gadgetman wrote:

I have a spreadsheet which if column K has the data 'T2' in it I want the
whole row to be shaded red. Can anyone explain how to do this?
Thanks
Steve


--

Dave Peterson

  #6  
Old March 3rd, 2007, 04:12 PM posted to microsoft.public.excel.setup
Dave Peterson
external usenet poster
 
Posts: 19,791
Default Show a row shaded when a cell contains certain data

Select all the columns you want formatted (select them all if you really meant
the entire row)

Notice that there's one white cell in that selection. That's the activecell.

Then follow those same instructions
format|conditional formatting
formula is
=$k1="T2"

and give it the format you want.

I'm not sure this helps. But you may want to explain what you don't understand
and what you did if it doesn't work.

Gadgetman wrote:

Sorry Dave but you lost me. I tried it but it doesn't seem to work perhaps
if you could put it into idiots talk I may understand it a bit better.
Thanks
Steve

"Dave Peterson" wrote:

Select the range that should be affected (A:Z???)
Then with the activecell in row #1
Format|conditional formatting
Formula is:
=$k1="T2"
and give it a nice format

Gadgetman wrote:

I have a spreadsheet which if column K has the data 'T2' in it I want the
whole row to be shaded red. Can anyone explain how to do this?
Thanks
Steve


--

Dave Peterson


--

Dave Peterson
  #7  
Old March 3rd, 2007, 04:18 PM posted to microsoft.public.excel.setup
Dave Peterson
external usenet poster
 
Posts: 19,791
Default Show a row shaded when a cell contains certain data

Ps. Make sure that row 1 is visible when you do this--else the activecell may
not be row 1.

Dave Peterson wrote:

Select all the columns you want formatted (select them all if you really meant
the entire row)

Notice that there's one white cell in that selection. That's the activecell.

Then follow those same instructions
format|conditional formatting
formula is
=$k1="T2"

and give it the format you want.

I'm not sure this helps. But you may want to explain what you don't understand
and what you did if it doesn't work.

Gadgetman wrote:

Sorry Dave but you lost me. I tried it but it doesn't seem to work perhaps
if you could put it into idiots talk I may understand it a bit better.
Thanks
Steve

"Dave Peterson" wrote:

Select the range that should be affected (A:Z???)
Then with the activecell in row #1
Format|conditional formatting
Formula is:
=$k1="T2"
and give it a nice format

Gadgetman wrote:

I have a spreadsheet which if column K has the data 'T2' in it I want the
whole row to be shaded red. Can anyone explain how to do this?
Thanks
Steve

--

Dave Peterson


--

Dave Peterson


--

Dave Peterson
 




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 12:20 AM.


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