ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Conditional Averaging - 2 Conditions (https://www.excelbanter.com/excel-discussion-misc-queries/37550-conditional-averaging-2-conditions.html)

pmguerra

Conditional Averaging - 2 Conditions
 

Can anyone help?

I want to average a column of data, based on two criteria, each one in
its column.
Eg.: I want to average column C only if collumn A="Place A" and Collumn
B="Material X".

I've tried ARRAY, IF and AND functions but no result...

HELP!!!

Paulo


--
pmguerra
------------------------------------------------------------------------
pmguerra's Profile: http://www.excelforum.com/member.php...o&userid=14986
View this thread: http://www.excelforum.com/showthread...hreadid=390995


JE McGimpsey

One way (array entered):

=AVERAGE(IF((A1:A1000="Place A")*(B1:B1000="Material X"),C1:C1000))



In article ,
pmguerra
wrote:

Can anyone help?

I want to average a column of data, based on two criteria, each one in
its column.
Eg.: I want to average column C only if collumn A="Place A" and Collumn
B="Material X".

I've tried ARRAY, IF and AND functions but no result...

HELP!!!

Paulo



All times are GMT +1. The time now is 02:32 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com