Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 389
Default Wild characters in function?


=SUMPRODUCT((A6:A20007=A20012)*(B6:B20007=B20012)* (D6:D20007=D20012)*(F6:F20007))

This is a very nice way to do multiple sumif's to return a sum.

Is there a way to use wild characters. For example one of the columns I am
using is for departments. A certian goup starts with "42##" so in B20012 per
the function above I put 42* in the cell but it did not work. Is there a way
to do this.

Thank you,

Steven

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,240
Default Wild characters in function?

Steven wrote:
=SUMPRODUCT((A6:A20007=A20012)*(B6:B20007=B20012)* (D6:D20007=D20012)*(F6:F20007))

This is a very nice way to do multiple sumif's to return a sum.

Is there a way to use wild characters. For example one of the columns I am
using is for departments. A certian goup starts with "42##" so in B20012 per
the function above I put 42* in the cell but it did not work. Is there a way
to do this.

Thank you,

Steven



LEFT(B6:B20007,2)="42"
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,722
Default Wild characters in function?

This will produce a true/false array:

ISNUMBER(MATCH("42??",A6:A20007,0))

Whole formula:


=SUMPRODUCT((A6:A20007=A20012)*ISNUMBER(MATCH(B200 12&"*",B6:B20007,0))*(D6:D20007=D20012)*(F6:F20007 ))
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Steven" wrote:


=SUMPRODUCT((A6:A20007=A20012)*(B6:B20007=B20012)* (D6:D20007=D20012)*(F6:F20007))

This is a very nice way to do multiple sumif's to return a sum.

Is there a way to use wild characters. For example one of the columns I am
using is for departments. A certian goup starts with "42##" so in B20012 per
the function above I put 42* in the cell but it did not work. Is there a way
to do this.

Thank you,

Steven

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Wild characters in function?

(LEFT(B6:B20007,2)="42")


"Steven" wrote:


=SUMPRODUCT((A6:A20007=A20012)*(B6:B20007=B20012)* (D6:D20007=D20012)*(F6:F20007))

This is a very nice way to do multiple sumif's to return a sum.

Is there a way to use wild characters. For example one of the columns I am
using is for departments. A certian goup starts with "42##" so in B20012 per
the function above I put 42* in the cell but it did not work. Is there a way
to do this.

Thank you,

Steven

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
Eliminate wild characters MrRJ Excel Discussion (Misc queries) 5 April 15th 09 10:21 PM
Countif using Wild Card Characters nebb Excel Worksheet Functions 2 February 11th 06 12:14 AM
Wild Characters in "IF" function jakar Excel Discussion (Misc queries) 3 November 17th 05 05:35 PM
Using wild characters for an array Steven Excel Discussion (Misc queries) 2 February 9th 05 04:29 PM
Using wild card characters in array formulas PJB Shark Excel Worksheet Functions 3 January 19th 05 03:09 PM


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