Count cell by Colour not number

madforgolf

Board Regular
Joined
Oct 20, 2006
Messages
182
Office Version
  1. 365
  2. 2016
I have searched her and web and cant find what I can use.

Im looking to count the cells in a range that are coloured RED
I have tried a few ways even =countcolor(c2:aa2,3,false) but nothing

Any ideas without vba code

Marty
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
I have tried a few ways even =countcolor(c2:aa2,3,false) but nothing
Where did you get "countcolor" from? All the references I have found on-line for it show how it is a VBA User Defined Function (see: Count The Number of Cells With Specific Cell Color By Using VBA)

Check out this link here: How to count and sum cells based on background color in Excel?
and note what it says:
In Excel, there is no direct formula to calculate Sum and Count of color cells, here I will introduce you some ways to solve this problem.

Note, if your cells are colored due to Conditional Formatting, you may be able to get what you want indirectly by using the same condition to count the cells (instead of trying to count the color). Or if the cells are colored due to some specific reason that can be identified with a formula, you could use that also.

Otherwise, I think you are stuck using VBA.
 
Upvote 0
Thanks for the reply, Vba looks like the only way I can do this.

Cheers Marty
 
Upvote 0

Forum statistics

Threads
1,214,994
Messages
6,122,633
Members
449,092
Latest member
bsb1122

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