fill a color to a row

M

mns

Hi,
I want to check a column (lets say H) if there is a 1 value i want excel to
color the row.

lets say there is a 1 on H6, I want to fill a color to row 6. It can be full
coloring or if i can i might like to range it to A6:J6

thanx in advance
 
M

mns

I tried selecting the range then using conditional formula.
but I thing my formula is not working as I expect.

=IF(AND(H3=1,I3=0) --> I use this on formula place in conditional formatting
in Excel 2007.
If I can make this formula work I'll modify it to have 3 conditions.

I3 has a vaule of 1 mark the row Green
H3 has a vaule of 1 mark the row Yellow
I3 AND H3 has a vaule of 1 mark the row Green
 
M

mns

Thank you Russel, it worked.
But still need to have 3 conditions. Are they doable on one formula? if not
can I use priority thing on them? cause i need to make

I3 has a vaule of 1 mark the row Green
H3 has a vaule of 1 mark the row Yellow
I3 AND H3 has a vaule of 1 mark the row Green

colors are not imprtant. single ones are not problem. but I3 and H3
condition, is it doable?
 
R

Ron@Buy

=IF(AND(H3=1,I3=0)
You've almost got it right, try:
=AND(H3=1,I3=0)
and format colour to suit
 
M

mns

yes Ron, I'd love to try but...
can not use that formula =AND(H3=1,I3=0) like this.
neither can use mine...:(

when I add "" then it accpets it but wont do anything:(

="AND(H3=1,I3=0)" this way excel doesnt do anything,
and says i have an error when I type =AND(H3=1,I3=0)
directly:S any idea?
 
M

mns

=$H1=1 kind formulas can be entered. but
=AND(H3=1,I3=0) cannot be entered. and when I try
="AND(H3=1,I3=0)" this way excel doesnt do anything,
and says i have an error :(
 
R

Raj

Hi Mns

try this...

Since you want to give a criteria so that colors whole row.
Assume you have a sample database as below..
Having this database you want to color the whole row when you update the
status column. Lets say when you fill status as open then whole row should be
RED.
Before using a formula use this criteria.
In separate column say in column E type as open then select whole column and
rename the range as updateR in the range naming exactly to left of formula
tool bar. then use the formula as =countif(updater,$c2).
type the above formula in conditional formatting new rule and fill the RED
color.


A B C
Names Tickets status
Donna Sev1 open
Martin sev2 open
Wes sev2 open
Peter sev3 closed
Rajesh sev3 closed
 
G

Ganesh

Thank you Raj. you are awesome.........

Raj said:
Hi Mns

try this...

Since you want to give a criteria so that colors whole row.
Assume you have a sample database as below..
Having this database you want to color the whole row when you update the
status column. Lets say when you fill status as open then whole row should be
RED.
Before using a formula use this criteria.
In separate column say in column E type as open then select whole column and
rename the range as updateR in the range naming exactly to left of formula
tool bar. then use the formula as =countif(updater,$c2).
type the above formula in conditional formatting new rule and fill the RED
color.


A B C
Names Tickets status
Donna Sev1 open
Martin sev2 open
Wes sev2 open
Peter sev3 closed
Rajesh sev3 closed
 
V

Venus

I have a different problem. When I select a column and click the Conditional
Formatting command from the home tab in Excel 2007, my formula will not work.
I have a column of numbers ranging from 15 to 35. I inputted the formula
=$A$1:$A$20>=25 to format all cells in column A having a value of 25 or
higher. I'm not sure what I am doing wrong, but it isn't working. My Excel
Option (Formula Tab - Calculations is also set at Automatic.) Can someone
help me
Venus
 
L

L. Howard Kittle

For A1:A20 try this...

Select the range and in the formula is box enter =A1>=25

HTH
Regards,
Howard
 
V

Venus

Howard,
Thank you - thank you. I had spent hours agonizing over what I did wrong;
your solution worked. I appreciate your help
Thanks,
Venus
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top