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

I am trying to average out numbers in a column if the number in another
column is a certain number.

1 Y 533
2 N 789
1 Y 465
2 N 222
2 Y 122
2 Y 988
1 N 812

I need a formula that only averages the figures is column C if the number in
Column A of the same row is 1. Currently I am using:
=IF(C4:C873=1,AVERAGE(M4:M873))
I get a returned value of false. Please any help is useful.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Conditional Average

Try this array formula** :

=AVERAGE(IF(C4:C873=1,M4:M873))

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)

Biff

"Fupp83" wrote in message
...
I am trying to average out numbers in a column if the number in another
column is a certain number.

1 Y 533
2 N 789
1 Y 465
2 N 222
2 Y 122
2 Y 988
1 N 812

I need a formula that only averages the figures is column C if the number
in
Column A of the same row is 1. Currently I am using:
=IF(C4:C873=1,AVERAGE(M4:M873))
I get a returned value of false. Please any help is useful.



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 [email protected] Excel Worksheet Functions 4 April 3rd 07 11:53 PM
Conditional Average Jason Excel Worksheet Functions 5 August 3rd 06 01:51 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
Conditional Average Kstalker Excel Worksheet Functions 4 August 22nd 05 03:28 AM


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