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 / Worksheet Functions / November 2006

Tip: Looking for answers? Try searching our database.

How to make a nested SUMIF possible

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
paul - 07 Nov 2006 17:34 GMT
I am trying to sum a column ("S") based on fulfilling 2 criteria in 2
other columns (C = A1 AND O = 1, 2, 3...12).  I want to do this in a
formula rather than a DSUM since my criteria changes in 2 different
ways; Column C follows a cell reference, and Column O follows months 1
-> 12.

Suggestions?
Don Guillett - 07 Nov 2006 17:42 GMT
maybe
=sumproduct((c2:c22=a1)*(o2:o22>0)*(o2:o22<=12)*s2:s22)

Signature

Don Guillett
SalesAid Software
dguillett1@austin.rr.com

>I am trying to sum a column ("S") based on fulfilling 2 criteria in 2
> other columns (C = A1 AND O = 1, 2, 3...12).  I want to do this in a
[quoted text clipped - 3 lines]
>
> Suggestions?
paul - 07 Nov 2006 18:07 GMT
Thanks... I tried sumproduct and received the #num error or wacko
results with SUM(IF(...

=SUMPRODUCT((JDE=A24)*(Month=4)*USD)

JDE = Column C
Month = Column O
USD = summing all $$$
Month = discreet value to be changed by cell.

> maybe
> =sumproduct((c2:c22=a1)*(o2:o22>0)*(o2:o22<=12)*s2:s22)
[quoted text clipped - 10 lines]
> >
> > Suggestions?
Bob Phillips - 07 Nov 2006 18:35 GMT
Note that SUMPRODUCT doesn't work with complete columns, you have to specify
a range.

Signature

HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

> Thanks... I tried sumproduct and received the #num error or wacko
> results with SUM(IF(...
[quoted text clipped - 20 lines]
> > >
> > > Suggestions?
paul - 07 Nov 2006 18:28 GMT
Thanks!!!!!!!!!!!!!!

I guess it did not like my "NAMED" ranges...  It worked when I used the
actual cell references.

=SUMPRODUCT(('Raw Data'!$C$2:$C$6270=$A2)*('Raw
Data'!$O$2:$O$6270=1)*'Raw Data'!$S$2:$S$6270)

> maybe
> =sumproduct((c2:c22=a1)*(o2:o22>0)*(o2:o22<=12)*s2:s22)
[quoted text clipped - 10 lines]
> >
> > Suggestions?
paul - 07 Nov 2006 18:29 GMT
Thanks!!!!!!!!!!!!!!

I guess it did not like my "NAMED" ranges...  It worked when I used the
actual cell references.

=SUMPRODUCT(('Raw Data'!$C$2:$C$6270=$A2)*('Raw
Data'!$O$2:$O$6270=1)*'Raw Data'!$S$2:$S$6270)

> maybe
> =sumproduct((c2:c22=a1)*(o2:o22>0)*(o2:o22<=12)*s2:s22)
[quoted text clipped - 10 lines]
> >
> > Suggestions?
 
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.