Hi, I have the following formula working, summing cells based in font color "red" that for this example is the number "255"
But if the font color is based in a conditional formatting, the function doesn´t sum anything,
I guess its assuming that there are no cells with red color, how can I make it work?
Example in attach that should sum all the numbers in red: 5+6+7+8+9+10= 45
thanks.
![]()
Function SumRed(MyRange As Range) For Each cell In MyRange If cell.Font.Color = 255 Then SumRed = SumRed + cell.Value End If Next cell End Function
Bookmarks