Hi
How would I go about conditional formatting range P1 to be GREEN if A1 B1 C1 and N4 = 1 else it would display RED
it has been a while since i've used a formula for conditional formatting
Many Thanks
Hi
How would I go about conditional formatting range P1 to be GREEN if A1 B1 C1 and N4 = 1 else it would display RED
it has been a while since i've used a formula for conditional formatting
Many Thanks
1. highlight the range you want to apply the conditional formatting to
2. on the home tab, styles, select CF
3. select new rule, select use formula
4. enter =OR(A1=1,B1=1,C1=1,N4=1) format GREEN
For the RED...
3. select new rule, select use formula
4. enter =AND(A1<>1,B1<>1,C1<>1,N4<>1) format RED
1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
2. If your question is resolved, mark it SOLVED using the thread tools
3. Click on the star if you think someone helped you
Regards
Ford
Ah I would never have thought to put the OR and AND in there!!!
Thanks a bunch, I will try this tomorrow, I need my bed!!!!
Thanks again.
Happy to help, let me know how you make out![]()
you could probably just colour red fill rather than use
=AND(A1<>1,B1<>1,C1<>1,N4<>1) condition
"Unless otherwise stated all my comments are directed at OP"
Mojito connoisseur and now happily retired
where does code go ?
look here
how to insert code
how to enter array formula
why use -- in sumproduct
recommended reading
wiki Mojito
how to say no convincingly
most important thing you need
Martin Wilson: SPV
and RSMBC
yes, depending on what else they want, that might be a better option, Martin![]()
then again it might be quicker to use the cf
Do I detect another IF() inthere, Martin?![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks