Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Sistereinstein
 
Posts: n/a
Default Conditional Formatting

I have 2 columns of prices and I need to highlight if one is higher in every
row.

Example , if Cell A1 is higher than Cell B1, turn it red.

My problem is that I want this rule applied to every row, and it only seems
to be alble to refer to the original reference, rather than to apply the row
to each adjacent cell. So I want to compare the prices in Cell A25 with B25
- how can I accomplish this without having to manually change the cell
reference for in every row. I have tried the copy-paste-special-formula and
the hightlight cell-hit paint brush then drag through the cells I want. It
will only retain that first reference.

Boy, I hope this is making sense.
  #2   Report Post  
Morrigan
 
Posts: n/a
Default


Select Cell A1, Conditional Formula is =IF(A1B1,1,0)
Select Cell B1, Conditional Formula is =IF(B1A1,1,0)

Copy both cells and Paste Special Formats on all the rest

I am not sure what you want to do when A1=B1, thus it will not
highlight anything. But I am sure you can handle that.


Hope this helps.




Sistereinstein Wrote:
I have 2 columns of prices and I need to highlight if one is higher in
every
row.

Example , if Cell A1 is higher than Cell B1, turn it red.

My problem is that I want this rule applied to every row, and it only
seems
to be alble to refer to the original reference, rather than to apply
the row
to each adjacent cell. So I want to compare the prices in Cell A25
with B25
- how can I accomplish this without having to manually change the cell
reference for in every row. I have tried the copy-paste-special-formula
and
the hightlight cell-hit paint brush then drag through the cells I want.
It
will only retain that first reference.

Boy, I hope this is making sense.



--
Morrigan
------------------------------------------------------------------------
Morrigan's Profile: http://www.excelforum.com/member.php...fo&userid=7094
View this thread: http://www.excelforum.com/showthread...hreadid=390779

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 Error ddate Excel Worksheet Functions 0 May 5th 05 09:00 PM
difficulty with conditional formatting Deb Excel Discussion (Misc queries) 0 March 23rd 05 06:13 PM
conditional formatting question Deb Excel Discussion (Misc queries) 0 March 23rd 05 02:07 AM
Determine cells that drive conditional formatting? Nicolle K. Excel Discussion (Misc queries) 2 January 7th 05 01:08 AM
Conditional formatting not available in Excel BAB Excel Discussion (Misc queries) 2 January 1st 05 03:33 PM


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

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"