Color cell count

sumanc6

New member
Joined
Jul 23, 2019
Messages
1
Reaction score
0
Points
0
Excel Version(s)
2013
please guide me

there is any formula to count how many colored cell in every row??
 

Attachments

  • Book1.xlsx
    10.8 KB · Views: 6
Hi,
the colors are givin by conditional formatting:
Code:
Function count_Color(rng As Range) As Integer    
Dim cl As Range
    For Each cl In rng
        count_Color = count_Color + cl.FormatConditions.Count
    Next
End Function
 
Back
Top