Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 25
Default SUM Functions with multiple criteria

I have been using the following formula for adding certain cells based on two
criteria:

=SUMPRODUCT(--($H$3:$H$1352="PRODUCT
TYPE"),--($J$3:$J$1352="NEW"),($Q$3:$Q$1352))

This has functioned fine, however, now I need to add another criteria - ex -
I need to include ($F$3:$F$1352="AP") to the formula as an additional
criteria to filter before adding Q3:Q1352. When I try to add this to the
formula above, I get #REF!. Any suggestions on how to properly format the
above formula to include the additional criteria would be greatly
appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 347
Default SUM Functions with multiple criteria

Hi,

Just can't think of any reason why the formula would return #REF.

Try this:

=SUMPRODUCT(($H$3:$H$1352="PRODUCT
TYPE")*($J$3:$J$1352="NEW")*($F$3:$F$1352="AP"),$Q $3:$Q$1352)

or

=SUMPRODUCT(--($H$3:$H$1352="PRODUCT
TYPE"),--($J$3:$J$1352="NEW"),--($F$3:$F$1352="AP"),$Q$3:$Q$1352)

HTH
Jean-Guy

"readystate" wrote:

I have been using the following formula for adding certain cells based on two
criteria:

=SUMPRODUCT(--($H$3:$H$1352="PRODUCT
TYPE"),--($J$3:$J$1352="NEW"),(`)

This has functioned fine, however, now I need to add another criteria - ex -
I need to include ($F$3:$F$1352="AP") to the formula as an additional
criteria to filter before adding Q3:Q1352. When I try to add this to the
formula above, I get #REF!. Any suggestions on how to properly format the
above formula to include the additional criteria would be greatly
appreciated.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 25
Default SUM Functions with multiple criteria

Both suggestions worked great. Thanks for the help!!!

Have a great holiday.

"pinmaster" wrote:

Hi,

Just can't think of any reason why the formula would return #REF.

Try this:

=SUMPRODUCT(($H$3:$H$1352="PRODUCT
TYPE")*($J$3:$J$1352="NEW")*($F$3:$F$1352="AP"),$Q $3:$Q$1352)

or

=SUMPRODUCT(--($H$3:$H$1352="PRODUCT
TYPE"),--($J$3:$J$1352="NEW"),--($F$3:$F$1352="AP"),$Q$3:$Q$1352)

HTH
Jean-Guy

"readystate" wrote:

I have been using the following formula for adding certain cells based on two
criteria:

=SUMPRODUCT(--($H$3:$H$1352="PRODUCT
TYPE"),--($J$3:$J$1352="NEW"),(`)

This has functioned fine, however, now I need to add another criteria - ex -
I need to include ($F$3:$F$1352="AP") to the formula as an additional
criteria to filter before adding Q3:Q1352. When I try to add this to the
formula above, I get #REF!. Any suggestions on how to properly format the
above formula to include the additional criteria would be greatly
appreciated.

Reply
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
match multiple criteria ina range from multiple criteria multiplet RG Excel Worksheet Functions 8 September 28th 07 04:21 AM
Index & Match functions - multiple criteria and multiple results [email protected] Excel Worksheet Functions 4 May 2nd 07 03:13 AM
How do you create COUNTIF functions based on multiple criteria? MsBeverlee Excel Worksheet Functions 8 February 19th 07 10:25 PM
Counting Cells with multiple criteria.One criteria supporting wild Azhar Saleem Excel Worksheet Functions 1 January 12th 05 10:54 AM
Counting Cells with multiple criteria.One criteria supporting wild Azhar Arain Excel Worksheet Functions 1 January 12th 05 08:33 AM


All times are GMT +1. The time now is 09:48 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"