Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 64
Default Average If with multiple conditions

I have 5 columns of data and need a a formula that will allow me to calculate
the following:

Average the values of column E for all instances where column A = "P1" and
column B = "Red" and Column D = "20". I.e. the average will only be
calculated for the lines in column E where the above conditions have been met
in the other columns, as mentioned.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 133
Default Average If with multiple conditions

Array formula (validate with Ctrl+Shift+Enter) :
=AVERAGE(IF((A1:A10="p1")*(B1:B10="red")*(D1:D10=2 0)=1,E1:E10))
HTH
Daniel

I have 5 columns of data and need a a formula that will allow me to calculate
the following:

Average the values of column E for all instances where column A = "P1" and
column B = "Red" and Column D = "20". I.e. the average will only be
calculated for the lines in column E where the above conditions have been met
in the other columns, as mentioned.



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 of the last x entries with conditions Gilbert DE CEULAER Excel Worksheet Functions 3 September 28th 08 08:13 PM
Calculating an average with conditions. Rebekah Excel Discussion (Misc queries) 3 September 14th 07 02:31 PM
Average with multiple conditions Dez Excel Worksheet Functions 4 July 11th 07 06:07 PM
AVERAGE with conditions mr_concrete Excel Worksheet Functions 3 February 7th 07 09:23 PM
average on 2 conditions Ted Metro Excel Worksheet Functions 6 January 7th 05 09:23 PM


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