Results 1 to 3 of 3

Need Help to COUNTIFS across multiple sheets/same column

Threaded View

  1. #1
    Registered User
    Join Date
    08-28-2012
    Location
    Jakarta
    MS-Off Ver
    Excel 2007
    Posts
    22

    Need Help to COUNTIFS across multiple sheets/same column

    Hi,

    I have VBA for countif formula :

    Function myCountIf(rng As Range, criteria) As Long
        Dim ws As Worksheet
    
        For Each ws In ThisWorkbook.Worksheets
            myCountIf = myCountIf + WorksheetFunction.CountIf(ws.Range(rng.Address), criteria)
        Next ws
    End Function
    I need to make it to countifs, cause i have mutiple criteria to count, anyone can help?


    Thanx.
    Last edited by rainbowzzzzz; 11-06-2014 at 05:14 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: 03-19-2014, 11:47 AM
  2. [SOLVED] how to countifs (multiple criteria and multiple sheets)
    By jekidi in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-12-2013, 01:57 AM
  3. [SOLVED] Countifs function with multiple criteria in same column
    By sam99 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-28-2012, 09:10 AM
  4. [SOLVED] COUNTIFS: Using { } to search for multiple values in single column
    By jeversf in forum Excel General
    Replies: 3
    Last Post: 04-03-2012, 07:53 AM
  5. Replies: 0
    Last Post: 07-27-2011, 01:00 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