Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Questions on using conditional formatting

I've got a spreadsheet that that has multiple colums of numbers. In each
colum I want to change the color of the cell based on the previous cell
number for example.
If A2 A1 i want the text to be green. If A2 < A1 the text should be red,
and if A2 = A1 the text is black.

I've been able to accomplish this, but is there an easy way to format the
whole spreadsheet quickly, or will I have to do each cell one by one?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Questions on using conditional formatting

If you select the range first (like A2:X9999), then do format|conditional
formatting, you can write the formula using references for the activecell (a2).



nathanwst wrote:

I've got a spreadsheet that that has multiple colums of numbers. In each
colum I want to change the color of the cell based on the previous cell
number for example.
If A2 A1 i want the text to be green. If A2 < A1 the text should be red,
and if A2 = A1 the text is black.

I've been able to accomplish this, but is there an easy way to format the
whole spreadsheet quickly, or will I have to do each cell one by one?


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 96
Default Questions on using conditional formatting

1) Highlight the range of cells from A2:A1000 (or however far down you need
to go...resist the urge to select the whole column). Make sure A2 is the
primary highlighted cell.

2) Open Cond. Formatting and enter this formula:
Condition1: Formula Is: =$A2<$A1
Format... Font color: RED

Condition2: Formula Is: =$A2$A1
Format... Font color: GREEN

3) Format the regular font color as BLACK

By making sure there are no $ symbols in front of the row numbers, they will
adjust themselves relatively down the entire highlighted range.

--
"Actually, I *am* a rocket scientist." -- JB
(www.MadRocketScientist.com)

Your feedback is appreciated, click YES if this post helped you.


"nathanwst" wrote:

I've got a spreadsheet that that has multiple colums of numbers. In each
colum I want to change the color of the cell based on the previous cell
number for example.
If A2 A1 i want the text to be green. If A2 < A1 the text should be red,
and if A2 = A1 the text is black.

I've been able to accomplish this, but is there an easy way to format the
whole spreadsheet quickly, or will I have to do each cell one by one?

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 Questions Jim Excel Discussion (Misc queries) 1 April 24th 09 01:25 AM
Formatting Questions Doug J. Excel Discussion (Misc queries) 4 September 10th 08 11:44 PM
Conditional Format - Due Dates - 2 questions (2nd posting) Stacy Excel Discussion (Misc queries) 2 July 8th 08 06:39 PM
Conditional Format - Due Dates - 2 questions Stacy Excel Discussion (Misc queries) 0 June 25th 08 08:03 PM
Three questions on hyperlinking and conditional formatting [email protected] Excel Worksheet Functions 0 September 14th 06 05:25 PM


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