Computing.Net > Forums > Programming > change excel cell colour using If

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

change excel cell colour using If

Reply to Message Icon

Name: Aralius
Date: February 11, 2005 at 10:34:20 Pacific
OS: windows xp
CPU/Ram: 1.3
Comment:

I am trying to change the colour of a cell using the "If Function" i.e. If value of the cell is greater than 20, change colour of cell to green, else colour to be red.




Sponsored Link
Ads by Google

Response Number 1
Name: dtech10
Date: February 11, 2005 at 16:24:14 Pacific
Reply:

Hi
Try using Format>Conditional Formating.



0

Response Number 2
Name: Aralius
Date: February 14, 2005 at 10:44:52 Pacific
Reply:

Thanks for the reply but i didn't really understand it. Could you please give me an example of the function that would relate to my earlier question.

Thanks


0

Response Number 3
Name: dtech10
Date: February 16, 2005 at 04:33:53 Pacific
Reply:

Hi
Select all the cells you want coloured then select Format>Cells>Pattern Tab and select your red color, to color all the cells.
Select them all again and select Format>Conditional Format and select or enter these values.

| Cell Format is | between | 20 | 1000 |
then select your Format>Patterns from the same dialog and choose you green color.
Change the 1000 to your own upper limit.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: change excel cell colour using If

VB/Excel - Cell has boxes for Retur www.computing.net/answers/programming/vbexcel-cell-has-boxes-for-retur/9045.html

Loopinig batch file using IF EXIST www.computing.net/answers/programming/loopinig-batch-file-using-if-exist/17323.html

Use IF else statement www.computing.net/answers/programming/use-if-else-statement/20326.html