VBA macro to count number of colored cells in each row of a named table

Status
Not open for further replies.

tharrington

New Member
Joined
Jul 19, 2018
Messages
12
I am trying to count the number of cells in each column of a table that are highlited.
Would this entail these of
For each column In Range..
Any help would be appreciated
THanks
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Define highlighted
And where do you want to see the results?
Does highlighted mean interior color is red or yellow or what?
What is the name of the Table

Also your Subject title says:
count number of colored cells in each row

Then your said each column

 
Last edited:
Upvote 0
Case Name
W
X
Y
Z
Case 1
5
6
7
8
Case 2
3
5
7
9
Case 3
1
5
4
2

<tbody>
</tbody>
It is just Table1.
I wrote a macro to interior.color cells yellow based on a numerial criteria. I want to count and find the row with the most number of yellow cells, then make those red.
I want to continue this loop until each column has at least one red cell, then display the names (Case #) of rows I turned red.
Thanks again
 
Upvote 0
This is beyond my knowledgebase.
I will continue to monitor this thread to see what I can learn.
 
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,214,643
Messages
6,120,702
Members
448,980
Latest member
CarlosWin

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top