+ Reply to Thread
Results 1 to 3 of 3

Counting cells that do not meet criteria

  1. #1
    Registered User
    Join Date
    05-26-2013
    Location
    Australia
    MS-Off Ver
    Excel 2016
    Posts
    79

    Question Counting cells that do not meet criteria

    Hi all,

    Pretty much a beginner when it comes to macros so this may be a really easy fix. I want to count the cells within a range that do not contain the text "Not Applicable" and are not blank (""). At the moment I have the following code which evidently isn't working for me, and I dont expect it to work as it is but I am not sure of the syntax to make it work.

    Please Login or Register  to view this content.
    Alternatively I would like to trim the range from V36 To V#, where that # is the row number of the last cell containing data in column F. I thought something like the following, but I believe my error is still in the CountIf statement.

    Please Login or Register  to view this content.
    Any help is greatly appreciated

    Cheers,
    Ben

  2. #2
    Forum Expert
    Join Date
    08-02-2013
    Location
    Québec
    MS-Off Ver
    Excel 2003, 2007, 2013
    Posts
    1,412

    Re: Counting cells that do not meet criteria

    Hi,
    Here's a suggestion :

    Please Login or Register  to view this content.
    GC Excel

    If this post helps, then click the star icon (*) in the bottom left-hand corner of my post to Add reputation.

  3. #3
    Registered User
    Join Date
    05-26-2013
    Location
    Australia
    MS-Off Ver
    Excel 2016
    Posts
    79

    Re: Counting cells that do not meet criteria

    Awesome, cheers for 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. Counting Consecutive Cells that meet Criteria
    By Omega Point in forum Excel General
    Replies: 3
    Last Post: 03-07-2023, 04:44 AM
  2. [SOLVED] counting number of cells which meet a certain criteria
    By Laurab in forum Excel General
    Replies: 8
    Last Post: 06-19-2012, 08:58 AM
  3. Counting cells that meet 2 differnet criteria
    By USChad in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-07-2005, 03:05 PM
  4. counting cells that meet certain criteria
    By StJohn in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-14-2005, 04:25 PM
  5. [SOLVED] Counting Values that meet another cells criteria
    By Jess in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-07-2005, 10:06 PM

Tags for this Thread

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