PC Review


Reply
Thread Tools Rate Thread

Conditional formatting / value in array

 
 
Wingnut
Guest
Posts: n/a
 
      5th Nov 2003
Is anyone able to tell me please how I can conditionally format a cell based on whether the cell value matches a value in a specified group of values (ie. an array) ?

All suggestions welcome.

Thanks,
Steve
 
Reply With Quote
 
 
 
 
Peo Sjoblom
Guest
Posts: n/a
 
      5th Nov 2003
Format>conditional formatting, formula is

=COUNTIF(MyRange,MyCell)>0

--

Regards,

Peo Sjoblom


"Wingnut" <(E-Mail Removed)> wrote in message
news:3fa8eb14$0$3789$(E-Mail Removed)...
Is anyone able to tell me please how I can conditionally format a cell based
on whether the cell value matches a value in a specified group of values
(ie. an array) ?

All suggestions welcome.

Thanks,
Steve


 
Reply With Quote
 
Wingnut
Guest
Posts: n/a
 
      6th Nov 2003
Thanks for that, but maybe I've missed something. (I'm still a relative
novice at using a lot of Excel's functionality).

I'm trying to apply the condition to a selection of cells (6x24); any cells
which have a value present in the array (6x1) will display differently to
the others.

I tried your suggestion on an individual cell, (which works), but I need the
same condition to apply to all of the 144 cells selected and I'm having
difficulty specifying this.

Pardon my ignorance.

Thanks,
Steve

"Peo Sjoblom" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Format>conditional formatting, formula is
>
> =COUNTIF(MyRange,MyCell)>0
>
> --
>
> Regards,
>
> Peo Sjoblom
>
>
> "Wingnut" <(E-Mail Removed)> wrote in message
> news:3fa8eb14$0$3789$(E-Mail Removed)...
> Is anyone able to tell me please how I can conditionally format a cell

based
> on whether the cell value matches a value in a specified group of values
> (ie. an array) ?
>
> All suggestions welcome.
>
> Thanks,
> Steve
>
>



 
Reply With Quote
 
Peo Sjoblom
Guest
Posts: n/a
 
      6th Nov 2003
Select the whole 6x24 array, assume it is A1:F24, if you select starting
with A1
then A1 will be the active cell. Now assume the cells in the 6x1 are H1:H6
With A1 as the active cell put this in the formula is box

=COUNTIF($H$1:$H$6,A1)>0

adapt to fit the real ranges

--

Regards,

Peo Sjoblom


"Wingnut" <(E-Mail Removed)> wrote in message
news:3fa9f1e6$0$3788$(E-Mail Removed)...
> Thanks for that, but maybe I've missed something. (I'm still a relative
> novice at using a lot of Excel's functionality).
>
> I'm trying to apply the condition to a selection of cells (6x24); any

cells
> which have a value present in the array (6x1) will display differently to
> the others.
>
> I tried your suggestion on an individual cell, (which works), but I need

the
> same condition to apply to all of the 144 cells selected and I'm having
> difficulty specifying this.
>
> Pardon my ignorance.
>
> Thanks,
> Steve
>
> "Peo Sjoblom" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
> > Format>conditional formatting, formula is
> >
> > =COUNTIF(MyRange,MyCell)>0
> >
> > --
> >
> > Regards,
> >
> > Peo Sjoblom
> >
> >
> > "Wingnut" <(E-Mail Removed)> wrote in message
> > news:3fa8eb14$0$3789$(E-Mail Removed)...
> > Is anyone able to tell me please how I can conditionally format a cell

> based
> > on whether the cell value matches a value in a specified group of values
> > (ie. an array) ?
> >
> > All suggestions welcome.
> >
> > Thanks,
> > Steve
> >
> >

>
>



 
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 and text string in array shaunholtz@comcast.net Microsoft Excel Discussion 2 1st Jun 2009 03:20 PM
Conditional Formatting/Array Formula =?Utf-8?B?U0pU?= Microsoft Excel Misc 2 24th Jul 2006 10:11 PM
Conditional formatting based upon array RocketMan Microsoft Excel Worksheet Functions 1 16th May 2006 04:58 PM
Conditional Formatting for Array containing Text =?Utf-8?B?TU1N?= Microsoft Excel Worksheet Functions 4 2nd Feb 2006 03:30 PM
Re: Conditional formatting using an array simon Microsoft Excel Worksheet Functions 0 14th Jul 2003 12:18 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:54 PM.