Using function to change a cell color
Hi,
This is what I am doing.
I have 4 variables: StartDate,CurrentDate,CurrentValue,DayAverage
I am passing these four variables into an excel function.
What I want to do is that if the difference between CurrentDate and StartDate
is greater than 30 (1 month) and CurrentValue<DayAverage then the cell from
where I called this function should turn "RED". If the difference is less
than 30 and CurrentValue<DayAverage then the cell should turn "YELLOW".
Changing color from within Function doesnt seem to work. Help!!
Thanks,
Sherry
|