Thread: Sumproduct?
View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
NMT NMT is offline
external usenet poster
 
Posts: 6
Default Sumproduct?

Hi,

I belive you cannot use a wild card search with Sumproduct.

Try
=SUMPRODUCT((ISNUMBER(SEARCH("Utility",Start:Finis h)))*(Start_Rep:Finish_Rep=B4)) i.e if you want to ensure it meets the criterion if not

=SUMPRODUCT((ISNUMBER(SEARCH("Utility",Start:Finis h)))--(Start_Rep:Finish_Rep=B4)) if you want only want 1 criteria.

"David Biddulph" wrote:

You've added the two booleans (with the --), rather than allowing SUMPRODUCT
to multiply them.
I guess that instead of
=SUMPRODUCT(--(Start_Rep:Finish_Rep=B4)--(Start:Finish="*Utility - *"))
you may have intended
=SUMPRODUCT(--(Start_Rep:Finish_Rep=B4),--(Start:Finish="*Utility - *")) or
=SUMPRODUCT((Start_Rep:Finish_Rep=B4)*(Start:Finis h="*Utility - *"))
--
David Biddulph

"Looping through" wrote in
message ...
I am tring to count the number of time a specific text appears in a range.
The following formula counts the total number of entries in my range but
is
not seperating the specific text I want. Can anyone help with this?

=SUMPRODUCT(--(Start_Rep:Finish_Rep=B4)--(Start:Finish="*Utility - *"))

Thanks
Peter