PC Review


Reply
Thread Tools Rate Thread

conditional formatting based on the value of another cell

 
 
bwilde
Guest
Posts: n/a
 
      11th Jan 2010
I want to apply a conditional format to a cell based on the value of another
cell having nothing to do with the value of the cell I want the format to
effect. for example - if the value in cell m5<0 i want cell a5 to be italic
(regardless of the value in a5)
 
Reply With Quote
 
 
 
 
David Biddulph
Guest
Posts: n/a
 
      11th Jan 2010
You need to use the CF/ Formula Is ... option, rather than CF/ Cell Value Is
....
then you can use Formula Is =M5<0
--
David Biddulph


"bwilde" <(E-Mail Removed)> wrote in message
news:CCFB6361-8468-48B6-AB77-(E-Mail Removed)...
>I want to apply a conditional format to a cell based on the value of
>another
> cell having nothing to do with the value of the cell I want the format to
> effect. for example - if the value in cell m5<0 i want cell a5 to be
> italic
> (regardless of the value in a5)



 
Reply With Quote
 
Gord Dibben
Guest
Posts: n/a
 
      11th Jan 2010
Select A5 and CF>Formula is: =M5<0


Gord Dibben MS Excel MVP

On Mon, 11 Jan 2010 08:12:02 -0800, bwilde
<(E-Mail Removed)> wrote:

>I want to apply a conditional format to a cell based on the value of another
>cell having nothing to do with the value of the cell I want the format to
>effect. for example - if the value in cell m5<0 i want cell a5 to be italic
>(regardless of the value in a5)


 
Reply With Quote
 
bwilde
Guest
Posts: n/a
 
      12th Jan 2010
thank you - would you also know how I can have more than one condition - I
want to say if m22<=0 OR r22<=0 OR x22<=0 format green - I'm doing something
wrong

"Gord Dibben" wrote:

> Select A5 and CF>Formula is: =M5<0
>
>
> Gord Dibben MS Excel MVP
>
> On Mon, 11 Jan 2010 08:12:02 -0800, bwilde
> <(E-Mail Removed)> wrote:
>
> >I want to apply a conditional format to a cell based on the value of another
> >cell having nothing to do with the value of the cell I want the format to
> >effect. for example - if the value in cell m5<0 i want cell a5 to be italic
> >(regardless of the value in a5)

>
> .
>

 
Reply With Quote
 
David Biddulph
Guest
Posts: n/a
 
      12th Jan 2010
Perhaps you haven't looked at the Excel help for the OR function?
That will tell you the syntax of the function.
--
David Biddulph

"bwilde" <(E-Mail Removed)> wrote in message
news:A5027DE6-E949-445C-B6BD-(E-Mail Removed)...
> thank you - would you also know how I can have more than one condition - I
> want to say if m22<=0 OR r22<=0 OR x22<=0 format green - I'm doing
> something
> wrong
>
> "Gord Dibben" wrote:
>
>> Select A5 and CF>Formula is: =M5<0
>>
>>
>> Gord Dibben MS Excel MVP
>>
>> On Mon, 11 Jan 2010 08:12:02 -0800, bwilde
>> <(E-Mail Removed)> wrote:
>>
>> >I want to apply a conditional format to a cell based on the value of
>> >another
>> >cell having nothing to do with the value of the cell I want the format
>> >to
>> >effect. for example - if the value in cell m5<0 i want cell a5 to be
>> >italic
>> >(regardless of the value in a5)

>>
>> .
>>



 
Reply With Quote
 
bwilde
Guest
Posts: n/a
 
      12th Jan 2010
I did and I still can't seem to get it right. when i use OR either I get an
error or if I don't get and error the CF doesn't work

"David Biddulph" wrote:

> Perhaps you haven't looked at the Excel help for the OR function?
> That will tell you the syntax of the function.
> --
> David Biddulph
>
> "bwilde" <(E-Mail Removed)> wrote in message
> news:A5027DE6-E949-445C-B6BD-(E-Mail Removed)...
> > thank you - would you also know how I can have more than one condition - I
> > want to say if m22<=0 OR r22<=0 OR x22<=0 format green - I'm doing
> > something
> > wrong
> >
> > "Gord Dibben" wrote:
> >
> >> Select A5 and CF>Formula is: =M5<0
> >>
> >>
> >> Gord Dibben MS Excel MVP
> >>
> >> On Mon, 11 Jan 2010 08:12:02 -0800, bwilde
> >> <(E-Mail Removed)> wrote:
> >>
> >> >I want to apply a conditional format to a cell based on the value of
> >> >another
> >> >cell having nothing to do with the value of the cell I want the format
> >> >to
> >> >effect. for example - if the value in cell m5<0 i want cell a5 to be
> >> >italic
> >> >(regardless of the value in a5)
> >>
> >> .
> >>

>
>
> .
>

 
Reply With Quote
 
bwilde
Guest
Posts: n/a
 
      12th Jan 2010
If I put = M22<0 OR =R22<0 OR =X22<0 I get an error. If I put (= M22<0) OR
(=R22<0) OR(=X22<0) it changes it to ='(= M22<0) OR (=R22<0) OR(=X22<0)' and
there's no error but it doesn't work.

"David Biddulph" wrote:

> Show us the formula you have used in your CF/ Formula Is condition, then we
> can tell you what you've got wrong.
> --
> David Biddulph
>
>
> bwilde wrote:
> > I did and I still can't seem to get it right. when i use OR either I
> > get an error or if I don't get and error the CF doesn't work
> >
> > "David Biddulph" wrote:
> >
> >> Perhaps you haven't looked at the Excel help for the OR function?
> >> That will tell you the syntax of the function.
> >> --
> >> David Biddulph
> >>
> >> "bwilde" <(E-Mail Removed)> wrote in message
> >> news:A5027DE6-E949-445C-B6BD-(E-Mail Removed)...
> >>> thank you - would you also know how I can have more than one
> >>> condition - I want to say if m22<=0 OR r22<=0 OR x22<=0 format
> >>> green - I'm doing something
> >>> wrong
> >>>
> >>> "Gord Dibben" wrote:
> >>>
> >>>> Select A5 and CF>Formula is: =M5<0
> >>>>
> >>>>
> >>>> Gord Dibben MS Excel MVP
> >>>>
> >>>> On Mon, 11 Jan 2010 08:12:02 -0800, bwilde
> >>>> <(E-Mail Removed)> wrote:
> >>>>
> >>>>> I want to apply a conditional format to a cell based on the value
> >>>>> of another
> >>>>> cell having nothing to do with the value of the cell I want the
> >>>>> format to
> >>>>> effect. for example - if the value in cell m5<0 i want cell a5
> >>>>> to be italic
> >>>>> (regardless of the value in a5)
> >>>>
> >>>> .
> >>>>
> >>
> >>
> >> .

>
>
> .
>

 
Reply With Quote
 
bwilde
Guest
Posts: n/a
 
      13th Jan 2010
the excel help wasn't as helpful as you! =OR(M31<0,R31<0,X31<0) works thank
you so much.

"David Biddulph" wrote:

> In that case you need to look again at the Excel help for the OR function.
>
> It tells you that the syntax is OR(logical1,logical2,...)
> and gives examples such as =OR(1+1=1,2+2=5)
>
> It doesn't say =logical1 OR =logical2
> --
> David Biddulph
>
>
> bwilde wrote:
> > If I put = M22<0 OR =R22<0 OR =X22<0 I get an error. If I put (=
> > M22<0) OR (=R22<0) OR(=X22<0) it changes it to ='(= M22<0) OR
> > (=R22<0) OR(=X22<0)' and there's no error but it doesn't work.
> >
> > "David Biddulph" wrote:
> >
> >> Show us the formula you have used in your CF/ Formula Is condition,
> >> then we can tell you what you've got wrong.
> >> --
> >> David Biddulph
> >>
> >>
> >> bwilde wrote:
> >>> I did and I still can't seem to get it right. when i use OR either
> >>> I get an error or if I don't get and error the CF doesn't work
> >>>
> >>> "David Biddulph" wrote:
> >>>
> >>>> Perhaps you haven't looked at the Excel help for the OR function?
> >>>> That will tell you the syntax of the function.
> >>>> --
> >>>> David Biddulph
> >>>>
> >>>> "bwilde" <(E-Mail Removed)> wrote in message
> >>>> news:A5027DE6-E949-445C-B6BD-(E-Mail Removed)...
> >>>>> thank you - would you also know how I can have more than one
> >>>>> condition - I want to say if m22<=0 OR r22<=0 OR x22<=0 format
> >>>>> green - I'm doing something
> >>>>> wrong
> >>>>>
> >>>>> "Gord Dibben" wrote:
> >>>>>
> >>>>>> Select A5 and CF>Formula is: =M5<0
> >>>>>>
> >>>>>>
> >>>>>> Gord Dibben MS Excel MVP
> >>>>>>
> >>>>>> On Mon, 11 Jan 2010 08:12:02 -0800, bwilde
> >>>>>> <(E-Mail Removed)> wrote:
> >>>>>>
> >>>>>>> I want to apply a conditional format to a cell based on the
> >>>>>>> value of another
> >>>>>>> cell having nothing to do with the value of the cell I want the
> >>>>>>> format to
> >>>>>>> effect. for example - if the value in cell m5<0 i want cell a5
> >>>>>>> to be italic
> >>>>>>> (regardless of the value in a5)

>
>
> .
>

 
Reply With Quote
 
David Biddulph
Guest
Posts: n/a
 
      14th Jan 2010
Glad to hear it.
--
David Biddulph


"bwilde" <(E-Mail Removed)> wrote in message
news:F857EE42-3A17-4073-AE02-(E-Mail Removed)...
> the excel help wasn't as helpful as you! =OR(M31<0,R31<0,X31<0) works
> thank
> you so much.
>
> "David Biddulph" wrote:
>
>> In that case you need to look again at the Excel help for the OR
>> function.
>>
>> It tells you that the syntax is OR(logical1,logical2,...)
>> and gives examples such as =OR(1+1=1,2+2=5)
>>
>> It doesn't say =logical1 OR =logical2
>> --
>> David Biddulph
>>
>>
>> bwilde wrote:
>> > If I put = M22<0 OR =R22<0 OR =X22<0 I get an error. If I put (=
>> > M22<0) OR (=R22<0) OR(=X22<0) it changes it to ='(= M22<0) OR
>> > (=R22<0) OR(=X22<0)' and there's no error but it doesn't work.
>> >
>> > "David Biddulph" wrote:
>> >
>> >> Show us the formula you have used in your CF/ Formula Is condition,
>> >> then we can tell you what you've got wrong.
>> >> --
>> >> David Biddulph
>> >>
>> >>
>> >> bwilde wrote:
>> >>> I did and I still can't seem to get it right. when i use OR either
>> >>> I get an error or if I don't get and error the CF doesn't work
>> >>>
>> >>> "David Biddulph" wrote:
>> >>>
>> >>>> Perhaps you haven't looked at the Excel help for the OR function?
>> >>>> That will tell you the syntax of the function.
>> >>>> --
>> >>>> David Biddulph
>> >>>>
>> >>>> "bwilde" <(E-Mail Removed)> wrote in message
>> >>>> news:A5027DE6-E949-445C-B6BD-(E-Mail Removed)...
>> >>>>> thank you - would you also know how I can have more than one
>> >>>>> condition - I want to say if m22<=0 OR r22<=0 OR x22<=0 format
>> >>>>> green - I'm doing something
>> >>>>> wrong
>> >>>>>
>> >>>>> "Gord Dibben" wrote:
>> >>>>>
>> >>>>>> Select A5 and CF>Formula is: =M5<0
>> >>>>>>
>> >>>>>>
>> >>>>>> Gord Dibben MS Excel MVP
>> >>>>>>
>> >>>>>> On Mon, 11 Jan 2010 08:12:02 -0800, bwilde
>> >>>>>> <(E-Mail Removed)> wrote:
>> >>>>>>
>> >>>>>>> I want to apply a conditional format to a cell based on the
>> >>>>>>> value of another
>> >>>>>>> cell having nothing to do with the value of the cell I want the
>> >>>>>>> format to
>> >>>>>>> effect. for example - if the value in cell m5<0 i want cell a5
>> >>>>>>> to be italic
>> >>>>>>> (regardless of the value in a5)

>>
>>
>> .
>>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Conditional formatting, based on a different cell? GD Microsoft Excel Misc 1 9th Feb 2009 08:14 PM
Conditional formatting Based on cell A text with conditions in Cell B Raicomm Microsoft Excel Misc 0 21st Jan 2008 04:46 PM
conditional Formatting based on cell formatting Totom Microsoft Excel Worksheet Functions 1 20th Jan 2007 02:02 PM
conditional Formatting based on cell formatting Totom Microsoft Excel Worksheet Functions 0 15th Jan 2007 04:35 PM
Conditional cell background formatting, based on cell content nosivad Microsoft Excel Misc 5 11th Feb 2006 11:12 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:34 AM.