Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 20
Default Calculating an average with conditions.

I have two columns of data, one of which I need to calculate an average of
but only if the data in the 2nd column is of a certain value.
I can't work out how to do this...
For instance, I need to calculate the average number of calls taken within
week 37.
My columns look similar to:
No. of calls Week no.
10 37
8 38
4 37 etc
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default Calculating an average with conditions.

This is an array formula that must be entered using ctrl+shift+enter at the
same time.

=AVERAGE(IF(M1:M3=37,L1:L3))
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Rebekah" wrote in message
...
I have two columns of data, one of which I need to calculate an average of
but only if the data in the 2nd column is of a certain value.
I can't work out how to do this...
For instance, I need to calculate the average number of calls taken within
week 37.
My columns look similar to:
No. of calls Week no.
10 37
8 38
4 37 etc


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 20
Default Calculating an average with conditions.

This is returning #DIV/0!

Is this because the "No. of calls" column is also subject to a formula?



"Don Guillett" wrote:

This is an array formula that must be entered using ctrl+shift+enter at the
same time.

=AVERAGE(IF(M1:M3=37,L1:L3))
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Rebekah" wrote in message
...
I have two columns of data, one of which I need to calculate an average of
but only if the data in the 2nd column is of a certain value.
I can't work out how to do this...
For instance, I need to calculate the average number of calls taken within
week 37.
My columns look similar to:
No. of calls Week no.
10 37
8 38
4 37 etc



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
AVERAGE with conditions mr_concrete Excel Worksheet Functions 3 February 7th 07 08:23 PM
Using AVERAGE with conditions in different worksheets? mommy2kh Excel Worksheet Functions 1 July 16th 06 11:16 PM
Calculating the sum with multiple conditions Curtis Excel Worksheet Functions 4 July 16th 05 02:30 AM
calculating SUM with two conditions Alex Excel Worksheet Functions 1 March 24th 05 08:31 PM
average on 2 conditions Ted Metro Excel Worksheet Functions 6 January 7th 05 08:23 PM


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