Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Sumproduct with blanks and the numeric 0

You're welcome!

--
Biff
Microsoft Excel MVP


"taurus99" wrote in message
...
awesome, thank you once again!!!!!!!

"T. Valko" wrote:

=SUMPRODUCT((E16:E4500<43%)*(F16:F4500=0))


A couple of things you can do...

Add a test for cell is not blank:

=SUMPRODUCT((E16:E4500<"")*(E16:E4500<43%)*(F16:F 4500<"")*(F16:F4500=0))

In my real spreadsheet rows 3417 through 4500 are blank


Or, use dynamic ranges:

http://contextures.com/xlNames01.html#Dynamic


--
Biff
Microsoft Excel MVP


"taurus99" wrote in message
...
In this spreadsheet, I am trying to figure out ...

how many rows labeled zero are less than 43%.
How many rows labeled one are less than 43%.
How many rows labeled two are less than 43% etc ....

the formula works for all numbers except zero. It wants to count blank
rows
as zero and adding them to my total. How do I get this formula to
recognize
the zero for a zero and blank for a blank?

=SUMPRODUCT((E16:E4500<43%)*(F16:F4500=0))

(In my real spreadsheet rows 3417 through 4500 are blank)

Sample:

A B C D E F G
1 45% 0
2 68% 1
3 22% 0
4 19% 2
5 14% 2
6 47% 0
7 86% 1
8 -2% 0
9 62% 1
10
11
12






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Counting non blanks with SUMPRODUCT? Mifty Excel Discussion (Misc queries) 4 February 7th 08 01:00 PM
Blanks treated as zeroes in a numeric field Bob Aloisi Excel Discussion (Misc queries) 11 October 25th 07 07:13 PM
Sumproduct copying blanks or how to insert zero into blanks asg2307 Excel Worksheet Functions 4 April 4th 07 07:26 PM
Sumproduct - Blanks wal50 Excel Worksheet Functions 7 April 28th 06 04:49 PM
sumproduct of part cells of a range with blanks excelFan Excel Discussion (Misc queries) 4 February 25th 05 10:37 PM


All times are GMT +1. The time now is 10:26 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"