PC Review


Reply
Thread Tools Rate Thread

Counting cells that "contain" a text string

 
 
=?Utf-8?B?RGF2ZQ==?=
Guest
Posts: n/a
 
      5th Sep 2007
How can I make this formula count both "Dev" AND "Dev/RFC" in a column range?
I can't seem to get the wildcard variations (~, &, *) to work with this!

=SUMPRODUCT(('2007'!$I$2:$I$300="Quality")*('2007'!$E$2:$E$300="Improvement")*('2007'!$D2:$D$300="Dev"))

Thanks, Dave
--
DSM
 
Reply With Quote
 
 
 
 
Ron Coderre
Guest
Posts: n/a
 
      5th Sep 2007
Perhaps this?

=SUMPRODUCT(('2007'!$I$2:$I$300="Quality")*('2007'!$E$2:$E$300="Improvement")*(('2007'!$D2:$D$300="Dev")+('2007'!$D2:$D$300="Dev/RFC")))
or...
=SUMPRODUCT(('2007'!$I$2:$I$300="Quality")*('2007'!$E$2:$E$300="Improvement")*(('2007'!$D2:$D$300={"Dev","Dev/RFC"})))

Does that help?
--------------------------

Regards,

Ron
Microsoft MVP (Excel)


"Dave" <(E-Mail Removed)> wrote in message
news:93C8BD93-BBFF-4E25-9A0C-(E-Mail Removed)...
> How can I make this formula count both "Dev" AND "Dev/RFC" in a column
> range?
> I can't seem to get the wildcard variations (~, &, *) to work with this!
>
> =SUMPRODUCT(('2007'!$I$2:$I$300="Quality")*('2007'!$E$2:$E$300="Improvement")*('2007'!$D2:$D$300="Dev"))
>
> Thanks, Dave
> --
> DSM



 
Reply With Quote
 
=?Utf-8?B?RGF2ZQ==?=
Guest
Posts: n/a
 
      5th Sep 2007
I used the second option and it worked.

Thanks, Dave
--
DSM


"Ron Coderre" wrote:

> Perhaps this?
>
> =SUMPRODUCT(('2007'!$I$2:$I$300="Quality")*('2007'!$E$2:$E$300="Improvement")*(('2007'!$D2:$D$300="Dev")+('2007'!$D2:$D$300="Dev/RFC")))
> or...
> =SUMPRODUCT(('2007'!$I$2:$I$300="Quality")*('2007'!$E$2:$E$300="Improvement")*(('2007'!$D2:$D$300={"Dev","Dev/RFC"})))
>
> Does that help?
> --------------------------
>
> Regards,
>
> Ron
> Microsoft MVP (Excel)
>
>
> "Dave" <(E-Mail Removed)> wrote in message
> news:93C8BD93-BBFF-4E25-9A0C-(E-Mail Removed)...
> > How can I make this formula count both "Dev" AND "Dev/RFC" in a column
> > range?
> > I can't seem to get the wildcard variations (~, &, *) to work with this!
> >
> > =SUMPRODUCT(('2007'!$I$2:$I$300="Quality")*('2007'!$E$2:$E$300="Improvement")*('2007'!$D2:$D$300="Dev"))
> >
> > Thanks, Dave
> > --
> > DSM

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
text string: "91E10" in csv file auto converts to: "9.10E+11" Alex@2256036124.com Microsoft Excel Misc 2 12th Aug 2008 03:13 PM
In excel counting cells in a range which meet condition ">Xand<X" =?Utf-8?B?VW5jaXZpbCBTZXJ2YW50?= Microsoft Excel Worksheet Functions 1 19th May 2006 02:37 PM
counting no of "text" cells Silvabod Microsoft Excel Discussion 4 25th Apr 2006 06:33 PM
cells formatted to tick when text value "Y" if or null if "N" =?Utf-8?B?SmF5?= Microsoft Excel Misc 7 13th Jan 2006 09:16 AM
How do I "Wrap Text" & "Autofit" within Merged Cells in Excel? =?Utf-8?B?Ni1zaG9vdGVy?= Microsoft Excel Worksheet Functions 3 31st Oct 2004 12:14 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:06 PM.