Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Conditional Formatting based on a vertical Array.

Would anyone have an Idea on how to apply conditional formatting to a column
(Say X2:X1000) that will only be populated with one of three words. I would
like to have cell, say A12 to change colors based on X having 2 of these
words.
I am using two formulas for conditions
1. =if(€œWAPR€=X2:X1000,1,0) this will render a Red Cell
2. =If(€œJM€=X2:X1000,1,0) this will render Green
One condition is that the Red needs to be displayed until all conditions for
WARP are changed to JM. For some reason the formulas are only looking at
cell X2 and nothing bellow. Please help.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Conditional Formatting based on a vertical Array.

This should do it
Select A12, apply the CF using Formula Is ..
Cond1: =COUNTIF($X$2:$X$1000,"WAPR")
Cond2: =COUNTIF($X$2:$X$1000,"JM")
Format to taste, ok out
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:22,500 Files:370 Subscribers:66
xdemechanik
---
"cp37" wrote:
Would anyone have an Idea on how to apply conditional formatting to a column
(Say X2:X1000) that will only be populated with one of three words. I would
like to have cell, say A12 to change colors based on X having 2 of these
words.
I am using two formulas for conditions
1. =if(€œWAPR€=X2:X1000,1,0) this will render a Red Cell
2. =If(€œJM€=X2:X1000,1,0) this will render Green
One condition is that the Red needs to be displayed until all conditions for
WARP are changed to JM. For some reason the formulas are only looking at
cell X2 and nothing bellow. Please help.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Conditional Formatting based on a vertical Array.

Select X2:X1000

FormatCFCondition1Formula is: =$X2="WAPR" format to red

Condition2Formula is: =$X2="JM" format to green


Gord Dibben MS Excel MVP

On Mon, 2 Feb 2009 08:04:04 -0800, cp37
wrote:

Would anyone have an Idea on how to apply conditional formatting to a column
(Say X2:X1000) that will only be populated with one of three words. I would
like to have cell, say A12 to change colors based on X having 2 of these
words.
I am using two formulas for conditions
1. =if(“WAPR”=X2:X1000,1,0) this will render a Red Cell
2. =If(“JM”=X2:X1000,1,0) this will render Green
One condition is that the Red needs to be displayed until all conditions for
WARP are changed to JM. For some reason the formulas are only looking at
cell X2 and nothing bellow. Please help.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Conditional Formatting Based of Cells Based on Data Entry in anoth Jim Excel Discussion (Misc queries) 3 November 11th 08 11:52 PM
Conditional sum on an array based on another array drjayr2002 Excel Discussion (Misc queries) 3 June 26th 08 08:52 PM
Conditional Formatting/Array Formula SJT Excel Discussion (Misc queries) 2 July 24th 06 10:11 PM
Conditional formatting based upon array RocketMan Excel Worksheet Functions 1 May 16th 06 04:58 PM
Conditional Formatting for Array containing Text MMM Excel Worksheet Functions 4 February 2nd 06 03:30 PM


All times are GMT +1. The time now is 08:16 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"