LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
Ken Ken is offline
external usenet poster
 
Posts: 207
Default Sumproduct not counting if the formula result is zero

It seems like it should work. Have you assured that the the dates are
in fact equal? They could look to be the same, but, maybe the format
is masking some minor differences. The way I troubleshoot this kind
of issue is to temporarily change the range to which the formula
refers to be a more managable number of rows (like about 5); then,
successively calculate the various arguments in the formula (highlight
on the formula bar, making sure the parentheses match, then hit F9).
When you see which rows are returning false or zero when you believe
they should be true (or 1), then you need to go to your source data
and figure out why it is not as you expected. Possibly differences
are masked by formatting, possibly columns are text by look like
values.

Good luck.

Ken



On Feb 18, 4:40*pm, JGGL wrote:
Hello All

I hope you can help me with this:
1. I have 2 dates in different columns and I'm couting the days
between them e.g: b2-a2 = 0 (when both dates are the same)
2. I'm using sumproduct to count the instances when the result of the
formula above is less than 0 days.
And the issue that I'm faceing is when the actual result of the 1st
formula is zero, the sumproduct formula is not couting those zeros
Could you please gelp me with that?

This is the actual sumproduct formula that I put together
=IF($W33="","",SUMPRODUCT(--('QMR Table'!$F$2:$F$1988=$W33)*('QMR
Table'!$BV$2:$BV$1988=$W32),--('QMR Table'!$CX$2:$CX$1988<=$AE29),--
('QMR Table'!$CX$2:$CX$1988<"")))

the section that I'm concern is the columns of CX


 
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
Getting #NUM! result for SumProduct Sarah (OGI) Excel Worksheet Functions 10 August 8th 07 01:43 PM
Advanced formula - Return result & Show Cell Reference of result Irv Excel Worksheet Functions 7 May 6th 06 03:36 AM
do I need array formula or sumproduct for counting? Karin Excel Worksheet Functions 3 March 30th 06 05:50 PM
=SUMPRODUCT formula is counting the blank cells as well as zero's JR Excel Worksheet Functions 2 March 16th 06 03:39 PM
=SUMPRODUCT formula is counting the blank cells as well as zero's JR Excel Worksheet Functions 1 March 16th 06 02:46 PM


All times are GMT +1. The time now is 05:45 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"