Re: averaging based on multiple criteria
From: Julz (jhbiz_at_austin.rr.com)
Date: 08/01/04
- Next message: Julz: "Re: averaging based on multiple criteria"
- Previous message: Ron de Bruin: "Re: averaging based on multiple criteria"
- In reply to: Frank Kabel: "Re: averaging based on multiple criteria"
- Next in thread: Julz: "Re: averaging based on multiple criteria"
- Reply: Julz: "Re: averaging based on multiple criteria"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 01 Aug 2004 07:01:38 -0500
#1 as an array
{=AVERAGE(IF(D2:D19000="n",K2:K19000))}
#2
=SUMPRODUCT(--(D2:D19999="n"),--(K2:K19999<16))/COUNTIF(D2:D19999,"n")
row 1 contains column headers which is why I'm using D2, K2, etc.
also, this spreadsheet is populated with new data weekly where there is
a variance between how many rows will contain data, which is why I'm
using 19999.
Hope this helps.
Frank Kabel wrote:
> Hi
> sorry the second one had a missing bracket. Should read:
> =SUMPRODUCT(--(D1:D100="n"),--(K1:K100<16))/COUNTIF(D1:D100,"n")
>
> But they shouldn't return a #REF error
> What are the exact formulas you have used
>
>
>
- Next message: Julz: "Re: averaging based on multiple criteria"
- Previous message: Ron de Bruin: "Re: averaging based on multiple criteria"
- In reply to: Frank Kabel: "Re: averaging based on multiple criteria"
- Next in thread: Julz: "Re: averaging based on multiple criteria"
- Reply: Julz: "Re: averaging based on multiple criteria"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|