+ Reply to Thread
Results 1 to 2 of 2

(VBA) COUNTIFS using MID not working

  1. #1
    Forum Contributor
    Join Date
    07-23-2012
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    211

    (VBA) COUNTIFS using MID not working

    Hello

    I have the following code to count all entries that match the following criteria:

    1 Check if "w" is in the text (eg. "tw1", "tw3" etc) and
    2 Check if corresponding row in column N has "Pass"

    Then put the result in cell R2 in Sheets("Analysis")

    The code I have is:

    Please Login or Register  to view this content.
    I am getting "Object does not support this property or method error.

    Could someone help me to find what I am doing wrong

  2. #2
    Forum Contributor
    Join Date
    07-23-2012
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    211

    Re: (VBA) COUNTIFS using MID not working

    I am now thinking that I can't mix Countifs and Mid syntax as above. I have changed the code to search wild card "*w*" in the range. Code is now:

    Please Login or Register  to view this content.
    Whilst this has stopped the error, I am not getting the correct result!

    Help!

+ 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. Please help, I can't figure out why countifs( isn't working
    By Blackhawks in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-10-2014, 09:56 PM
  2. [SOLVED] { } not working in countifs
    By Chetansuri in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-03-2014, 04:46 AM
  3. [SOLVED] Wildcard not working in my COUNTIFS
    By dtrimble in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-11-2013, 09:12 PM
  4. [SOLVED] countifs working on extended ranges and different sheets not working
    By etaf in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-18-2013, 02:23 PM
  5. COUNTIFS not working
    By nosenga in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-13-2011, 04:38 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