Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default How can I make a cell red if number is not greater than needed?

I have a column that has a goal number. If the number in the next column is
not larger or equal to that goal number, I need the cell to be red. If it is
equal to or larger than the goal number, I need the cell to be green. I just
started using this and need your help please!!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 698
Default How can I make a cell red if number is not greater than needed?

Take a look at Conditional formatting under Format.

Format Conditional formatting Formula is =B2<A2 Format Patterns
check red OK.

Then click Add and do a second condition where formula is =B2A2 and choose
green from the Patterns.

HTH
Regards
Howard

"daisyp66" wrote in message
...
I have a column that has a goal number. If the number in the next column is
not larger or equal to that goal number, I need the cell to be red. If it
is
equal to or larger than the goal number, I need the cell to be green. I
just
started using this and need your help please!!



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 698
Default How can I make a cell red if number is not greater than needed?

An after thought, if the values are the same then there will be no color, so
you may want to add a third (That's the max number of formats for a cell) to
indicate an equal value color. Formula is =B2=A2

HTH
Regards,
Howard

"daisyp66" wrote in message
...
I have a column that has a goal number. If the number in the next column is
not larger or equal to that goal number, I need the cell to be red. If it
is
equal to or larger than the goal number, I need the cell to be green. I
just
started using this and need your help please!!



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,722
Default How can I make a cell red if number is not greater than needed?

Let's say your goal number is in cell B2, and the number you want to color is
in C2. Select C2, then goto Format - Conditional Format. Change the first
dropdown to "Formula is". In the next block, input:
=C2<B2
Click the format box, patten tab, choose red. Ok out.

Add another condition.
Again, change first dropdown to "Formula is". In next block, input:
=C2=B2
Click the format box, pattern tab, choose green. Ok out.

Ok out.

Done! Note that you could copy this cell to other cells (downward) to apply
similar formatting, if desired.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"daisyp66" wrote:

I have a column that has a goal number. If the number in the next column is
not larger or equal to that goal number, I need the cell to be red. If it is
equal to or larger than the goal number, I need the cell to be green. I just
started using this and need your help please!!

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default How can I make a cell red if number is not greater than needed?

See help on Conditional Formatting in whichever version of Excel you are
using.

Or see Debra's site.

http://www.contextures.on.ca/xlCondFormat01.html

If stuck, post back with your version of Excel


Gord Dibben MS Excel MVP



On Wed, 2 Dec 2009 10:44:01 -0800, daisyp66
wrote:

I have a column that has a goal number. If the number in the next column is
not larger or equal to that goal number, I need the cell to be red. If it is
equal to or larger than the goal number, I need the cell to be green. I just
started using this and need your help please!!




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
space needed between number& right side of cell Jack B Excel Discussion (Misc queries) 12 November 1st 08 12:34 PM
Make a cell font red if number is greater than 200 delete automatically Excel Discussion (Misc queries) 4 October 6th 08 04:17 PM
putting a number that is greater or lesser into different cell . James Krepel Excel Worksheet Functions 1 November 2nd 06 04:02 AM
I want the greater number of 2 cells to show in a separate cell cfiser Excel Discussion (Misc queries) 2 November 16th 05 10:32 PM
I want the greater number of 2 cells to show in a separate cell Ron Coderre Excel Discussion (Misc queries) 1 November 16th 05 09:22 PM


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