Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
MEK911
 
Posts: n/a
Default Conditional Average


Hi Everybody,

I am trying to do a conditonal AVERAGE on an excel spreadsheet and am
stuck...What I would like to do is check a one row for a certain value,
and if true, AVERAGE the corresponding values on another coumn.

Is this possible? thanks.

-mek


--
MEK911
------------------------------------------------------------------------
MEK911's Profile: http://www.excelforum.com/member.php...o&userid=27115
View this thread: http://www.excelforum.com/showthread...hreadid=466284

  #2   Report Post  
Richard Buttrey
 
Posts: n/a
Default

On Fri, 9 Sep 2005 10:27:28 -0500, MEK911
wrote:


Hi Everybody,

I am trying to do a conditonal AVERAGE on an excel spreadsheet and am
stuck...What I would like to do is check a one row for a certain value,
and if true, AVERAGE the corresponding values on another coumn.

Is this possible? thanks.

-mek


I'm interpreting this to mean that you have a column containing the
value (in this example the word "Yes") you're interested in, in say
A3:A100, and the numbers you want to average in B3:B100

So in B1 put

=SUMIF(A3:A100,"Yes",B3:B100)/COUNTIF(A3:A100,"Yes")

HTH

__
Richard Buttrey
Grappenhall, Cheshire, UK
__________________________
  #3   Report Post  
Max
 
Posts: n/a
Default

One way ..

Assume you have numbers in A1:A10,
and certain cells marked as "X" within B1:B10

We could put in say, C1, and array-enter the formula
(i.e press CTRL+SHIFT+ENTER):

=AVERAGE(IF(B1:B10="X",A1:A10))

which will evaluate the average of only those numbers in col A
corresponding to the "x" marked in col B
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--
"MEK911" wrote in
message ...

Hi Everybody,

I am trying to do a conditonal AVERAGE on an excel spreadsheet and am
stuck...What I would like to do is check a one row for a certain value,
and if true, AVERAGE the corresponding values on another coumn.

Is this possible? thanks.

-mek


--
MEK911
------------------------------------------------------------------------
MEK911's Profile:

http://www.excelforum.com/member.php...o&userid=27115
View this thread: http://www.excelforum.com/showthread...hreadid=466284



  #4   Report Post  
swatsp0p
 
Posts: n/a
Default


answered in this thread:

http://www.excelforum.com/showthread.php?t=466285

please don't multipost...


--
swatsp0p


------------------------------------------------------------------------
swatsp0p's Profile: http://www.excelforum.com/member.php...o&userid=15101
View this thread: http://www.excelforum.com/showthread...hreadid=466284

  #5   Report Post  
David Billigmeier
 
Posts: n/a
Default

Without knowing your exact cell references I'll just use row 1 for the check
and row 2 as the corresponding numbers to average, in that case:

=AVERAGE(IF(1:1="value to check",2:2,""))

Array formula so enter with Ctrl+Shift+Enter


--
Regards,
Dave


"MEK911" wrote:


Hi Everybody,

I am trying to do a conditonal AVERAGE on an excel spreadsheet and am
stuck...What I would like to do is check a one row for a certain value,
and if true, AVERAGE the corresponding values on another coumn.

Is this possible? thanks.

-mek


--
MEK911
------------------------------------------------------------------------
MEK911's Profile: http://www.excelforum.com/member.php...o&userid=27115
View this thread: http://www.excelforum.com/showthread...hreadid=466284


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 MEK911 Excel Discussion (Misc queries) 4 September 9th 05 05:45 PM
Conditional Average Kstalker Excel Worksheet Functions 4 August 22nd 05 03:28 AM
Conditional average function Andres Excel Worksheet Functions 1 August 9th 05 06:31 PM
What is this kind of average called? havocdragon Excel Worksheet Functions 3 June 24th 05 05:10 PM
Conditional Average Ignoring Blanks Dirk Friedrichs via OfficeKB.com Excel Worksheet Functions 2 May 6th 05 03:49 PM


All times are GMT +1. The time now is 09:44 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"