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 do I- IF the cell background is RED in color then contain 1

For example, IF the cell $C$9 has a background color of RED then I want to
display 1 in this cell ($D$9). Once this is completed I am tallying up
everything in column D to find out how many times that happened.

(FTI - reason for this is that RED shows an absence and we need to calculate
how many absenses)
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,081
Default How do I- IF the cell background is RED in color then contain 1

See Chip Pearson's page about this subject:

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

"sunshine19992" wrote:

For example, IF the cell $C$9 has a background color of RED then I want to
display 1 in this cell ($D$9). Once this is completed I am tallying up
everything in column D to find out how many times that happened.

(FTI - reason for this is that RED shows an absence and we need to calculate
how many absenses)

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default How do I- IF the cell background is RED in color then contain 1

Trust me on this!

It would be easier to denote an absence with an "A" and then count the As as
opposed to counting RED cells.

=COUNTIF(A1:A10,"A")

Biff

"sunshine19992" wrote in message
...
For example, IF the cell $C$9 has a background color of RED then I want to
display 1 in this cell ($D$9). Once this is completed I am tallying up
everything in column D to find out how many times that happened.

(FTI - reason for this is that RED shows an absence and we need to
calculate
how many absenses)



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default How do I- IF the cell background is RED in color then contain 1

In addition.......if you really want the cell to be red use Conditional
Formatting to color it red after you enter Biff's "A" for absence.


Gord Dibben MS Excel MVP

On Wed, 23 May 2007 14:11:20 -0400, "T. Valko" wrote:

Trust me on this!

It would be easier to denote an absence with an "A" and then count the As as
opposed to counting RED cells.

=COUNTIF(A1:A10,"A")

Biff

"sunshine19992" wrote in message
...
For example, IF the cell $C$9 has a background color of RED then I want to
display 1 in this cell ($D$9). Once this is completed I am tallying up
everything in column D to find out how many times that happened.

(FTI - reason for this is that RED shows an absence and we need to
calculate
how many absenses)



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
Add background color to cell Rich K. Excel Discussion (Misc queries) 2 January 23rd 07 09:56 PM
changing cell background color okelbes Excel Worksheet Functions 1 September 20th 06 03:28 PM
Cell background color update SalamElias Excel Worksheet Functions 2 July 30th 06 12:23 PM
Default Border, Font Color, and Cell Background Color Elijah Excel Discussion (Misc queries) 1 October 28th 05 04:10 PM
background color of my cell does not change Colorblinded Excel Discussion (Misc queries) 2 March 27th 05 04:55 PM


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