Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Mac Mac is offline
external usenet poster
 
Posts: 213
Default Conditional formatting II

my condition is of the form AND(A1=B1,A1=C1) - thanks Barb and Pete. But -
instead of just one cell per column, I need to look for A1 in ranges
R1B1:R150B1 and R1C1:R150C1, respectively. What function, or construct,
should I use?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Conditional formatting II

AND(ISNUMBER(MATCH(A1,B1:B150,0)),ISNUMBER(MATCH(A 1,C1:C150,0)))

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Mac" wrote in message
...
my condition is of the form AND(A1=B1,A1=C1) - thanks Barb and Pete. But -
instead of just one cell per column, I need to look for A1 in ranges
R1B1:R150B1 and R1C1:R150C1, respectively. What function, or construct,
should I use?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Mac Mac is offline
external usenet poster
 
Posts: 213
Default Conditional formatting II

Excellent! Thank you. One more point - instead of saying explicitly A1, how
do I reference 'this' - value in the current cell? I am going to populate
this formula throughout a large region...

"Bob Phillips" wrote:

AND(ISNUMBER(MATCH(A1,B1:B150,0)),ISNUMBER(MATCH(A 1,C1:C150,0)))

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Mac" wrote in message
...
my condition is of the form AND(A1=B1,A1=C1) - thanks Barb and Pete. But -
instead of just one cell per column, I need to look for A1 in ranges
R1B1:R150B1 and R1C1:R150C1, respectively. What function, or construct,
should I use?




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default Conditional formatting II

When you select a range (say A1:A100) and use a Conditional Format formula
such as =A110
then it appliers to all selected cells since A1 is a relative address.
So select you range use Bob's formula but make some absolute references as
in
AND(ISNUMBER(MATCH(A1,$B$1:$B$150,0)),ISNUMBER(MAT CH(A1,$C$1:$C$150,0)))
and all should be well
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"Mac" wrote in message
...
Excellent! Thank you. One more point - instead of saying explicitly A1,
how
do I reference 'this' - value in the current cell? I am going to populate
this formula throughout a large region...

"Bob Phillips" wrote:

AND(ISNUMBER(MATCH(A1,B1:B150,0)),ISNUMBER(MATCH(A 1,C1:C150,0)))

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my
addy)



"Mac" wrote in message
...
my condition is of the form AND(A1=B1,A1=C1) - thanks Barb and Pete.
But -
instead of just one cell per column, I need to look for A1 in ranges
R1B1:R150B1 and R1C1:R150C1, respectively. What function, or construct,
should I use?






  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Mac Mac is offline
external usenet poster
 
Posts: 213
Default Conditional formatting II

....solved.:-)

"Mac" wrote:

Excellent! Thank you. One more point - instead of saying explicitly A1, how
do I reference 'this' - value in the current cell? I am going to populate
this formula throughout a large region...

"Bob Phillips" wrote:

AND(ISNUMBER(MATCH(A1,B1:B150,0)),ISNUMBER(MATCH(A 1,C1:C150,0)))

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Mac" wrote in message
...
my condition is of the form AND(A1=B1,A1=C1) - thanks Barb and Pete. But -
instead of just one cell per column, I need to look for A1 in ranges
R1B1:R150B1 and R1C1:R150C1, respectively. What function, or construct,
should I use?






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
Protect Cell Formatting including Conditional Formatting Mick Jennings Excel Discussion (Misc queries) 5 November 13th 07 05:32 PM
conditional formatting Catherine Excel Worksheet Functions 9 May 23rd 07 02:05 PM
conditional Formatting based on cell formatting Totom Excel Worksheet Functions 3 January 20th 07 02:02 PM
conditional Formatting based on cell formatting Totom Excel Worksheet Functions 0 January 15th 07 04:35 PM
Conditional Formatting that will display conditional data BrainFart Excel Worksheet Functions 1 September 13th 05 05:45 PM


All times are GMT +1. The time now is 11:46 AM.

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

About Us

"It's about Microsoft Excel"