Ignoring blank cells to average.

chuickie77

New Member
Joined
Oct 31, 2017
Messages
3
I am trying to average a range of cells that represent a rating (Column B) to interview question responses (Column C). The ratings are 0-5 (0-V Bad, 5-V Good)
As some interview questions won't be asked the rating will be zero, but could also be zero if the interviewer rates the answer as 'very bad'.

I'm currently using
<style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px 'Helvetica Neue'; color: #000000 ; -webkit-text-stroke: #ffffff}span.s1 {font-kerning: none}</style>
AVERAGE(IF(C5,C10,C15,C23,C28,C33,C38,C43,C51,C57=>0,B9,B14,B19,B27,B32,B37,B42,B47,B55,B61,B79,B87))

Essentially, the B cells should only be averaged if there is text input in the C cells, ignoring any blank ones. Each C cell has a corresponding rating B Cell, example - C5 relates to B9, C10 relates to B14 etc. Additionally B79, B87 are compulsory ratings and so need to be always completed and averaged accordingly.

Hope this makes sense and desperately need some help
Thanks in advance
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Hi ,

See if this works :

=AVERAGE(AVERAGE(IF(N(OFFSET($C$5,{0,5,10,18,23,28,33,38,46,52},,10))>0,N(OFFSET($B$9,{0,5,10,18,23,28,33,38,46,52},,10)))),B79,B87)

This is an array formula , to be entered using CTRL SHIFT ENTER.
 
Upvote 0

Forum statistics

Threads
1,215,086
Messages
6,123,031
Members
449,092
Latest member
ikke

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