Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
gin gin is offline
external usenet poster
 
Posts: 2
Default Conditional Formatting on calculated text

Hi - using Excel 2003:

I'm stumped on conditional formatting for a comparing 2 columns of
text values per row.

So ....

Current Compare Contract#
Name To

A B C
Smith Smith 123456
Jones Greenburg 111222
Johnson Johnson 222111

Column B, Row 2 should be Highlighted

Here's the conditional formatting I've applied:
FormulaIs = B1<A1

& then paste the formula down column B

This has the effect of highlighting every cell, where it seems to
evaluate to true all the time. Try this with different variations of $
$$$ & it's about the same effect.

Two things to mention:

1.) I use this same method on a column with Number values & it works
perfectly
2.) The names in column B are based on the following formula:

=INDEX(PI_Last,MATCH(B2,Contract,0))

Where PI_Last is a named range of text (names) on another sheet in the
workbook and Contract is a named range of text values on the current
spreadsheet (Col C). I'm trying to compare where the names are
different for same contract between the two spreadsheets.

Thanks in advance for help.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Conditional Formatting on calculated text

Your CF formula should work if you applied it correctly to the range of
cells so you need to look at other possibilities.

Test that the matches do in fact match:

A1 = Smith
B1 = Smith

=A1=B1

If the result is FALSE test for unseen characters in one or the other
column:

=LEN(A1)=LEN(B1)

The character length of both cells should be the same.

Biff

"gin" wrote in message
oups.com...
Hi - using Excel 2003:

I'm stumped on conditional formatting for a comparing 2 columns of
text values per row.

So ....

Current Compare Contract#
Name To

A B C
Smith Smith 123456
Jones Greenburg 111222
Johnson Johnson 222111

Column B, Row 2 should be Highlighted

Here's the conditional formatting I've applied:
FormulaIs = B1<A1

& then paste the formula down column B

This has the effect of highlighting every cell, where it seems to
evaluate to true all the time. Try this with different variations of $
$$$ & it's about the same effect.

Two things to mention:

1.) I use this same method on a column with Number values & it works
perfectly
2.) The names in column B are based on the following formula:

=INDEX(PI_Last,MATCH(B2,Contract,0))

Where PI_Last is a named range of text (names) on another sheet in the
workbook and Contract is a named range of text values on the current
spreadsheet (Col C). I'm trying to compare where the names are
different for same contract between the two spreadsheets.

Thanks in advance for help.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
gin gin is offline
external usenet poster
 
Posts: 2
Default Conditional Formatting on calculated text

Ah! Perfect. That was it. Thank you.

When CF applied as:

=Trim(A1)<Trim(B1)

worked beautifully.

On Jun 12, 5:13 pm, "T. Valko" wrote:
Your CF formula should work if you applied it correctly to the range of
cells so you need to look at other possibilities.

Test that the matches do in fact match:

A1 = Smith
B1 = Smith

=A1=B1

If the result is FALSE test for unseen characters in one or the other
column:

=LEN(A1)=LEN(B1)

The character length of both cells should be the same.

Biff

"gin" wrote in message

oups.com...



Hi - using Excel 2003:


I'm stumped on conditional formatting for a comparing 2 columns of
text values per row.


So ....


Current Compare Contract#
Name To


A B C
Smith Smith 123456
Jones Greenburg 111222
Johnson Johnson 222111


Column B, Row 2 should be Highlighted


Here's the conditional formatting I've applied:
FormulaIs = B1<A1


& then paste the formula down column B


This has the effect of highlighting every cell, where it seems to
evaluate to true all the time. Try this with different variations of $
$$$ & it's about the same effect.


Two things to mention:


1.) I use this same method on a column with Number values & it works
perfectly
2.) The names in column B are based on the following formula:


=INDEX(PI_Last,MATCH(B2,Contract,0))


Where PI_Last is a named range of text (names) on another sheet in the
workbook and Contract is a named range of text values on the current
spreadsheet (Col C). I'm trying to compare where the names are
different for same contract between the two spreadsheets.


Thanks in advance for help.- Hide quoted text -


- Show quoted text -



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Conditional Formatting on calculated text

You're welcome. Thanks for the feedback!

Biff

"gin" wrote in message
oups.com...
Ah! Perfect. That was it. Thank you.

When CF applied as:

=Trim(A1)<Trim(B1)

worked beautifully.

On Jun 12, 5:13 pm, "T. Valko" wrote:
Your CF formula should work if you applied it correctly to the range of
cells so you need to look at other possibilities.

Test that the matches do in fact match:

A1 = Smith
B1 = Smith

=A1=B1

If the result is FALSE test for unseen characters in one or the other
column:

=LEN(A1)=LEN(B1)

The character length of both cells should be the same.

Biff

"gin" wrote in message

oups.com...



Hi - using Excel 2003:


I'm stumped on conditional formatting for a comparing 2 columns of
text values per row.


So ....


Current Compare Contract#
Name To


A B C
Smith Smith 123456
Jones Greenburg 111222
Johnson Johnson 222111


Column B, Row 2 should be Highlighted


Here's the conditional formatting I've applied:
FormulaIs = B1<A1


& then paste the formula down column B


This has the effect of highlighting every cell, where it seems to
evaluate to true all the time. Try this with different variations of $
$$$ & it's about the same effect.


Two things to mention:


1.) I use this same method on a column with Number values & it works
perfectly
2.) The names in column B are based on the following formula:


=INDEX(PI_Last,MATCH(B2,Contract,0))


Where PI_Last is a named range of text (names) on another sheet in the
workbook and Contract is a named range of text values on the current
spreadsheet (Col C). I'm trying to compare where the names are
different for same contract between the two spreadsheets.


Thanks in advance for help.- Hide quoted text -


- Show quoted text -





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 on text within a cell w/ text AND num Shirley Excel Worksheet Functions 2 December 22nd 06 01:40 AM
conditional formatting with text Christine Hemphill Excel Discussion (Misc queries) 6 September 27th 06 09:53 PM
conditional formatting text kate Excel Worksheet Functions 4 September 1st 06 03:45 PM
Conditional Formatting based on Text within Text George Lynch Excel Discussion (Misc queries) 3 May 5th 05 07:58 PM
Conditional Formatting of Text... Birmangirl Excel Discussion (Misc queries) 3 January 19th 05 02:45 PM


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