Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 71
Default Conditional Formating comparing the two columns

If column "A2" is less than the value in column "B2" I want to change the
color of "A2"
  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Conditional Formating comparing the two columns

Select the range, eg A2:A10 (A2 active),
then apply CF using Formula Is:
=AND(A2<B2,ISNUMBER(B2))
Format to taste Ok out

The ISNUMBER(B2) is an additional precaution
to avoid spurious triggers caused by possible text entries in col B
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:19,500 Files:362 Subscribers:62
xdemechanik
---
"Harry" wrote:
If column "A2" is less than the value in column "B2" I want to change the
color of "A2"

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 71
Default Conditional Formating comparing the two columns

Thanks Max works like a charm.

"Max" wrote:

Select the range, eg A2:A10 (A2 active),
then apply CF using Formula Is:
=AND(A2<B2,ISNUMBER(B2))
Format to taste Ok out

The ISNUMBER(B2) is an additional precaution
to avoid spurious triggers caused by possible text entries in col B
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:19,500 Files:362 Subscribers:62
xdemechanik
---
"Harry" wrote:
If column "A2" is less than the value in column "B2" I want to change the
color of "A2"

  #4   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Conditional Formating comparing the two columns

Happy to hear that, Harry.
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:19,500, Files:362, Subscribers:62
xdemechanik
---
"Harry" wrote in message
...
Thanks Max works like a charm.



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 formating for data in 2 columns ldenning Excel Worksheet Functions 3 September 30th 08 05:34 PM
Conditional formating: Compare two columns with Inserted lines Tim Excel Worksheet Functions 1 September 12th 06 03:34 AM
Conditional Formatting-Comparing Two Columns Tom K Excel Discussion (Misc queries) 3 May 8th 06 01:03 PM
Conditional Formatting-Comparing Two Columns Tom K Excel Discussion (Misc queries) 1 May 4th 06 06:16 PM
conditional formating of group of columns and rows Madhav Excel Worksheet Functions 0 March 8th 05 06:21 PM


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