Conditional Formatting on Range of Cells

  • Follow


My Range is A23:M:23. I want these to be a color if the contents of N23 is F.

I have tried, =$N$23="F" as well as =$N$23=F without any luck.

Any suggestions?
0
Reply Utf 3/29/2010 9:56:01 PM

>I have tried, =$N$23="F"

That's the formula you would want to use.

Enter that formula in a worksheet cell. What result do you get? It may be 
that N23 does contain F but it might also contain unseen whitespace 
characters so that something like this:

F<space>

Would cause =$N$23="F" to return FALSE.

-- 
Biff
Microsoft Excel MVP


"RoadKill" <RoadKill@discussions.microsoft.com> wrote in message 
news:5FE47576-DF03-4CE5-8536-51C4CDA1A2B7@microsoft.com...
> My Range is A23:M:23. I want these to be a color if the contents of N23 is 
> F.
>
> I have tried, =$N$23="F" as well as =$N$23=F without any luck.
>
> Any suggestions? 


0
Reply T 3/29/2010 10:14:05 PM


hi
select A23:M23
set CF for all cell in selected range at once....
formula is.....=$N$23="F".....pick your color.
type F in N23. the rangeA23:M23 should change to picked color.

Regards
FSt1

"RoadKill" wrote:

> My Range is A23:M:23. I want these to be a color if the contents of N23 is F.
> 
> I have tried, =$N$23="F" as well as =$N$23=F without any luck.
> 
> Any suggestions?
0
Reply Utf 3/29/2010 10:22:03 PM

That is exactly what I have, and unfortunately it doesn't change the color of 
the cells at all.

"FSt1" wrote:

> hi
> select A23:M23
> set CF for all cell in selected range at once....
> formula is.....=$N$23="F".....pick your color.
> type F in N23. the rangeA23:M23 should change to picked color.
> 
> Regards
> FSt1
> 
> "RoadKill" wrote:
> 
> > My Range is A23:M:23. I want these to be a color if the contents of N23 is F.
> > 
> > I have tried, =$N$23="F" as well as =$N$23=F without any luck.
> > 
> > Any suggestions?
0
Reply Utf 3/29/2010 10:37:01 PM

There isn't any whitespace. I have even tried it on a new, blank worksheet 
using basic numbers. Nothing happens.

Is there some setting that would prevent it?

"T. Valko" wrote:

> >I have tried, =$N$23="F"
> 
> That's the formula you would want to use.
> 
> Enter that formula in a worksheet cell. What result do you get? It may be 
> that N23 does contain F but it might also contain unseen whitespace 
> characters so that something like this:
> 
> F<space>
> 
> Would cause =$N$23="F" to return FALSE.
> 
> -- 
> Biff
> Microsoft Excel MVP
> 
> 
> "RoadKill" <RoadKill@discussions.microsoft.com> wrote in message 
> news:5FE47576-DF03-4CE5-8536-51C4CDA1A2B7@microsoft.com...
> > My Range is A23:M:23. I want these to be a color if the contents of N23 is 
> > F.
> >
> > I have tried, =$N$23="F" as well as =$N$23=F without any luck.
> >
> > Any suggestions? 
> 
> 
> .
> 
0
Reply Utf 3/29/2010 10:58:03 PM

How about using TRIM?
=TRIM($N$23)="F"
-- 
Max
Singapore
--- 
"RoadKill" wrote:
> .. and unfortunately it doesn't change the color of the cells at all.

0
Reply Utf 3/29/2010 11:11:02 PM

Select cells A23 through M23.  Go to Conditional Formatting and choose Cell 
Value Is Equal To and type in =$N$23 and choose how you want the cell 
formatted and click OK.
Now enter an F in cell N23 and it should change the color of any cell with 
an F in it in the range A23:M23.

Do not use =$N$23=F with or without quotes.


"RoadKill" wrote:

> My Range is A23:M:23. I want these to be a color if the contents of N23 is F.
> 
> I have tried, =$N$23="F" as well as =$N$23=F without any luck.
> 
> Any suggestions?
0
Reply Utf 3/30/2010 12:36:01 AM

See if this might be the culprit:

http://support.microsoft.com/?id=833258

-- 
Biff
Microsoft Excel MVP


"RoadKill" <RoadKill@discussions.microsoft.com> wrote in message 
news:7D95B90B-F8B4-4DA6-BE09-78FDEF56A644@microsoft.com...
> There isn't any whitespace. I have even tried it on a new, blank worksheet
> using basic numbers. Nothing happens.
>
> Is there some setting that would prevent it?
>
> "T. Valko" wrote:
>
>> >I have tried, =$N$23="F"
>>
>> That's the formula you would want to use.
>>
>> Enter that formula in a worksheet cell. What result do you get? It may be
>> that N23 does contain F but it might also contain unseen whitespace
>> characters so that something like this:
>>
>> F<space>
>>
>> Would cause =$N$23="F" to return FALSE.
>>
>> -- 
>> Biff
>> Microsoft Excel MVP
>>
>>
>> "RoadKill" <RoadKill@discussions.microsoft.com> wrote in message
>> news:5FE47576-DF03-4CE5-8536-51C4CDA1A2B7@microsoft.com...
>> > My Range is A23:M:23. I want these to be a color if the contents of N23 
>> > is
>> > F.
>> >
>> > I have tried, =$N$23="F" as well as =$N$23=F without any luck.
>> >
>> > Any suggestions?
>>
>>
>> .
>> 


0
Reply T 3/30/2010 1:23:29 AM

7 Replies
195 Views

(page loaded in 0.238 seconds)

Similiar Articles:
















7/22/2012 11:55:00 AM


Reply: