#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Sum Array

I'm trying to sum based on multiple criteria. One of the criteria is if the
text in a cell includes a specific word.

ex) {=Sum(($b$4:$b$1900=v$62)*($e$4:$e$1900="*Maples") *$d$4:$D$1900)}

The Maples would be the word within the text in a cell. I noticed that using
the * works in a Sumif formula but can't figure out how to use it in a
formula that needs multiple criteria.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Sum Array

One way (not an array formula):

=Sumproduct(--($b$4:$b$1900=v$62),
--(right($e$4:$e$1900,6)="Maples"),
($d$4:$D$1900))



jamecs wrote:

I'm trying to sum based on multiple criteria. One of the criteria is if the
text in a cell includes a specific word.

ex) {=Sum(($b$4:$b$1900=v$62)*($e$4:$e$1900="*Maples") *$d$4:$D$1900)}

The Maples would be the word within the text in a cell. I noticed that using
the * works in a Sumif formula but can't figure out how to use it in a
formula that needs multiple criteria.


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,688
Default Sum Array

Is the * before Maples a wildcard?

If so: (normally entered, not an array)

=SUMPRODUCT(--(B4:B1900=V62),--(ISNUMBER(SEARCH("Maples",E4:E1900))),D4:D1900)

Biff

"jamecs" wrote in message
...
I'm trying to sum based on multiple criteria. One of the criteria is if
the
text in a cell includes a specific word.

ex) {=Sum(($b$4:$b$1900=v$62)*($e$4:$e$1900="*Maples") *$d$4:$D$1900)}

The Maples would be the word within the text in a cell. I noticed that
using
the * works in a Sumif formula but can't figure out how to use it in a
formula that needs multiple criteria.



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
Using INDEX function to return array row. RBI Excel Worksheet Functions 1 October 4th 06 03:21 PM
Display an array of references andy62 Excel Worksheet Functions 1 July 6th 06 03:36 AM
Positioning Numeric Values Resulting from 6 Column Array Formula Sam via OfficeKB.com Excel Worksheet Functions 2 January 5th 06 02:03 AM
Formula to list unique values JaneC Excel Worksheet Functions 4 December 10th 04 12:25 AM
VBA Import of text file & Array parsing of that data Dennis Excel Discussion (Misc queries) 4 November 28th 04 10:20 PM


All times are GMT +1. The time now is 04:02 PM.

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"