ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Trying to average col c if col a = "value" and col b = "value2" (https://www.excelbanter.com/excel-worksheet-functions/188672-trying-average-col-c-if-col-%3D-value-col-b-%3D-value2.html)

MBS

Trying to average col c if col a = "value" and col b = "value2"
 
I'm having a hard time sorting the format of the formula out - any assistance
is appreciated.

--
MBS

T. Valko

Trying to average col c if col a = "value" and col b = "value2"
 
Try this array formula** :

E1 = value1
F1 = value2

=AVERAGE(IF((A1:A10=E1)*(B1:B10=F1),C1:C10))

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

--
Biff
Microsoft Excel MVP


"MBS" wrote in message
...
I'm having a hard time sorting the format of the formula out - any
assistance
is appreciated.

--
MBS





All times are GMT +1. The time now is 07:00 AM.

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