Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
kas kas is offline
external usenet poster
 
Posts: 10
Default Changing cell color

I need to either write a macro or a formula that will automatically change
the font of a cell if it is greater than the previous cell. For example, if
a1 = 3 and b1 = 4, I need 4 to be a different color. Can this be done? Any
help would be greatly appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Changing cell color

Hi Kas

You van use CF
http://www.contextures.com/xlCondFormat01.html

Select b1:Z1 ?

And use this formula
=A1<B1

Choose the format you want

--
Regards Ron de Bruin
http://www.rondebruin.nl


"Kas" wrote in message ...
I need to either write a macro or a formula that will automatically change
the font of a cell if it is greater than the previous cell. For example, if
a1 = 3 and b1 = 4, I need 4 to be a different color. Can this be done? Any
help would be greatly appreciated.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 19
Default Changing cell color

The help for "conditional formatting" will tell you how to do it.

Wolf

"Kas" wrote:

I need to either write a macro or a formula that will automatically change
the font of a cell if it is greater than the previous cell. For example, if
a1 = 3 and b1 = 4, I need 4 to be a different color. Can this be done? Any
help would be greatly appreciated.

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
Changing the color of a cell based on the color of another cell. LATC Excel Discussion (Misc queries) 7 December 4th 09 09:49 PM
Changing Cell Color Spz Excel Discussion (Misc queries) 2 December 5th 07 08:46 AM
Changing Cell Color GWOOD Excel Worksheet Functions 2 November 10th 05 05:40 PM
Changing cell color David Excel Programming 2 December 9th 03 01:17 AM
Changing a cell color.... Shaul Excel Programming 2 October 27th 03 09:14 PM


All times are GMT +1. The time now is 02:41 AM.

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"