+ Reply to Thread
Results 1 to 5 of 5

Use of wildcards in countifs formula

  1. #1
    Registered User
    Join Date
    07-06-2015
    Location
    Tennant Creek
    MS-Off Ver
    2010
    Posts
    46

    Use of wildcards in countifs formula

    I have created a userform in Excel 2010 that uses countifs on a regular basis. These include print command buttons to cover many years ahead. I have now been asked to include print buttons to cover the months January to December. In the worbook I have a separate sheet to cover each year and that is straightforward. By using only the day/month can I use a countifs with a wildcard for the year to enable the print?

  2. #2
    Valued Forum Contributor quekbc's Avatar
    Join Date
    01-18-2010
    Location
    Sydney, Australia
    MS-Off Ver
    2010, 2013, 2016
    Posts
    1,149

    Re: Use of wildcards in countifs formula

    The quick answer is yes, but you'll have to convert the year numbers into text (say A1:A10), and do COUNTIFS(A1:A10, "201*") to count how many years are in between 2010 and 2019.

  3. #3
    Registered User
    Join Date
    07-06-2015
    Location
    Tennant Creek
    MS-Off Ver
    2010
    Posts
    46

    Re: Use of wildcards in countifs formula

    wip Sessions monthly print.xlsm
    If you look at the userform you will understand what I am looking for.
    Password to enter Reports/workbook is "password"
    The above app is so successful for its purpose, they have asked me to extend the print/report options. I am now past my use by date and trying to retire. Just need to get this up and running by the end of the week. any help is really appreciated. Thanks

  4. #4
    Valued Forum Contributor quekbc's Avatar
    Join Date
    01-18-2010
    Location
    Sydney, Australia
    MS-Off Ver
    2010, 2013, 2016
    Posts
    1,149

    Re: Use of wildcards in countifs formula

    Noted - I would use a SUMPRODUCT instead of dealing with COUNTIFS here. That is...

    Enter January February March etc. in P1:P12 then

    in Monthly sheet B2, enter and copy down.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Or see attached.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    07-06-2015
    Location
    Tennant Creek
    MS-Off Ver
    2010
    Posts
    46

    Re: Use of wildcards in countifs formula

    beautiful thank you very much I would not have thought of that!

+ 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] 2003 Alternative to Countifs while using wildcards
    By Melvinrobb in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-21-2013, 06:27 PM
  2. Replies: 0
    Last Post: 12-16-2011, 09:01 AM
  3. Using Wildcards within formula
    By karstens in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-10-2009, 05:46 PM
  4. [SOLVED] Can conditional sum use wildcards in the formula?
    By Biff in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 09-06-2005, 05:05 PM
  5. Can conditional sum use wildcards in the formula?
    By Chris in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 PM
  6. [SOLVED] Can conditional sum use wildcards in the formula?
    By Chris in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 11:05 AM
  7. Can conditional sum use wildcards in the formula?
    By Chris in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 AM
  8. Formula Wildcards
    By luke1438 in forum Excel General
    Replies: 0
    Last Post: 01-13-2005, 09:24 PM

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