+ Reply to Thread
Results 1 to 3 of 3

Count cells in a range that are NOT blank and are NOT "N/A"

  1. #1
    Registered User
    Join Date
    05-25-2020
    Location
    Edmonton, AB
    MS-Off Ver
    2016
    Posts
    1

    Count cells in a range that are NOT blank and are NOT "N/A"

    Hello,

    I need help creating the proper formula in the attached screenshot. The formula needs to look at the cells in column Z and column AC and it needs to countif the cells in the range are NOT blank and DO NOT equal "N/A".

    Can someone please help with this?Capture.PNG

  2. #2
    Valued Forum Contributor
    Join Date
    03-24-2020
    Location
    Thailand
    MS-Off Ver
    Office 2016
    Posts
    897

    Re: Count cells in a range that are NOT blank and are NOT "N/A"

    Hi russoagain,
    Try for column N: =COUNTA(Z2:Z500)-COUNTIF(Z:Z,"N/A")
    First part of the formula is counting all cells which are not blank. Start on row 2 to exclude header. The second part is deducting the number of cells with contain "N/A".
    Replicate with relevant ranges for column AC.

  3. #3
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,210

    Re: Count cells in a range that are NOT blank and are NOT "N/A"

    in the above it depends if the n/a is a result of a formula and so #n/a with no quotation marks

+ 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. Count blank cells in a range and contiguous blank cells also as single cells! Tricky One!
    By SebastianColombia in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-31-2015, 02:32 PM
  2. Replies: 2
    Last Post: 11-22-2013, 01:07 PM
  3. [SOLVED] Count non-blank cells in a range
    By Jonathan9 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-19-2013, 06:59 AM
  4. [SOLVED] Trim Range of Cells FIRST then Count the number of blank cells
    By Jim28 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-13-2013, 04:08 AM
  5. How to count blank cells in data range
    By puttu in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-11-2013, 01:48 PM
  6. Count Non-Blank cells in range for each row
    By maacmaac in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-07-2012, 06:26 AM
  7. Count blank cells within a range not including fully blank rows
    By twofootgiant in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 07-16-2008, 09:43 AM

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