ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   sumproduct (https://www.excelbanter.com/excel-worksheet-functions/108753-sumproduct.html)

Dewayne

sumproduct
 
I have the following formula in place to count the number of incidences by
the month.

=SUMPRODUCT(1*(MONTH($E$8:$E$75)=1))

The formula works for all of the months except January when it counts the
blank cells as a January incidence.
Any help in adjusting the formula so it does not count blank cells for
January would be appreciated.
Thank you,
--
Dewayne

Don Guillett

sumproduct
 
try
=SUMPRODUCT((MONTH($E$8:$E$75)=1)*($e$8:$e$75<"")

--
Don Guillett
SalesAid Software

"Dewayne" wrote in message
...
I have the following formula in place to count the number of incidences by
the month.

=SUMPRODUCT(1*(MONTH($E$8:$E$75)=1))

The formula works for all of the months except January when it counts the
blank cells as a January incidence.
Any help in adjusting the formula so it does not count blank cells for
January would be appreciated.
Thank you,
--
Dewayne




Bob Phillips

sumproduct
 
=SUMPRODUCT(--(ISNUMBER($E$8:$E$75),--(MONTH($E$8:$E$75)=1))


--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Dewayne" wrote in message
...
I have the following formula in place to count the number of incidences by
the month.

=SUMPRODUCT(1*(MONTH($E$8:$E$75)=1))

The formula works for all of the months except January when it counts the
blank cells as a January incidence.
Any help in adjusting the formula so it does not count blank cells for
January would be appreciated.
Thank you,
--
Dewayne




Dewayne

sumproduct
 
Thanks Don. Works great!
--
Dewayne


"Don Guillett" wrote:

try
=SUMPRODUCT((MONTH($E$8:$E$75)=1)*($e$8:$e$75<"")

--
Don Guillett
SalesAid Software

"Dewayne" wrote in message
...
I have the following formula in place to count the number of incidences by
the month.

=SUMPRODUCT(1*(MONTH($E$8:$E$75)=1))

The formula works for all of the months except January when it counts the
blank cells as a January incidence.
Any help in adjusting the formula so it does not count blank cells for
January would be appreciated.
Thank you,
--
Dewayne






All times are GMT +1. The time now is 07:14 PM.

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