Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
Lee Lee is offline
external usenet poster
 
Posts: 38
Default Sumproduct with "contains" variable

When you filter a column in Excel 2007, there is an option of "contains" to
choose. Is it possible to use "contains" in a sumproduct() formulae as one
of the arrays or do I have to list the possibilities in each of the
variables? Surely there must be a way to use wildcard characters of ? or *
or something to pass this on in the formulae.
If so, how?
Thanks,

--
Lee Coleman


  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 35,218
Default Sumproduct with "contains" variable

=sumproduct(--(isnumber(search("sometext",a1:a10))),
--(b1:b10="somethingelse"),
(c1:c10))



Lee wrote:

When you filter a column in Excel 2007, there is an option of "contains" to
choose. Is it possible to use "contains" in a sumproduct() formulae as one
of the arrays or do I have to list the possibilities in each of the
variables? Surely there must be a way to use wildcard characters of ? or *
or something to pass this on in the formulae.
If so, how?
Thanks,

--
Lee Coleman


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.newusers
Lee Lee is offline
external usenet poster
 
Posts: 38
Default Sumproduct with "contains" variable

Thank you so very much. It is too simple.
Thanks again,
Lee

"Dave Peterson" wrote in message
...
=sumproduct(--(isnumber(search("sometext",a1:a10))),
--(b1:b10="somethingelse"),
(c1:c10))



Lee wrote:

When you filter a column in Excel 2007, there is an option of "contains"
to
choose. Is it possible to use "contains" in a sumproduct() formulae as
one
of the arrays or do I have to list the possibilities in each of the
variables? Surely there must be a way to use wildcard characters of ? or
*
or something to pass this on in the formulae.
If so, how?
Thanks,

--
Lee Coleman


--

Dave Peterson



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
change "true" and "false" to "availble" and "out of stock" inthestands Excel Worksheet Functions 2 July 19th 07 07:05 PM
"Type mismatch" when I try to fill an Array variable with "+" [email protected] Excel Discussion (Misc queries) 1 April 17th 07 01:28 PM
SUMPRODUCT(--ISNUMBER(FIND("AM",C5:160))*(k5:k160="") redneck joe Excel Discussion (Misc queries) 5 August 18th 06 08:31 PM
HELP on "left","right","find","len","substitute" functions serene83 Excel Discussion (Misc queries) 5 June 27th 06 02:23 AM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM


All times are GMT +1. The time now is 01:51 AM.

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

About Us

"It's about Microsoft Excel"