Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Excel Sorting / Filtering Colored Cells
Does anyone know how to create a formula / function to obtain a count of
cells in each column that are colored? I need a formula / function that will count both the text color and the cell fill color of various cells. If anyone has a solution, I would greatly appreciate your help. Thank you. |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Excel Sorting / Filtering Colored Cells
You need to use a UDF. Try this one
Function colorcount(Target As Range) colorcount = 0 For Each cell In Target If cell.Interior.ColorIndex < xlNone Or _ cell.Font.ColorIndex < xlNone Then colorcount = colorcount + 1 End If Next cell End Function "Renegade" wrote: Does anyone know how to create a formula / function to obtain a count of cells in each column that are colored? I need a formula / function that will count both the text color and the cell fill color of various cells. If anyone has a solution, I would greatly appreciate your help. Thank you. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
count colored cells in excel | Excel Worksheet Functions | |||
XL 2007-Filtering/sorting mixes up chgd cells in shared worksheet? | Excel Discussion (Misc queries) | |||
Sorting Colored list | Excel Discussion (Misc queries) | |||
Excel - filtering, sorting? | Excel Worksheet Functions | |||
Excel should allow sorting and filtering based on cell color. | Excel Worksheet Functions |