Hello
I am facing a prob with Sumproduct as it's including the blank cells in the calculation .
N.B
the blank cell in including if statement.
thank you in advance
Kindly find the attachement
Hello
I am facing a prob with Sumproduct as it's including the blank cells in the calculation .
N.B
the blank cell in including if statement.
thank you in advance
Kindly find the attachement
Last edited by ahmedmido; 11-16-2010 at 03:14 PM.
Try this:
=SUMPRODUCT(($A$1:$A$5>=I6)*($A$1:$A$5<=I10)*($B$1:$B$5>1)*($B$1:$B$5<>""))
Regards
Trevor Shuttleworth - Retired Excel/VBA Consultant
I dream of a better world where chickens can cross the road without having their motives questioned
'Being unapologetic means never having to say you're sorry' John Cooper Clarke
If you're only interested in numbers:
-- replace the >1 test with an ISNUMBER test.
If you need to test that the value is both numeric and >1 (ie <1 numbers are to be excluded)
-- keep the >1 test and add as ISNUMBER test
Alternatively given use of XL2007 avoid SUMPRODUCT altogether:
Please Login or Register to view this content.
My Recommended Reading:
Volatility
Sumproduct & Arrays
Pivot Intro
Email from XL - VBA & Outlook VBA
Function Dictionary & Function Translations
Dynamic Named Ranges
Both formulas are working successfully :-)
I really appreciate your usual support
Many Many thanks
Best Regards
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks