Hi all,
This is for Excel 2013, and here is my code, which has worked before:
Public Function SumByColor(CellColor As Range, rRange As Range)
' CellColor is the cell containing they colour type you are searching for
' rRange is the range of cells to add, if the colour matches...