ExcelBanter

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

jxbeeman

sumproduct issues
 
I've been trying to find out why my sumproduct function isn't working! The
issue is that it is counting the cells that are blank as well as the ones
that contain values. for example

=SUMPRODUCT(--(CW7:CW500)) returns 44 where it should return 0
cells 7-- 50 are blank and have no values
formated as a number and pasted values as well.

Any ideas??
Thanks, Josh


PCLIVE

sumproduct issues
 
Maybe cells CW7:CW50 only appear blank. There could be a space in the cell.
If the values will truly be numbers, then you might try:

=SUMPRODUCT(--(CW7:CW500),--ISNUMBER(CW7:CW50))

HTH,
Paul

--

"jxbeeman" wrote in message
...
I've been trying to find out why my sumproduct function isn't working!
The
issue is that it is counting the cells that are blank as well as the ones
that contain values. for example

=SUMPRODUCT(--(CW7:CW500)) returns 44 where it should return 0
cells 7-- 50 are blank and have no values
formated as a number and pasted values as well.

Any ideas??
Thanks, Josh





All times are GMT +1. The time now is 09:05 AM.

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