I have some data in excel file which is having different color header , I need when I change header cell color in red , only red colored row data sum in one cell in file .
ushaanu I need when I change header cell color in red
Above could be a challenge ... to get something to calculate if change a color.
There should be some kind of other action which could make it possible.
Note that vletm's solution uses VBA. There is no other way to do this.
Complicating matters is that there is no VBA event that fires when you change the format of a cell. So you might have to make the function volatile or force recalculation when the colors are changed.
Note that vletm's solution uses VBA. There is no other way to do this.
Complicating matters is that there is no VBA event that fires when you change the format of a cell. So you might have to make the function volatile or force recalculation when the colors are changed.