Forum

Notifications
Clear all

count formula based on the highlighted color

6 Posts
2 Users
0 Reactions
60 Views
 Madi
(@madisal66)
Posts: 61
Trusted Member
Topic starter
 

Hi Every one

there is possibilities to counting items range based on the color e.g. i have mentioned below.

 

count-1.jpg

 
Posted : 24/01/2018 12:38 am
(@sunnykow)
Posts: 1417
Noble Member
 

Try looking at this article and see if it helps

https://www.myonlinetraininghub.com/count-sum-and-average-colored-cells

 
Posted : 24/01/2018 12:41 am
 Madi
(@madisal66)
Posts: 61
Trusted Member
Topic starter
 

Hi Sunny.

there is vb code also, it is very hard to understand my self, please there is any other way in excel formula.

Thanks sunny

 
Posted : 24/01/2018 1:27 am
(@sunnykow)
Posts: 1417
Noble Member
 

Hi Mohamed

You don't have to understand the VBA code to use it. Just download the example file and use the UDF just like a normal function.

I am not aware of any "normal" Excel formula that can do what you wanted.

The only way I know of (other than using VBA) is by using a SUBTOTAL. That will require you to filter the column. It is also mentioned in the link that I gave above. You can see my attached example.

Sunny

 
Posted : 24/01/2018 2:31 am
 Madi
(@madisal66)
Posts: 61
Trusted Member
Topic starter
 

could you please provide me the count formula with highlighted color only

 
Posted : 24/01/2018 8:15 am
(@sunnykow)
Posts: 1417
Noble Member
 

My attachment contains the formula. Just filter the color.

 
Posted : 24/01/2018 12:15 pm
Share: