Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
ellebelle
 
Posts: n/a
Default average with mulitple ciriteria

I want to get the average with two criteria. if the cells in column Z = B11
then I want the average value from column CA (BUT I only want the average of
cells greater than zero.)
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bpeltzer
 
Posts: n/a
Default average with mulitple ciriteria

You could use sumproduct to add the appropriate cells and to the count the
appropriate cells, then just divide the two:
=sumproduct(--(z1:z5000=b11),--(ca1:ca50000),(ca1:ca5000)) /
sumproduct(--(z1:z5000=b11),--(ca1:ca50000))
--Bruce

"ellebelle" wrote:

I want to get the average with two criteria. if the cells in column Z = B11
then I want the average value from column CA (BUT I only want the average of
cells greater than zero.)

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
ellebelle
 
Posts: n/a
Default average with mulitple ciriteria

that worked a treat - thanks!

"bpeltzer" wrote:

You could use sumproduct to add the appropriate cells and to the count the
appropriate cells, then just divide the two:
=sumproduct(--(z1:z5000=b11),--(ca1:ca50000),(ca1:ca5000)) /
sumproduct(--(z1:z5000=b11),--(ca1:ca50000))
--Bruce

"ellebelle" wrote:

I want to get the average with two criteria. if the cells in column Z = B11
then I want the average value from column CA (BUT I only want the average of
cells greater than zero.)

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Hanr3
 
Posts: n/a
Default average with mulitple ciriteria

What do the -- signs within the formula represent, or do?
--
Life is an adventure, are you living it?

These are just my opinions, please feel free to correct them if they are
wrong.


"bpeltzer" wrote:

You could use sumproduct to add the appropriate cells and to the count the
appropriate cells, then just divide the two:
=sumproduct(--(z1:z5000=b11),--(ca1:ca50000),(ca1:ca5000)) /
sumproduct(--(z1:z5000=b11),--(ca1:ca50000))
--Bruce

"ellebelle" wrote:

I want to get the average with two criteria. if the cells in column Z = B11
then I want the average value from column CA (BUT I only want the average of
cells greater than zero.)

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default average with mulitple ciriteria

See http://www.xldynamic.com/source/xld.SUMPRODUCT.html for a detailed
explanation.

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"Hanr3" wrote in message
...
What do the -- signs within the formula represent, or do?
--
Life is an adventure, are you living it?

These are just my opinions, please feel free to correct them if they are
wrong.


"bpeltzer" wrote:

You could use sumproduct to add the appropriate cells and to the count

the
appropriate cells, then just divide the two:
=sumproduct(--(z1:z5000=b11),--(ca1:ca50000),(ca1:ca5000)) /
sumproduct(--(z1:z5000=b11),--(ca1:ca50000))
--Bruce

"ellebelle" wrote:

I want to get the average with two criteria. if the cells in column Z

= B11
then I want the average value from column CA (BUT I only want the

average of
cells greater than zero.)



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
Formula for determing average based on weighting John Sullivan Excel Worksheet Functions 2 December 16th 05 08:21 AM
plotted Average Micayla Bergen Charts and Charting in Excel 4 July 15th 05 12:13 PM
Weighed Average of a weiged average when there are blanks krl - ExcelForums.com Excel Discussion (Misc queries) 1 July 6th 05 07:37 PM
What is this kind of average called? havocdragon Excel Worksheet Functions 3 June 24th 05 05:10 PM
Average the Last Five Cells in a Column Warrior Princess Excel Worksheet Functions 3 March 16th 05 02:12 PM


All times are GMT +1. The time now is 01:34 PM.

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"