#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default sumif

I'd like to use a 'sumif' type cell statement, but it
needs to be based upon 2 critera, rather than 1. For
example:
column A represents the 'manufacturing month' and column B
represents the 'item' type such as "widgets" or "cogs", so
if in in a given range A1:A50 of month's, I want to count
the number of times "widgets" were manfg'd in June.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 45
Default sumif

You can use SUMPRODUCT here

=SUMPRODUCT((A1:A100="cogs")*(MONTH(B1:B100)=6))


On Tue, 28 Oct 2003 09:43:02 -0800, "RickK" wrote:

I'd like to use a 'sumif' type cell statement, but it
needs to be based upon 2 critera, rather than 1. For
example:
column A represents the 'manufacturing month' and column B
represents the 'item' type such as "widgets" or "cogs", so
if in in a given range A1:A50 of month's, I want to count
the number of times "widgets" were manfg'd in June.


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
sumif for multi conditions. i.e sumif(A1:A10,"Jon" and B1:B10,"A" Harry Seymour Excel Worksheet Functions 9 June 12th 07 10:47 PM
sumif Harley Excel Discussion (Misc queries) 1 January 6th 07 02:19 AM
Embedding a Sumif in a sumif C.Pflugrath Excel Worksheet Functions 5 August 31st 05 07:31 PM
nested sumif or sumif with two criteria dshigley Excel Worksheet Functions 5 April 5th 05 03:34 AM
SUMIF - Range name to used for the "sum_range" portion of a SUMIF function Oscar Excel Worksheet Functions 2 January 11th 05 11:01 PM


All times are GMT +1. The time now is 09:34 PM.

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"