Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bruce
 
Posts: n/a
Default how to use * wildcard in a sum(if((cond),range)) array formula

Hi,

Can anyone tell me howcome the * wildcard does not work in my sum if array
formula.

I realise that it will work with the standard SUMIF function but I need to
use the array version because I will be adding more conditions to what is
below.

=SUM(IF(('F1'!$C$7:$C$1000="*wedge*"),'F1'!$U$7:$U $1000))

Bruce
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Chip Pearson
 
Posts: n/a
Default how to use * wildcard in a sum(if((cond),range)) array formula

Simple equality relationships do not support wildcards.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Bruce" wrote in message
...
Hi,

Can anyone tell me howcome the * wildcard does not work in my
sum if array
formula.

I realise that it will work with the standard SUMIF function
but I need to
use the array version because I will be adding more conditions
to what is
below.

=SUM(IF(('F1'!$C$7:$C$1000="*wedge*"),'F1'!$U$7:$U $1000))

Bruce



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default how to use * wildcard in a sum(if((cond),range)) array formula

=SUM(IF(ISNUMBER(FIND("wedge",'F1'!$C$7:$C$1000)), 'F1'!$U$7:$U$1000))

replace FIND with SEARCH if you want it not case-sensitive.

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"Bruce" wrote in message
...
Hi,

Can anyone tell me howcome the * wildcard does not work in my sum if array
formula.

I realise that it will work with the standard SUMIF function but I need to
use the array version because I will be adding more conditions to what is
below.

=SUM(IF(('F1'!$C$7:$C$1000="*wedge*"),'F1'!$U$7:$U $1000))

Bruce



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
RagDyer
 
Posts: n/a
Default how to use * wildcard in a sum(if((cond),range)) array formula

You might try something like this *array* formula:

=SUM(IF(ISNUMBER(SEARCH("wedge",$C$7:$C$1000)),$U$ 7:$U$1000))

Since you say that you'll be adding more conditions, why not try a non-array
SumProduct approach:

=SUMPRODUCT((ISNUMBER(SEARCH("wedge",$C$7:$C$1000) ))*$U$7:$U$1000)

Where adding additional criteria is as easy as adding another argument ...
something like this:

=SUMPRODUCT((ISNUMBER(SEARCH("wedge",$C$7:$C$1000) ))*($D$7:$D$1000=condition
2)*($E$7:$E$1000=condition3)*$U$7:$U$1000)
--
HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================



"Bruce" wrote in message
...
Hi,

Can anyone tell me howcome the * wildcard does not work in my sum if array
formula.

I realise that it will work with the standard SUMIF function but I need to
use the array version because I will be adding more conditions to what is
below.

=SUM(IF(('F1'!$C$7:$C$1000="*wedge*"),'F1'!$U$7:$U $1000))

Bruce


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
Array Formula Not Working with Range with Formulas [email protected] Excel Discussion (Misc queries) 4 February 1st 06 02:01 PM
Array Formula to Pick Average SludgeQuake Excel Discussion (Misc queries) 3 January 11th 06 12:59 AM
Question regarding wildcard in multi-criteria IF formula Malvaro Excel Worksheet Functions 3 December 12th 05 10:52 PM
problem with Array Formula OrdOff Excel Worksheet Functions 2 June 30th 05 04:57 PM
What instead of an array formula part 2 Reg Besseling Excel Discussion (Misc queries) 2 December 10th 04 07:35 AM


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