Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / April 2007

Tip: Looking for answers? Try searching our database.

Help with complex SUMPRODUCT formula

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
David Lipetz - 23 Apr 2007 16:39 GMT
Hi,

Getting this SUMPRODUCT forumula to work has me stumped.

For range: $E$3:$E$352 is not blank
For range: $S$3:$S$352 is equal to or greater than $P$3:$P$352 *2 (cells
where P is => 2x S)
SUM Range:$S$3:$S$352

I've come up with this formula, but clearly it does not work:
=SUMPRODUCT(--($E$3:$E$352<>0),(($S$3:$S$352>=($P$3:$P$352*2))),($S$3:$S$352))

Additionally, I need a derivation of this forumula which will count (rather
than sum) the number of cells in S which meet the first two criteria.

I tried this, but it does not work:
=SUMPRODUCT(--($E$3:$E$352<>0),--(($S$3:$S$352>=($P$3:$P$352*2))))

Appreciate any guidance that can be provided.

Thanks,
David
David Lipetz - 23 Apr 2007 17:01 GMT
Never mind. My formula's did work. Seems like my audit was flawed and the
formula was correct.

> Hi,
>
[quoted text clipped - 19 lines]
> Thanks,
> David
Pete_UK - 23 Apr 2007 17:08 GMT
Try this to count them:

=SUMPRODUCT(($E$3:$E$352<>0)*($S$3:$S$352>=$P$3:$P$352*2))

and this to sum them:

=SUMPRODUCT(($E$3:$E$352<>0)*($S$3:$S$352>=$P$3:$P$352*2)*($S$3:$S$35­
2))

Hope this helps.

Pete

> Hi,
>
[quoted text clipped - 18 lines]
> Thanks,
> David
David Lipetz - 23 Apr 2007 17:32 GMT
Thanks Pete! Your response helped me clean up and correct my formulas.

Really appreciate the fast response.

Thanks,
David

Try this to count them:

=SUMPRODUCT(($E$3:$E$352<>0)*($S$3:$S$352>=$P$3:$P$352*2))

and this to sum them:

=SUMPRODUCT(($E$3:$E$352<>0)*($S$3:$S$352>=$P$3:$P$352*2)*($S$3:$S$35­
2))

Hope this helps.

Pete

On Apr 23, 4:39 pm, "David Lipetz" <dlip...@hotmail.com> wrote:
> Hi,
>
[quoted text clipped - 19 lines]
> Thanks,
> David
Pete_UK - 23 Apr 2007 17:40 GMT
Thanks for feeding back - I just happened to be browsing when your
post came in.

Pete

> Thanks Pete! Your response helped me clean up and correct my formulas.
>
[quoted text clipped - 43 lines]
>
> - Show quoted text -

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.