Conditional

P

PAL

This formula works nicely as an array for counting the number of values.

=COUNT(IF(('Enroll I'!$C$2:$C$2741=A4)*('Enroll
I'!$H$2:$H$2741>0)*(YEAR('Enroll I'!$F$2:$F$2741)=2006+{0,1}),'Enroll
I'!$H$2:$H$2741,""))

I was expecting this formula to work nicely as an array for getting the
median (I may want to change to average) the number of values.

=MEDIAN(IF(('Enroll I'!$C$2:$C$2741=A4)*('Enroll
I'!$H$2:$H$2741>0)*(YEAR('Enroll I'!$F$2:$F$2741)=2006+{0,1}),'Enroll
I'!$H$2:$H$2741,""))

.....Instead I get the infamous "#Value"

Ideas? Thanks.
 
T

T. Valko

Both formulas work OK for me.

The MEDIAN formula will only throw a #VALUE! error if any of the ranges
already contain #VALUE! errors or if there is TEXT in F2:F2741.
 

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

Similar Threads

SUMPRODUCT 3
Average IF 3
Complex if 9
Many ifs.... 1
SUMProduct Part II 6
Help with lots of formulas 3
Formula than understands midnight? 26
Percentile 1

Top