Conditional formatting
Posted by Peter on November 07, 2000 2:02 AM
Bit of a long explanation, sorry.
EXCEL 7 on NT4
I have a workbook, where SUMMARY sheet is the summary status for the next 7 sheets. All sheets are same format and layout
The 7 sheets show the status of various projects, shown only as Red, Amber, or Green, where the cell colour is formatted to the letter R, A , G value in the cell.
Each sheet has the same 30 projects shown against five locations. So as each location (column) status changes across each project(row) the colour will go from Red (running and slipping) through Amber (running and could slip) to Green (either running to time or complete). The workbook is linked to shared worksheets across the WAN as the locations are in various parts of the country, and they update their worksheets. That bit works
I need the summary to show if one location is reporting their part of the project as RED, then the summary will show RED. If all green, summary is green, and if mixture of green/amber, the summary to show amber, so there is or could be, an element of min/max or >= in the formula, but I have tried so many! Conditional formatting and COUNTIF seem the best, except that COUNTIF will not view a workbook range. Apart from nesting seven IF statements, with their conditions, anyone any ideas. A couple of Formulas tried are:-
This type of nesting sort of works, but is a pain
=IF((COUNTIF('sheet2'!F3:H3,"g")>=3)*(COUNTIF('sheet 3'!F3:H3,"g")>=3)*(COUNTIF('sheet 4'!F3:H3,"g")>=3)*(COUNTIF('sheet 5'!F3:H3,"g")>=3),"g","a") etc
or if I try
=IF(COUNTIF('sheet 1:sheet 7'!F5,"g")>=1,"g","a")
I get the meaningful #VALUE! result
Doesn't seem to matter if I enter them as array or standard
Simple isn't it????
thanks
Peter