Calculating ratings across a range of cells

John Blackwell

New Member
Joined
Feb 3, 2013
Messages
10
I have a workbook with a row of 78 cells, each of which has a 1-5 rating. I need to calculate the number of cells that are rated 1, the number rated 2, and so on. I've tried using the formula =COUNTIF($E26:CD26,"1") and then dividing by 78 but this does not return the average rating.

How can I calculate the actual ratings for the 78 cells?
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Hi John,

enter a number from 1-5 in cell B26, in C22 try

=COUNTIF($E$26:CD$26,B26)/COUNT($E$26:CD$26)

Alternatively list ratings 1 to 5 and then drag the formula down to suit.
 
Upvote 0

Forum statistics

Threads
1,224,822
Messages
6,181,165
Members
453,021
Latest member
Justyna P

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