Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default HIGHTLIGHT ROW BASED ON TEXT IN ANOTHER CELL

Hi all,
I want to highlight a row based on the contents of a single cell.
EG
K23 has "XX"
I want to highlight the whole of row 23.
It has to be based on that cell only as columns on either side also contain
"xx" and i dont want to inclued these in the calculation.
Any help would be much apprietated.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default HIGHTLIGHT ROW BASED ON TEXT IN ANOTHER CELL

Select all of row 23 (or however much of it you want highlighted
Format/Conditional formatting
Formula is
=$K$23="XX"
then select your format preference.


"Chopper" wrote:

Hi all,
I want to highlight a row based on the contents of a single cell.
EG
K23 has "XX"
I want to highlight the whole of row 23.
It has to be based on that cell only as columns on either side also contain
"xx" and i dont want to inclued these in the calculation.
Any help would be much apprietated.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default HIGHTLIGHT ROW BASED ON TEXT IN ANOTHER CELL

Thanks JMB,IT WORKED A TREAT.
Now i need to know if there is a way of applying this Formula to the whole
sheet.
EG
When there is "xx" in cell k23 or l23 or m23 then 23 is highlighted.
I want to do this from row 2 through to row 32.

Chopper


Select all of row 23 (or however much of it you want highlighted
Format/Conditional formatting
Formula is
=$K$23="XX"
then select your format preference.


"Chopper" wrote:

Hi all,
I want to highlight a row based on the contents of a single cell.
EG
K23 has "XX"
I want to highlight the whole of row 23.
It has to be based on that cell only as columns on either side also contain
"xx" and i dont want to inclued these in the calculation.
Any help would be much apprietated.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default HIGHTLIGHT ROW BASED ON TEXT IN ANOTHER CELL

So if K2 = "xx", highlight only row 2 and if K23="xx", highlight only row 23?
If so, select rows 2:32 and try this formula in your conditional formatting:
=SUMPRODUCT(--($K2:$M2="xx"))0

If you want rows 2:32 dependent on K23:M23 and not columns K:M of their
respective rows, try
=SUMPRODUCT(--($K$23:$M$23="xx"))0



"Chopper" wrote:

Thanks JMB,IT WORKED A TREAT.
Now i need to know if there is a way of applying this Formula to the whole
sheet.
EG
When there is "xx" in cell k23 or l23 or m23 then 23 is highlighted.
I want to do this from row 2 through to row 32.

Chopper


Select all of row 23 (or however much of it you want highlighted
Format/Conditional formatting
Formula is
=$K$23="XX"
then select your format preference.


"Chopper" wrote:

Hi all,
I want to highlight a row based on the contents of a single cell.
EG
K23 has "XX"
I want to highlight the whole of row 23.
It has to be based on that cell only as columns on either side also contain
"xx" and i dont want to inclued these in the calculation.
Any help would be much apprietated.

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
Finding text in a cell and returning a value based on that text [email protected] Excel Discussion (Misc queries) 5 January 10th 07 06:01 PM
Conditional Formatting based on text within a cell w/ text AND num Shirley Excel Worksheet Functions 2 December 22nd 06 01:40 AM
Conditional Formatting (Hightlight row based on one condition) Jamesy Excel Discussion (Misc queries) 3 November 16th 06 04:02 PM
Change text on one cell based on text in another Sally B. Excel Discussion (Misc queries) 1 June 30th 06 03:22 PM
How to auto-fill text based on text in another cell Jason Excel Discussion (Misc queries) 3 February 16th 05 08:40 PM


All times are GMT +1. The time now is 05:19 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"