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 / January 2008

Tip: Looking for answers? Try searching our database.

Sumproduct with 2 criteria.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Amber - 23 Jan 2008 17:37 GMT
Good Morning,

I have an expression =SUMPRODUCT((MONTH('Raw Data 2008'!A2:A1528)=1)*('Raw
Data 2008'!B2:B1528<>"XIAPPLXRP110")) in which I would like to add another
criteria.

I would like to say not "XIAPPLXRP110" or "New Website"

I have never learned the way to say "or" in a formula.

Thanks, AP
Bernard Liengme - 23 Jan 2008 17:50 GMT
=SUMPRODUCT((MONTH('Raw Data 2008'!A2:A1528)=1)*('Raw Data
2008'!B2:B1528<>"XIAPPLXRP110")*('Raw Data 2008'!B2:B1528<>"New Website"))
best wishes
Signature

Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

> Good Morning,
>
[quoted text clipped - 7 lines]
>
> Thanks, AP
Amber - 23 Jan 2008 17:59 GMT
Can I use the same information for a COUNTIF Statement?

=COUNTIF('Raw Data 2008'!B2:B64778,"<>XIAPPLXRP110")

=COUNTIF('Raw Data 2008'!B2:B64778,("<>XIAPPLXRP110"+"<>NEW WEBSITE))

Or is this even possible with a COUNTIF statement?

> =SUMPRODUCT((MONTH('Raw Data 2008'!A2:A1528)=1)*('Raw Data
> 2008'!B2:B1528<>"XIAPPLXRP110")*('Raw Data 2008'!B2:B1528<>"New Website"))
[quoted text clipped - 10 lines]
> >
> > Thanks, AP
Bernard Liengme - 23 Jan 2008 22:44 GMT
No, COUNTIF take only one criteria (XL2007 has SUMIFS and COUNTIFS for more
than one condition)
SUMPRODUCT can do all that COUNTIF can and more in XL2003
best wishes
Signature

Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

> Can I use the same information for a COUNTIF Statement?
>
[quoted text clipped - 21 lines]
>> >
>> > Thanks, AP
PCLIVE - 23 Jan 2008 17:51 GMT
You don't need to use OR.

=SUMPRODUCT(--(MONTH('Raw Data 2008'!A2:A1528)=1),--('Raw Data
2008'!B2:B1528<>"XIAPPLXRP110"),--('Raw Data 2008'!B2:B1528<>"New Website"))

HTH,
Paul

> Good Morning,
>
[quoted text clipped - 7 lines]
>
> Thanks, AP
 
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.