ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Conditional Average Ignoring Blanks (https://www.excelbanter.com/excel-worksheet-functions/25155-conditional-average-ignoring-blanks.html)

Dirk Friedrichs via OfficeKB.com

Conditional Average Ignoring Blanks
 
Help, I'm stumped!

I need a formula solution to do the following:

Average the currency total in column Y, only if column F = "smith", and
ignore any/all blank cells in column Y.

Any help would be greatly appreciated!!

Dirk

Peo Sjoblom

=AVERAGE(IF((F2:F200="F")*(Y2:Y200<""),Y2:Y200))

entered with ctrl + shift & enter

--
Regards,

Peo Sjoblom


"Dirk Friedrichs via OfficeKB.com" wrote in
message ...
Help, I'm stumped!

I need a formula solution to do the following:

Average the currency total in column Y, only if column F = "smith", and
ignore any/all blank cells in column Y.

Any help would be greatly appreciated!!

Dirk



Dirk Friedrichs via OfficeKB.com

Brilliant! Thanks so much for your help - works perfectly!


All times are GMT +1. The time now is 06:44 PM.

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