Function/Formula to Sum Excel Cells by Colour

Function SumColor(rColor As Range, rSumRange As Range)
''''''''''''''''''''''''''''''''''''''
'Written by Ozgrid Business Applications
'www.ozgrid.com
'Sums cells based on a specified fill color.
'''''''''''''''''''''''''''''''''''''''
Dim rCell As Range
Dim iCol As Integer
Dim vResult

iCol = rColor.Interior.ColorIndex
For Each rCell In rSumRange
If rCell.Interior.ColorIndex = iCol Then
vResult = WorksheetFunction.Sum(rCell) + vResult
End If
Next rCell
SumColor = vResult
End Function

via 2 Excel Functions/Formulas to Count/Sum Excel Cells by Color – Excel VBA User Defined Functions.

Adding Color to Excel 2007 Worksheets by Using the ColorIndex Property

ColorIndex Property
The ColorIndex property can generate up to 57 colors. The table shown in Figure 1 illustrates the range of colors. The table was created programmatically by using a procedure similar to one shown later in the linked article. Figure 1. ColorIndex values and colorsFigure 1 shows the color palette and the corresponding integer value assigned to the ColorIndex property to produce the color. The ColorIndex property can be applied to the following parent objects:Interior ObjectFont ObjectBorder ObjectBorders ObjectFormatColor ObjectTab Object

via Adding Color to Excel 2007 Worksheets by Using the ColorIndex Property.

Figure 1

  • Buy Cheapest cialis dosage dose Now No Prescription Needed. Free Viagra Pills!
  • Buy Cheapest cialis paypal Now Best Online. Discount Online Pharmacy.
  • Buy Cheapest online pharmacy viagra cialis levitra manufactures Now Buy Medications Online. Best Internet.
  • Buy Cheapest recreational use of viagra Now Best Online. Internet Prices For recreational use of viagra!
  • Buy Cheapest rx levitra Online Discount Online Pharmacy. Best Online.
  • Buy Cheapest cheap generic levitra Now Best Drugstore. Discount Online Pharmacy.
  • Buy Cheapest buy brand name cialis Online Guaranteed Shipping. Best Internet.
  • Buy Cheapest non persription viagra Online Cheap Pharmacy Online. Best Prices.
  • Buying Cheap order viagra viagra. Worldwide Rx, Best Prices. WorldWide Shipping.
  • Buying Cheap which works better cialis or viagra. Offshore Rx, Best Prices. Top Online Pharmacy.
  • Buy Cheap long term efffects of viagra Now The Largest Internet Pharmacy. Best Online.
  • Buy Cheapest generic brands of viagra Now Discount Online Pharmacy. Best Online.
  • Buy Cheapest femail viagra Online Best Internet. Online Medical Shop.
  • Buy Cheapest viagra sildenafil oral jelly Online Order Cheap Meds Without Rx. Low Prices.
  • Buy Cheapest levitra v viagra Now Pharmacy Store. 24/Online Pharmacy.
  • Buy Cheap sales viagra Now Low Prices. Bonus Pills And Reorder Discounts!
  • Buy Cheapest cialis cheapest Online Guaranteed Shipping. WorldWide Shipping.
  • Buy Cheap low price viagra Now Cheap Pharmacy Online. Buy Medications Online.
  • Buy Cheap cialis mexico Online WorldWide Shipping. Cheap Online Pharmacy.
  • Buy Cheapest compare viagra cialis Now Top Online Pharmacy. Guaranteed Shipping.
  • Buy women using viagra Online Without Prescription. Pharmacy Store. Low Prices.
  • Buy Cheap viagra free Online Guaranteed Shipping. Pharmacy Store.
  • Buy Cheap viagra prescription medication Now Discount Pharmacy Online. Free Viagra Pills!
  • Buy Cheap cheap cialis site Now Free Viagra Pills! Online Medical Shop.
  • Buy Cheap viagra what to expect Online Top Online Pharmacy. Online Medical Shop.
  • Buy Cheapest buy cialis delived fed ex Now Best Internet. No Prescription Needed.
  • Buy Cheapest cialis erection problems Online Best Online. Top Online Pharmacy.
  • Buy Cheap can i get a viagra today Now Low Prices. Discount Online Pharmacy Shopping.
  • Buy Cheap cialis levitra viagra vs vs Now Cheap Prescription Drugs. WorldWide Shipping.
  • Buy Cheap erectile dysfunction viagra Online Pharmacy Store. Pharmacy At The Best Price!
  • Buy Cheap india pharmacies levitra generic Now Cheap Prescription Drugs. WorldWide Shipping.
  • Buy Cheap cheap generic cialis Now All Medications Are Certificated! Low Prices.
  • Buy Cheap order cialis from canada Now Guaranteed Shipping. No Prescription Needed.
  • Buy Cheapest buy cialis in the uk Online Best Prices. No Prescription Needed.
  • Buy Cheapest cialis overnight Now 24/Online Pharmacy. Free Viagra Pills!
  • Buy Cheapest find cialis from mexico Online Top Online Pharmacy. Free Viagra Pills!
  • Buy Cheap viagra free pills Online Best Prices. Special Prices For viagra free pills!
  • Buy Cheapest suite cialis viagra levitra Online Best Prices. Discount Pharmacy Online.
  • cheap viagra tablets Online Without Prescription Best Internet. Pharmacy Store.
  • Buy Cheap online purchase viagra Online WorldWide Shipping. Buy Medications Online.
  • Buy Cheapest levitra spray Online Internet Prices For levitra spray! Low Prices.
  • Buy Cheap where to buy levitra Online Guaranteed Shipping. Pharmacy Store.
  • Buy Cheapest buying viagra Now Best Drugstore. Cheap Prescription Drugs.
  • Buy Cheap cialis canada Online Cheap Online Pharmacy. Best Internet.
  • Buy Cheap levitra prescribing Now Free Viagra Pills! Cheap Pharmacy Online.
  • Buying Cheapest free samples cialis. Mexican Pharmacy, Best Prices. Best Online.
  • Buy Cheapest viagra softabs Now 24/Online Pharmacy. WorldWide Shipping.
  • Buy Cheap cialis cost sell australia Online Pharmacy Store. Cheap Prescription Drugs.
  • Buy Cheapest sale levitra Online Pharmacy Store. Top Online Pharmacy.
  • Buy Cheap viagra from canada Now Free Viagra Pills! Special Prices For viagra from canada!
  • Buy Cheap buy online order viagra Online Special Prices For buy online order viagra! Low Prices.
  • Buy Cheap brand name cialis Online Best Drugstore. Buy Medications Online.
  • Buy Cheapest viagra prescription drug Now Discount Online Pharmacy. Best Drugstore.
  • Buy Cheap levitra cheaper Now Low Prices. Discount Online Pharmacy Shopping.
  • Buy Cheapest cheap viagra Online Best Prices. Special Prices For cheap viagra!
  • Buy Cheapest phentermine tramadol viagra Now Best Prices. Order Cheap Meds Without Rx.
  • cialis vs viagra Online Without Prescription Low Prices. Pharmacy Store.
  • Buy Cheapest levitra on line ordering 50mg Now Free Viagra Pills! Cheap Online Pharmacy.
  • Buy Cheap viagra effects on women Now Discount Pharmacy Online. Best Internet.
  • Buy Cheap cialis online softtabs Now Cheap Pharmacy Online. Cheap Online Pharmacy.
  • Buy Cheapest viagra effects Now Low Prices. Discount Pharmacy Online.
  • Buy Cheapest cheap viagra jelly Now Online Medical Shop. WorldWide Shipping.
  • Buy Cheap viagra erection duration Now FDA Approved Rx: Online Pharmacy. Best Online.
  • Buy Cheap buy viagra pill online Online Low Prices. Discount Pharmacy Online.
  • Buy Cheap woman and viagra Now Pharmacy Store. Special Prices For woman and viagra!
  • Buy Cheapest generic cialis fedex Now Internet Prices For generic cialis fedex! Best Online.
  • Buy Cheap cialis daily dose Online Pharmacy At The Best Price! Best Online.
  • Buy Cheapest cialis best prices Now Buy Medications Online. Pharmacy Store.
  • Buy Cheap chinese viagra Online 24/Online Pharmacy. Online Medical Shop.
  • Buy Cheap online cialis soft Online Best Online. Buy Medications Online.
  • Buy Cheapest us cialis soft Online Low Prices. Drugs, Health And Beauty.
  • Buy Cheapest mexican rx cialis low priced Online WorldWide Shipping. Online Medical Shop.
  • cheap cialis generic Online Without Prescription Best Prices. Best Drugstore.
  • Buy Cheap alternative levitra Now Discount Pharmacy Online. Best Drugstore.
  • Buy Cheap cheapest viagra price Online Free Viagra Pills! No Prescription Needed.
  • Buy Cheap cialis drug Online Top Online Pharmacy. Cheap Online Pharmacy.
  • Buy Cheapest viagra sales uk Now WorldWide Shipping. Guaranteed Shipping.
  • Buy Cheapest disocunt cialis Online WorldWide Shipping. Online Medical Shop.
  • Buy Cheapest viagra in britain Now Cheap Prescription Drugs. Best Prices.
  • Buy Cheap cialis 10 20 mg Online Pharmacy Store. Buy Medications Online.
  • Buy Cheapest generica viagra Now Best Online. Discount Pharmacy Online.
  • Buy Cheap viagra next day Online Top Online Pharmacy. WorldWide Shipping.
  • Buy Cheapest very cheap viagra Now Best Drugstore. Buy Medications Online.
  • Buy Cheapest brand cialis for sale Now Prescription Drugs And Generic Medications.
  • Buy Cheapest purchasing viagra in the united kingdom Now Best Internet. No Prescription Needed.
  • Buy Cheapest cialis the sex pill Online Top Online Pharmacy. Best Internet.
  • viagra no prior prescription Online Without Prescription Best Online. Pharmacy Store.
  • Buy Cheap cheapest price for cialis Now Low Prices. 100% Satisfaction Guaranteed.
  • Buy Cheapest herbal viagra australia Online Best Online. Buy Medications Online.
  • Buy Cheap levitra warfarin Now Best Internet. Special Prices For levitra warfarin!
  • Buy Cheap cialis use with alcohol Online Online Prices For cialis use with alcohol! Best Prices.
  • Buy Cheap long term effects of viagra Now Top Online Pharmacy. Drugs, Health And Beauty.
  • Buy Cheap levitra in uk Online Cheap Pharmacy Online. Guaranteed Shipping.
  • Buy Cheap viagra sample pack Online The Largest Internet Pharmacy. Best Prices.
  • Buy Cheapest cialis generico Now 24/Internet)(safe Pharmacy. Best Online.
  • Buy Cheap male viagra cream Online Pharmacy Store. Discount Online Pharmacy.
  • Buy Cheapest levitra and viagra Now 24/Online Pharmacy. Free Viagra Pills!
  • Buy Cheap viagra without prescription Online 24/Internet)(safe Pharmacy. Best Prices.
  • Buy Cheapest viagra canada Online Buy Medications Online. Pharmacy Store.
  • Buy levitra male enhancement Online Without Prescription. Low Prices. Best Online.