sparky3883
03-10-2004, 05:09 PM
HI. Can someone please help me with a wee prob.
I have a speadsheet in Excel and some of the cells are grey and the others are white. (No cell is ever a fixed colour - they can be changed from grey/white to white/grey anytime the user likes).
The very last row of cells in my sheet remain white and this is the 'TOTAL' row.
What i am hoping to do is, the number of white cells in each column is to be displayed in the appropriate column in the 'TOTAL' row.
For example; if Column D had 7 white cells and 4 gray cells, then the number 7 will be displayed in the TOTAL row, in Column D. if Column J had 2 white cells and 8 gray cells, then the number 2 will be displayed in the TOTAL row, in Column J)
I've tried something like:
If Cells white Then
add 1 to TOTAL
The TOTAL row runs from D34 to AJ34
The areas that can be either colour run from D to AJ and down to row 33
Any help would be much appreciated
Thanks
I have a speadsheet in Excel and some of the cells are grey and the others are white. (No cell is ever a fixed colour - they can be changed from grey/white to white/grey anytime the user likes).
The very last row of cells in my sheet remain white and this is the 'TOTAL' row.
What i am hoping to do is, the number of white cells in each column is to be displayed in the appropriate column in the 'TOTAL' row.
For example; if Column D had 7 white cells and 4 gray cells, then the number 7 will be displayed in the TOTAL row, in Column D. if Column J had 2 white cells and 8 gray cells, then the number 2 will be displayed in the TOTAL row, in Column J)
I've tried something like:
If Cells white Then
add 1 to TOTAL
The TOTAL row runs from D34 to AJ34
The areas that can be either colour run from D to AJ and down to row 33
Any help would be much appreciated
Thanks