Yes colored. I have a column of cells and i color them yellow with the fill
color button. Now I want to the sum of only the yellow cells, and if I color
more cells in the same column I want them to be totaled also.
> What do you consider "highlighted"? Colored cells?
>
[quoted text clipped - 18 lines]
> >Is there a formula to add the sum of all highlighted cells only in a column
> >with both no fill and highlighted cells.
Gord Dibben - 20 Mar 2008 04:04 GMT
I guess you are stuck with the VBA solution found at Chip's site.
His SumByColor function is what you want.
You would copy and paste the Function to a general module in your workbook.
If you're not familiar with VBA and macros, see David McRitchie's site for
more on "getting started".
http://www.mvps.org/dmcritchie/excel/getstarted.htm
or Ron de De Bruin's site on where to store macros.
http://www.rondebruin.nl/code.htm
Gord
>Yes colored. I have a column of cells and i color them yellow with the fill
>color button. Now I want to the sum of only the yellow cells, and if I color
[quoted text clipped - 22 lines]
>> >Is there a formula to add the sum of all highlighted cells only in a column
>> >with both no fill and highlighted cells.