View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Jane Jane is offline
external usenet poster
 
Posts: 202
Default Need help with complicated use of count background color of Cell

Need help with complicated use of count background color of Cell

I have 3 spreadsheets within a workbook:

CountSummary is sheet1
Men is sheet2
Women is sheet3

CountSummary counts the data based on the color of the background colors in
the Men and Women spreadsheets

Men consists of data for John and Rob. The information related to each are
separated by a black filled cell which I use to separate their data.

Women consists of Jane and Mary formatted the same as €śmen€ť

In the €śmen€ť worksheet €¦.If the current month is AUG find previous month
(i.e. JUL) in row 3 in columns F thru Q. [note the months are text in row3
and formatted as Jan Feb Mar Apr May etc.]. [The real €śprevious month€ť date
formula is located in Cell A3 and is formatted €śmmm€ť] Then in column A find
€śJohn€ť and count all cells in the previous month with bright green background
and stop counting or looking for green when you hit the first black
background in that same column, then in COUNTSUMMARY sheet look for the row
labeled €śJohn€ť in column A and place the total count in COUNTSUMMARY in
column H in the same row as €śJohn€ť and change background of that cell to
bright green. If the count is 0 then 0 IS NOT displayed and the background
does not change color.

Then follow that same procedure but now count red cells and follow same
procedures as above but put in column P.

Then I need to do the same thing for €śRob€ť.

Then I need to go to the €śWomen€ť spreadsheet and do the exact same thing for
€śJane€ť and €śMary€ť and have the count information placed in the correct cell
in SHEET1.

Any ideas on how to do this without having long winded VBA code? Thanks in
advance. I hope I made sense.