Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,388
Default Counting cells that "contain" a text string

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="De v"))

Thanks, Dave
--
DSM
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,118
Default Counting cells that "contain" a text string

Perhaps this?

=SUMPRODUCT(('2007'!$I$2:$I$300="Quality")*('2007' !$E$2:$E$300="Improvement")*(('2007'!$D2:$D$300="D ev")+('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" wrote in message
...
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="De v"))

Thanks, Dave
--
DSM



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,388
Default Counting cells that "contain" a text string

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="D ev")+('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" wrote in message
...
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="De v"))

Thanks, Dave
--
DSM




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
Consolidating with empty-string ("") cells removed Thomas Toth Excel Worksheet Functions 7 July 5th 07 09:22 PM
In excel counting cells in a range which meet condition "Xand<X" Uncivil Servant Excel Worksheet Functions 1 May 19th 06 02:37 PM
cells formatted to tick when text value "Y" if or null if "N" Jay Excel Discussion (Misc queries) 7 January 13th 06 09:16 AM
Location of the last "s" in a text string PCLIVE Excel Worksheet Functions 4 November 11th 05 02:52 AM
Insert "-" in text "1234567890" to have a output like this"123-456-7890" Alwyn Excel Discussion (Misc queries) 3 October 25th 05 11:36 PM


All times are GMT +1. The time now is 05:58 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"