Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default =cell(color????


Hello all,
could you help me on the formula CELL(color....

I would like :

if value in A2 is equal or above A1, I would like to have the cell A
and A2 in blue, otherwise, without color.

Regards

Herv

--
herv
-----------------------------------------------------------------------
herve's Profile: http://www.excelforum.com/member.php...fo&userid=2731
View this thread: http://www.excelforum.com/showthread.php?threadid=49083

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 303
Default =cell(color????

use
format
conditional formatting
for a1 if smaller or equal to a2
for a2 if greater or equal to a1
format
pattern

--
Greetings from New Zealand
Bill K
"herve" wrote in
message ...

Hello all,
could you help me on the formula CELL(color....

I would like :

if value in A2 is equal or above A1, I would like to have the cell A1
and A2 in blue, otherwise, without color.

Regards

Herve


--
herve
------------------------------------------------------------------------
herve's Profile:
http://www.excelforum.com/member.php...o&userid=27314
View this thread: http://www.excelforum.com/showthread...hreadid=490839



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default =cell(color????

You need conditional formatting, with a formula of =$A$2=$A$1

--

HTH

RP
(remove nothere from the email address if mailing direct)


"herve" wrote in
message ...

Hello all,
could you help me on the formula CELL(color....

I would like :

if value in A2 is equal or above A1, I would like to have the cell A1
and A2 in blue, otherwise, without color.

Regards

Herve


--
herve
------------------------------------------------------------------------
herve's Profile:

http://www.excelforum.com/member.php...o&userid=27314
View this thread: http://www.excelforum.com/showthread...hreadid=490839



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 903
Default =cell(color????

Hi Herve,
Did you really mean to compare A1 and A2 or did you mean
to compare A1 and B1

In any case take a look at
http://www.mvps.org/dmcritchie/excel/condfmt.htm

if A1 and B1 then you probably want a formula like
=$B2=$A1 with the active cell any cell on row 1 though normally A1

if A1 and A2 then you probably want a formula like
=$A2=$A1 with active cell any cell on row 1 and you would
be formatting with color the last row in a group of equals.

If you want to band rows with the same values it gets more complicated:
and you would need a helper column;
http://www.mvps.org/dmcritchie/excel...t.htm#grouping

---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"herve" wrote in message
...

Hello all,
could you help me on the formula CELL(color....

I would like :

if value in A2 is equal or above A1, I would like to have the cell A1
and A2 in blue, otherwise, without color.

Regards

Herve


--
herve
------------------------------------------------------------------------
herve's Profile: http://www.excelforum.com/member.php...o&userid=27314
View this thread: http://www.excelforum.com/showthread...hreadid=490839



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
Can't format cell color/text color in Office Excel 2003 in fil Tony S Excel Discussion (Misc queries) 1 December 21st 07 01:41 PM
Excel: Syntax to change cell color based on color of another cell davew18 Excel Worksheet Functions 1 January 4th 07 01:24 PM
Can't format cell color/text color in Office Excel 2003 in files . albertaman Excel Discussion (Misc queries) 0 February 16th 06 03:56 AM
Default Border, Font Color, and Cell Background Color Elijah Excel Discussion (Misc queries) 1 October 28th 05 04:10 PM
Browse Forms Controls and change TextBox color based on cell color StefanW Excel Programming 2 November 21st 04 07:06 PM


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