Hello,
I created a custom VBA function {Color(Cell)}to return the background color value for a cell. I would like to be able to use a countifs statement to count how many cells in a range have the same color as a baseline cell and are within a certain daterange.
For example, I have a column with dates and different colors on sheet1.
21/6/2011
15/5/2011
26/6/2011
15/2/2010
On Sheet2, I have the following setup, and the cells under the 'Color Legend' are color coded and correspond to the colors in Sheet1
Thanks in Advance for any help.
I created a custom VBA function {Color(Cell)}to return the background color value for a cell. I would like to be able to use a countifs statement to count how many cells in a range have the same color as a baseline cell and are within a certain daterange.
For example, I have a column with dates and different colors on sheet1.
21/6/2011
15/5/2011
26/6/2011
15/2/2010
On Sheet2, I have the following setup, and the cells under the 'Color Legend' are color coded and correspond to the colors in Sheet1
Code:
Color Legend | Total | May 2011 | June 2011
Open Task | | |
In Progress | | |
Completed | | |
Thanks in Advance for any help.