#1   Report Post  
Posted to microsoft.public.excel.programming
hme hme is offline
external usenet poster
 
Posts: 1
Default Auto Color


Hi


I can not understand why the result of below mentioned formula makes
the cell BLUE.
=IF(AND(O$3=$K8,O$3<=$L8),1,"")

and with another formula as below it makes the cell RED or GREEN or
Brown.

=IF(AND(O$3=$K12,O$3<=$L12),IF($G12="Completed",3 ,IF($G12="In
Progress",2,1)),"")

May somebody explain why are so?

THK

hme


--
hme
------------------------------------------------------------------------
hme's Profile: http://www.excelforum.com/member.php...o&userid=15930
View this thread: http://www.excelforum.com/showthread...hreadid=537999

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Auto Color

You received the workbook from someone else and you don't know why the cell
is changing colors:

select the cell and look at Format=conditional formatting

Or you don't understand the formulas?

--
Regards,
Tom Ogilvy


"hme" wrote:


Hi


I can not understand why the result of below mentioned formula makes
the cell BLUE.
=IF(AND(O$3=$K8,O$3<=$L8),1,"")

and with another formula as below it makes the cell RED or GREEN or
Brown.

=IF(AND(O$3=$K12,O$3<=$L12),IF($G12="Completed",3 ,IF($G12="In
Progress",2,1)),"")

May somebody explain why are so?

THK

hme


--
hme
------------------------------------------------------------------------
hme's Profile: http://www.excelforum.com/member.php...o&userid=15930
View this thread: http://www.excelforum.com/showthread...hreadid=537999


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,163
Default Auto Color

The formulas themselves don't have any effect on the colors. There must be
conditional formatting in the cells you mention. Check under the Format...
Conditional Formatting... menu.
--
- K Dales


"hme" wrote:


Hi


I can not understand why the result of below mentioned formula makes
the cell BLUE.
=IF(AND(O$3=$K8,O$3<=$L8),1,"")

and with another formula as below it makes the cell RED or GREEN or
Brown.

=IF(AND(O$3=$K12,O$3<=$L12),IF($G12="Completed",3 ,IF($G12="In
Progress",2,1)),"")

May somebody explain why are so?

THK

hme


--
hme
------------------------------------------------------------------------
hme's Profile: http://www.excelforum.com/member.php...o&userid=15930
View this thread: http://www.excelforum.com/showthread...hreadid=537999


  #4   Report Post  
Posted to microsoft.public.excel.programming
hme hme is offline
external usenet poster
 
Posts: 1
Default Auto Color


Thanks a lot.

Yes thats right.That is conditional formatting.

How can I use IF function with that? For example :

IF Conditional format is equal to 1 or 2 ' return something ' otherwise
'return something else'

thk

hme


--
hme
------------------------------------------------------------------------
hme's Profile: http://www.excelforum.com/member.php...o&userid=15930
View this thread: http://www.excelforum.com/showthread...hreadid=537999

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Auto Color

there is no built in support for it. You would have to check the underlying
condition.

You can also look at Chip Pearson's page on this topic:

http://www.cpearson.com/excel/CFColors.htm

--
Regards,
Tom Ogilvy



"hme" wrote:


Thanks a lot.

Yes thats right.That is conditional formatting.

How can I use IF function with that? For example :

IF Conditional format is equal to 1 or 2 ' return something ' otherwise
'return something else'

thk

hme


--
hme
------------------------------------------------------------------------
hme's Profile: http://www.excelforum.com/member.php...o&userid=15930
View this thread: http://www.excelforum.com/showthread...hreadid=537999


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
Auto Color confusedguy Excel Discussion (Misc queries) 2 February 3rd 10 08:24 PM
auto color cells Bren New Users to Excel 2 October 16th 08 02:04 AM
auto fill color of row capital letter Excel Worksheet Functions 3 November 6th 07 01:49 PM
Color filled in auto but from where Cindi Excel Worksheet Functions 3 March 3rd 06 01:31 PM
Auto color change Addisonbc Excel Discussion (Misc queries) 6 June 15th 05 04:51 PM


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