Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default Conditional Column Average

I want to average a column where the values of a different column is within
a certain range. How do I set this up? Thanks.

Mike D.


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Conditional Column Average

An example, in say C2, with formula array-entered**:

=AVERAGE(IF((A2:A10=2)*(A2:A10<=10),B2:B10))

returns the average of col B values
where col A values are between 2 and 10, inclusive

**Press CTRL+SHIFT+ENTER to confirm the formula

Adapt the ranges to suit. Ranges must be identically sized.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Mike Dobony" wrote in message
...
I want to average a column where the values of a different column is within
a certain range. How do I set this up? Thanks.

Mike D.



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
Conditional Average Excel_Learner Excel Discussion (Misc queries) 8 July 17th 07 11:47 AM
Conditional Average Jason Excel Worksheet Functions 5 August 3rd 06 01:51 PM
calculate average in a column based on criteria in another column sharon t Excel Discussion (Misc queries) 2 May 12th 06 06:07 PM
Conditional Average MEK911 Excel Discussion (Misc queries) 4 September 9th 05 05:45 PM
Conditional Average MEK911 Excel Worksheet Functions 4 September 9th 05 05:23 PM


All times are GMT +1. The time now is 06:40 AM.

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

About Us

"It's about Microsoft Excel"