+ Reply to Thread
Results 1 to 3 of 3

CountIFS With Array

  1. #1
    Forum Contributor
    Join Date
    06-18-2010
    Location
    USA
    MS-Off Ver
    Excel 2016
    Posts
    546

    CountIFS With Array

    I am having to get counts of certain strings that exist on a worksheet - it started out as one, but it is now at 3, and I foresee it growing to a few more in the near future.

    Instead of me just duplicating the same syntax repeatedly to get the counts like the below - is there a way to write this and scan from an array?
    Please Login or Register  to view this content.

  2. #2
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,909

    Re: CountIFS With Array

    Posting an example file (desensitized) might help to get you started
    Avoid using Select, Selection and Activate in your code. Use With ... End With instead.
    You can show your appreciation for those that have helped you by clicking the * at the bottom left of any of their posts.

  3. #3
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,591

    Re: CountIFS With Array

    jo15765

    Try something like
    Please Login or Register  to view this content.
    Note: Evaluate method has limitation of 255 characters for its subscript.

+ 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. Countifs on an Array Range using multiple criteria in an Array
    By Mysore in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-12-2016, 04:39 PM
  2. COUNTIFS + OR (array tray) not working
    By Lugashz in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-14-2015, 10:52 AM
  3. VBA countifs within ARRAY
    By Kramxel in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-19-2015, 04:41 AM
  4. [SOLVED] Array functions & COUNTIFS (or alternative f-n)
    By akamenov88 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-29-2015, 03:51 PM
  5. Countifs multiple criteria array
    By lamdl in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-20-2014, 09:18 PM
  6. [SOLVED] Countifs array results not as expected, can anyone see why?
    By jason.b75 in forum Excel General
    Replies: 6
    Last Post: 07-15-2012, 01:45 PM
  7. Storing CountIfs arguments in an array?
    By fomoz in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 02-17-2011, 05:07 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