How to Count or Sum cells with Colors

Manny74

Board Regular
Joined
May 6, 2016
Messages
124
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Hi All,

I have rows 1 thru 21, with data in column B.

How would I count or sum the number of green cells?

I have tried to google this and want to keep this simple, so I'm hoping I don't need to use VBA....

Sorry, I had colors on my spreadsheet, but when I copied it onto the body of my post, the colors (light green) disappeared, so I made the font Arial black (ex. B2, B4, etc.), so you can pretend those are the light green cells I need to count/sum.....


1B
262.09%
3699
475.40%
5 57
60
7 0
8 58
9 88.73%
10 0%
111
1271%
13 33
14 55.49%
15 90.00%
160.00
170.00
181.64
19511
205.01
21708

<tbody>
</tbody>
 
Last edited:
Ok so I added some more data, to try to elaborate....
For each user, I have different items they are responsible with different goals that has to be met (Column B & C)
Column D represents their scores-data....
For Discharge %, when he/she exceeds 50%, then it would be green, so 62.09% would be green
For Orders Timeframe when he/she completes the order less than 60 it would be green, so 33 would be green...
So from rows 2 thru 19, only 2 goals were met...So I'd like a count of the green cells to see how goals were met (out of the 10 goals)
It would be 2 goals met (with both 62.09 & 33 being green cells)



COLUMN B (TARGETS)COLUMN C (TARGETS AMOUNT -GOAL) COLUMN D (USER DATA)
ROW 2Discharge %50%62.09%
ROW 3 Total Orders699
ROW 4Score84.47%75.40%
ROW 5 Surveys57
ROW 6Records358
ROW 7CPOE %90%88.73%
ROW 8Infections %70%0%
ROW 9 Cases1
ROW 10Attendance80%71%
ROW 11Orders Timeframe6033
ROW 12Rate75%55.49%
ROW 16Length of Stay1.401.64
ROW 17 Cases511
ROW 18Length of Stay5.005.01
ROW 19 Cases708

<colgroup><col><col><col><col></colgroup><tbody>
</tbody>
 
Upvote 0

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Sorry I accidentally posted my response twice...
 
Last edited:
Upvote 0

Forum statistics

Threads
1,216,111
Messages
6,128,899
Members
449,477
Latest member
panjongshing

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