+ Reply to Thread
Results 1 to 2 of 2

Wildcards passed to custom function

  1. #1
    Registered User
    Join Date
    02-13-2011
    Location
    Portland, Oregon
    MS-Off Ver
    Excel 2007
    Posts
    4

    Wildcards passed to custom function

    I am trying to utilize wildcards with the function presented here: http://www.excelforum.com/excel-form...ml#post2078423

    However it doesn't seem to be working, for example:

    =CountIfAll(3,"Std3",C14:D37) returns the correct result for my spreadsheet: 2
    but
    =CountIfAll(3,"Std*",C14:D37) returns 0.

    The intention would be for the latter formula to returning at least a value of 2, I'm using Excel 2010, not sure what needs to be changed. . .

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Wildcards passed to custom function

    That function wasn't designed to accept wildcards.

    Perhaps instead =COUNTIFS(C14:C37, 3, D14:D37, "Std*")
    Entia non sunt multiplicanda sine necessitate

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Arrays passed into function
    By ChrisHag in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-04-2013, 09:46 AM
  2. [SOLVED] Issue with array created from value passed from function
    By g8r777 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-10-2012, 08:32 PM
  3. Wildcards with IF Function?
    By bigbavarian in forum Excel General
    Replies: 5
    Last Post: 08-27-2008, 11:59 AM
  4. [SOLVED] Modify range variable passed through Function
    By spyd3r in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-14-2006, 07:25 PM
  5. Excel2000: Reading values from range, passed to function as parameter using an expression
    By Arvi Laanemets in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-29-2005, 10:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1