Thread: SumProduct?
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
RagDyeR RagDyeR is offline
external usenet poster
 
Posts: 3,572
Default SumProduct?

Try this:

=SUMPRODUCT((H1:H1000="Peter")*(G1:G1000="Paul"))
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

"JimG" wrote in message
...
I want to combine a SumProduct formula with a CountIF.

I want to count all occurences of "Peter" that appear in column H, if
"Paul"
is in the corresponding row in column G. I am using 2007 and have tried
conditional formating but cannot make it work.

Any suggestions?