Average of logic cells

C

ckdkvk

I used a logic test to determine some levels from raw scores. For EG
120 =5, 119-110 = 4, etc. I now want to dtermine an average score of
several of the the results from the logic tests but it doesnt seem to
work. (AVG does not recognise cells with logic tests) Can anyone help,
please?
 
H

Héctor Miguel

hi, ckdkvk !
I used a logic test to determine some levels from raw scores. For EG 120 = 5, 119-110 = 4, etc.
I now want to dtermine an average score of several of the the results from the logic tests
but it doesnt seem to work. (AVG does not recognise cells with logic tests)...

I'm not sure to got your point, but assuming that 120 = 5 <:::> 80 = 1
for a range from 'A1:A10', try with:
=sumproduct(match(a1:a10,{0;80;90;100;110;120})-1)/count(a1:a10)

hth,
hector.
 
J

Jerry W. Lewis

Just coerce from logical (TRUE/FALSE) to numeric (1/0)
=AVERAGE(range*1)
array entered (Ctrl-Shift-Enter)

Jerry
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top