LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Myrna Larson
 
Posts: n/a
Default

Here's a simpler formula which assumes that the active cell is in column A.
The "trick" is to just make the number 1000 big enough to include the maximum
possible number of rows. IOW, if you have data going down to row 2872, the
$1000 would have tobe $2872 or greater.

=NOT(ISBLANK(HLOOKUP(A$1,$K$1:$P$1000,ROW(),0)))

On Thu, 03 Mar 2005 18:05:31 -0600, Myrna Larson
wrote:

Let's say the column headers to be searched are $K$1:$P$1, and a cell in
column A (say A7) is selected when you set up the formatting. Here's a

formula
that will work:

=NOT(ISBLANK(OFFSET($K$1,ROW()-1,MATCH(A$1,$K$1:$P$1,0)-1)))

or, if the data is numeric and 0 isn't a legal value:

=OFFSET($K$1,ROW()-1,MATCH(A$1,$K$1:$P$1,0)-1)<0



On 3 Mar 2005 15:06:17 -0800, wrote:

I am looking for a way to:

conditionally format a cell in row A by looking at the text in the top
of row A then search the top cells in a series of other columns for a
match in the top cell, and then go down in that row to the same row
down as in row A; if there is something in that cell then color format
the original cell.

Thanks Bob


 
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
Help using Conditional Formating of Entire Rows [email protected] Excel Worksheet Functions 4 February 16th 05 04:29 PM
more than 3 conditional formating in excel Manan Excel Discussion (Misc queries) 2 February 7th 05 09:12 PM
Conditional Formating when result is text Lary Excel Worksheet Functions 1 December 16th 04 02:13 AM
Count and Sum with Conditional Formatting Problem pmahajan Excel Worksheet Functions 1 December 14th 04 05:30 AM
30 Day Aging Report Using Conditional Formating Tiegris Excel Worksheet Functions 0 November 4th 04 10:07 PM


All times are GMT +1. The time now is 11:31 PM.

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"