Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
EG EG is offline
external usenet poster
 
Posts: 38
Default conditional formatting

i am trying to have a row of cells be a certain color if one particular cell
is 0, for example. is there a way to do that?

thanks!

eric

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 37
Default conditional formatting

Click on Format, Conditional Formatting, change Cell Value to Formula is and
insert this, but change the cell reference to the one you want it to react
to.
=$B$10


--
kassie

never stop learning


"EG" wrote in message
...
i am trying to have a row of cells be a certain color if one particular
cell
is 0, for example. is there a way to do that?

thanks!

eric



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,365
Default conditional formatting

Select the row and then use conditional format and choose the Formula Is
option rather than the Value is

Enter a formula similar to this (assumes that you want to base color on
value in A1)

=$A$10
and set up your formatting.

"EG" wrote:

i am trying to have a row of cells be a certain color if one particular cell
is 0, for example. is there a way to do that?

thanks!

eric

  #4   Report Post  
Posted to microsoft.public.excel.misc
EG EG is offline
external usenet poster
 
Posts: 38
Default conditional formatting

thank you! that works fine! one more question, is there an easy way i can
apply that same criteria to following rows but using a different cell? In my
first row, i formatted the cells in the row based on the value in cell M12
being < or 0. Now i want to format the next row based on the value in cell
M13 being < or 0. Do i have to type the formulas in for each row each time
or is there an easy way to do each row based on the first row i formatted?

thanks again!

eric

"JLatham" wrote:

Select the row and then use conditional format and choose the Formula Is
option rather than the Value is

Enter a formula similar to this (assumes that you want to base color on
value in A1)

=$A$10
and set up your formatting.

"EG" wrote:

i am trying to have a row of cells be a certain color if one particular cell
is 0, for example. is there a way to do that?

thanks!

eric

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,365
Default conditional formatting

Select all of the rows that you want to format that way, then do the same
thing with Conditional Format | Formula is, and try this:
=$M120

that will keep the column M reference from changing, but in each row you
format that way, the 12 value will be increased by some number. That number
being an adjustment based on the row being formatted.

To try to put it simpler, if you selected rows 20-22 for this, then row 20
cells would show up as formatted "=$M120"
row 21 cells should look like "=$M130"
and row 22's cells should look like "=$M140"

All done by just typing the formula in one time.

"EG" wrote:

thank you! that works fine! one more question, is there an easy way i can
apply that same criteria to following rows but using a different cell? In my
first row, i formatted the cells in the row based on the value in cell M12
being < or 0. Now i want to format the next row based on the value in cell
M13 being < or 0. Do i have to type the formulas in for each row each time
or is there an easy way to do each row based on the first row i formatted?

thanks again!

eric

"JLatham" wrote:

Select the row and then use conditional format and choose the Formula Is
option rather than the Value is

Enter a formula similar to this (assumes that you want to base color on
value in A1)

=$A$10
and set up your formatting.

"EG" wrote:

i am trying to have a row of cells be a certain color if one particular cell
is 0, for example. is there a way to do that?

thanks!

eric



  #6   Report Post  
Posted to microsoft.public.excel.misc
EG EG is offline
external usenet poster
 
Posts: 38
Default conditional formatting

GREAT! tHANKS!

"JLatham" wrote:

Select all of the rows that you want to format that way, then do the same
thing with Conditional Format | Formula is, and try this:
=$M120

that will keep the column M reference from changing, but in each row you
format that way, the 12 value will be increased by some number. That number
being an adjustment based on the row being formatted.

To try to put it simpler, if you selected rows 20-22 for this, then row 20
cells would show up as formatted "=$M120"
row 21 cells should look like "=$M130"
and row 22's cells should look like "=$M140"

All done by just typing the formula in one time.

"EG" wrote:

thank you! that works fine! one more question, is there an easy way i can
apply that same criteria to following rows but using a different cell? In my
first row, i formatted the cells in the row based on the value in cell M12
being < or 0. Now i want to format the next row based on the value in cell
M13 being < or 0. Do i have to type the formulas in for each row each time
or is there an easy way to do each row based on the first row i formatted?

thanks again!

eric

"JLatham" wrote:

Select the row and then use conditional format and choose the Formula Is
option rather than the Value is

Enter a formula similar to this (assumes that you want to base color on
value in A1)

=$A$10
and set up your formatting.

"EG" wrote:

i am trying to have a row of cells be a certain color if one particular cell
is 0, for example. is there a way to do that?

thanks!

eric

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
sorting a range with conditional formatting renie Excel Worksheet Functions 2 June 2nd 06 10:43 PM
conditional formatting glitches Kat Excel Discussion (Misc queries) 2 May 26th 06 08:16 PM
Keeping conditional formatting when sorting Andrea A Excel Discussion (Misc queries) 0 April 4th 06 03:00 PM
conditional formatting Rich Excel Discussion (Misc queries) 2 April 1st 06 10:27 AM
cannot use ISEVEN or ISODD functions in Conditional Formatting Scott Paine Excel Worksheet Functions 6 December 6th 05 09:44 PM


All times are GMT +1. The time now is 10:50 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"