ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Can I use an array function to solve my question??? (https://www.excelbanter.com/excel-worksheet-functions/104332-can-i-use-array-function-solve-my-question.html)

Oshtruck user

Can I use an array function to solve my question???
 
I have a spreadsheet that I am importing external data into. The Data has a
Date in column A some other stuff in columns B,C,and D, a numerical Value in
Column E, and a value or nothing in column F. This is probably a stupid
question but I am not very familiar with array functions. What I want to do
is sum column E for each month in a year, and for each month in a year as
well I would like to count the number of entries in column F. Can this be
done with array functions, and if so can someone give me a hint?

Toppers

Can I use an array function to solve my question???
 
For month of July (7) use:

(1)
=SUMPRODUCT(--(MONTH(A1:A100)=7),--(E1:E100))

(2)
=SUMPRODUCT(--(MONTH(A1:A100)=7),--(F1:F100<""))

HTH

"Oshtruck user" wrote:

I have a spreadsheet that I am importing external data into. The Data has a
Date in column A some other stuff in columns B,C,and D, a numerical Value in
Column E, and a value or nothing in column F. This is probably a stupid
question but I am not very familiar with array functions. What I want to do
is sum column E for each month in a year, and for each month in a year as
well I would like to count the number of entries in column F. Can this be
done with array functions, and if so can someone give me a hint?



All times are GMT +1. The time now is 04:34 PM.

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