Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
What is the formula to count how many lines are highlited in yellow?
Thank you. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
As Luke said - there are several ways.
1) UDF: Function CountIntColor(MyColor As Range, MySumRange As Range) Application.Volatile IntCol = MyColor.Interior.ColorIndex For Each CL In MySumRange If CL.Interior.ColorIndex = IntCol Then Counter = Counter + 1 End If Next CountIntColor = Counter End Function =========== The first argument is the range of colored cells to be counted. The second argument will refere to a single cell colored with YELLOW. *************************************** 2) Using the CELL function. Look it up in Excels Help 3) In Excel "2007"/"2010" - you can filter by Cell Interior color and count the visible cells with SUBTOTAL function. Micky "Vic" wrote: What is the formula to count how many lines are highlited in yellow? Thank you. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Count yellow-highlited rows | Excel Discussion (Misc queries) | |||
Formula to count Highlited Cells. | Excel Discussion (Misc queries) | |||
can I do a formula to use only the highlited cell's | Excel Worksheet Functions | |||
How do you count cells with background color yellow? | Excel Discussion (Misc queries) | |||
Can I count cells with specific format (e.g., yellow field?) | Excel Worksheet Functions |