Average score selected by colour

Raggy

Board Regular
Joined
Jul 30, 2008
Messages
70
Office Version
  1. 2010
Platform
  1. Windows
I have a seriea of scores I want to just find the average of, not thats simple enough but sometimes there is not a score.
Screenshot_20201018-225634.png

As shown above I want to just colour the cells that dont have a score rather than enter 0 as it helps me to spot patterns etc. How can I get excel to automaticaly only count the cells that are a certain colour in that row and then find the average of those cells?
Hope I have made myself clear.
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Perhaps I am not understanding your description, but if you leave out those coloured '0' values then Excel will ignore them for the average calculation (whether or not you colour them).

BTW, I suggest that you investigate XL2BB for providing sample data to make it easier for helpers by not having to manually type out sample data to test with.

20 10 19.xlsm
ABCDEF
1Average
2 
342272531025.0
400.0
541343120025.2
6 
737363143029.4
8 
9274133025.3
Average
Cell Formulas
RangeFormula
F2:F9F2=IF(COUNT(A2:E2),AVERAGE(A2:E2),"")
 
Upvote 0
Solution

Forum statistics

Threads
1,215,064
Messages
6,122,942
Members
449,094
Latest member
teemeren

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