ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Averaging again (https://www.excelbanter.com/excel-worksheet-functions/8449-averaging-again.html)

Reggie

Averaging again
 
Hello again,

Now, I'm trying to average a range of values but only if
data in another column meets certain criteria.

If A1:a100="girl" then I want the average of those "girl"
associated values in another column.

Thanks again,

I'm hopelessly lost,

Reg

Frank Kabel

Hi
try the array formula (entered with CTRL+SHIFT+ENTER):
=AVERAGE(IF(A1:A100="girl",B1:B100))

--
Regards
Frank Kabel
Frankfurt, Germany
"Reggie" schrieb im Newsbeitrag
...
Hello again,

Now, I'm trying to average a range of values but only if
data in another column meets certain criteria.

If A1:a100="girl" then I want the average of those "girl"
associated values in another column.

Thanks again,

I'm hopelessly lost,

Reg




Reggie

Frank, You are THE MAN!

Thanks as always for pulling my butt out of the fire again!

Vielen Danke,

Reg
-----Original Message-----
Hi
try the array formula (entered with CTRL+SHIFT+ENTER):
=AVERAGE(IF(A1:A100="girl",B1:B100))

--
Regards
Frank Kabel
Frankfurt, Germany
"Reggie" schrieb im

Newsbeitrag
...
Hello again,

Now, I'm trying to average a range of values but only if
data in another column meets certain criteria.

If A1:a100="girl" then I want the average of

those "girl"
associated values in another column.

Thanks again,

I'm hopelessly lost,

Reg



.


Frank Kabel

Hi
thanks for your feedback :-))

--
Regards
Frank Kabel
Frankfurt, Germany
"Reggie" schrieb im Newsbeitrag
...
Frank, You are THE MAN!

Thanks as always for pulling my butt out of the fire again!

Vielen Danke,

Reg
-----Original Message-----
Hi
try the array formula (entered with CTRL+SHIFT+ENTER):
=AVERAGE(IF(A1:A100="girl",B1:B100))

--
Regards
Frank Kabel
Frankfurt, Germany
"Reggie" schrieb im

Newsbeitrag
...
Hello again,

Now, I'm trying to average a range of values but only if
data in another column meets certain criteria.

If A1:a100="girl" then I want the average of

those "girl"
associated values in another column.

Thanks again,

I'm hopelessly lost,

Reg



.





All times are GMT +1. The time now is 03:17 AM.

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