#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
PAL PAL is offline
external usenet poster
 
Posts: 200
Default Conditional

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$27410)*(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$27410)*(YEAR('Enroll I'!$F$2:$F$2741)=2006+{0,1}),'Enroll
I'!$H$2:$H$2741,""))

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

Ideas? Thanks.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Conditional

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.

--
Biff
Microsoft Excel MVP


"PAL" wrote in message
...
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$27410)*(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$27410)*(YEAR('Enroll I'!$F$2:$F$2741)=2006+{0,1}),'Enroll
I'!$H$2:$H$2741,""))

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

Ideas? Thanks.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
New Conditional Format Overriding Previous Conditional Format Rene Excel Discussion (Misc queries) 3 February 27th 08 06:08 PM
Conditional Rank (or rather, Conditional Range) [email protected] Excel Worksheet Functions 6 April 16th 07 06:15 PM
Conditional Formatting that will display conditional data BrainFart Excel Worksheet Functions 1 September 13th 05 05:45 PM


All times are GMT +1. The time now is 01:30 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"