Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 41
Default SUMPRODUCT/COUNTIF???

So here is my situation:

A B C
Pilot Machine FY2009-Q4
Proto CEM FY2010-Q1
Pilot Commercial FY2010-Q2
Proto Machine FY2010-Q3

I'm having problem counting with multiple criteria. I want to add up all
the rows that meet certain criteria. So if the data meets the criteria of
pilot, machine, and FY2009-Q4, I would like it to count all those rows that
meet that criteria to report on how many are happening in fourth quarter of
2009.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 136
Default SUMPRODUCT/COUNTIF???

=SUMPRODUCT(--(A2:A100="Pilot"),--(B2:B100="Machine"),--(C2:C100="FY2009-Q4"))


Change ranges to fit your data

If you have multiple criteria to check then I would use cell references
instead of the hard coded criteria like


=SUMPRODUCT(--(A2:A100=D2),--(B2:B100=E2),--(C2:C100=F2))


as an example, the type the criteria in those cells. That way you don't have
to change the original formula only the criteria cells contents

--


Regards,


Peo Sjoblom


"dwake" wrote in message
...
So here is my situation:

A B C
Pilot Machine FY2009-Q4
Proto CEM FY2010-Q1
Pilot Commercial FY2010-Q2
Proto Machine FY2010-Q3

I'm having problem counting with multiple criteria. I want to add up all
the rows that meet certain criteria. So if the data meets the criteria of
pilot, machine, and FY2009-Q4, I would like it to count all those rows
that
meet that criteria to report on how many are happening in fourth quarter
of
2009.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default SUMPRODUCT/COUNTIF???

=SUMPRODUCT(--(A2:A5="Pilot"),--(B2:B5="Machine"),--(C2:C5="FY2009-Q4"))
--
David Biddulph

"dwake" wrote in message
...
So here is my situation:

A B C
Pilot Machine FY2009-Q4
Proto CEM FY2010-Q1
Pilot Commercial FY2010-Q2
Proto Machine FY2010-Q3

I'm having problem counting with multiple criteria. I want to add up all
the rows that meet certain criteria. So if the data meets the criteria of
pilot, machine, and FY2009-Q4, I would like it to count all those rows
that
meet that criteria to report on how many are happening in fourth quarter
of
2009.



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default SUMPRODUCT/COUNTIF???

Hi,
try

=SUMPRODUCT(($A$1:$A$4="Pilot Machine")*($B$1:$B$4="FY2009")*($C$1:$C$4="Q4"))

if this helps please click yes thanks

"dwake" wrote:

So here is my situation:

A B C
Pilot Machine FY2009-Q4
Proto CEM FY2010-Q1
Pilot Commercial FY2010-Q2
Proto Machine FY2010-Q3

I'm having problem counting with multiple criteria. I want to add up all
the rows that meet certain criteria. So if the data meets the criteria of
pilot, machine, and FY2009-Q4, I would like it to count all those rows that
meet that criteria to report on how many are happening in fourth quarter of
2009.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 41
Default SUMPRODUCT/COUNTIF???

The formula result is returning zero and not counting the rows of data?

"Peo Sjoblom" wrote:

=SUMPRODUCT(--(A2:A100="Pilot"),--(B2:B100="Machine"),--(C2:C100="FY2009-Q4"))


Change ranges to fit your data

If you have multiple criteria to check then I would use cell references
instead of the hard coded criteria like


=SUMPRODUCT(--(A2:A100=D2),--(B2:B100=E2),--(C2:C100=F2))


as an example, the type the criteria in those cells. That way you don't have
to change the original formula only the criteria cells contents

--


Regards,


Peo Sjoblom


"dwake" wrote in message
...
So here is my situation:

A B C
Pilot Machine FY2009-Q4
Proto CEM FY2010-Q1
Pilot Commercial FY2010-Q2
Proto Machine FY2010-Q3

I'm having problem counting with multiple criteria. I want to add up all
the rows that meet certain criteria. So if the data meets the criteria of
pilot, machine, and FY2009-Q4, I would like it to count all those rows
that
meet that criteria to report on how many are happening in fourth quarter
of
2009.



.



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default SUMPRODUCT/COUNTIF???

Check that you haven't got spaces, non-breaking spaces, or other
non-printing characters in any of your cells.

If row2 is a row that should be counted, check that =LEN(A2) gives 5,
=LEN(B2) gives 7, and =LEN(C2) gives 9.
If you are using Peo's 2nd formula, similarly check that =LEN(D2), =LEN(E2),
and =LEN(F2) return 5, 7, and 9 respectively.

You can also check the criteria from Peo's 2nd formula individually and see
whether =A2=D2, =B2=E2, and =C2=F2 all return TRUE.
--
David Biddulph

"dwake" wrote in message
...
The formula result is returning zero and not counting the rows of data?

"Peo Sjoblom" wrote:

=SUMPRODUCT(--(A2:A100="Pilot"),--(B2:B100="Machine"),--(C2:C100="FY2009-Q4"))


Change ranges to fit your data

If you have multiple criteria to check then I would use cell references
instead of the hard coded criteria like


=SUMPRODUCT(--(A2:A100=D2),--(B2:B100=E2),--(C2:C100=F2))


as an example, the type the criteria in those cells. That way you don't
have
to change the original formula only the criteria cells contents

--


Regards,


Peo Sjoblom


"dwake" wrote in message
...
So here is my situation:

A B C
Pilot Machine FY2009-Q4
Proto CEM FY2010-Q1
Pilot Commercial FY2010-Q2
Proto Machine FY2010-Q3

I'm having problem counting with multiple criteria. I want to add up
all
the rows that meet certain criteria. So if the data meets the criteria
of
pilot, machine, and FY2009-Q4, I would like it to count all those rows
that
meet that criteria to report on how many are happening in fourth
quarter
of
2009.



.



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
SUMPRODUCT OR COUNTIF chrisk Excel Worksheet Functions 6 February 3rd 09 03:29 PM
COUNTIF/SUMPRODUCT?? Peta Excel Worksheet Functions 2 January 31st 09 08:08 PM
Sumproduct,Countif, I don't Know!!!!! Cobbcouk Excel Worksheet Functions 4 July 27th 06 07:51 PM
sumproduct vs. countif Coal Miner Excel Discussion (Misc queries) 1 June 15th 06 09:34 PM
SumProduct or CountIf Kim Excel Worksheet Functions 7 July 9th 05 12:04 AM


All times are GMT +1. The time now is 04:14 AM.

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

About Us

"It's about Microsoft Excel"