+ Reply to Thread
Results 1 to 4 of 4

=1/COUNTIF($A$2:$A$15,A2) Prevent counting blank cells

  1. #1
    Registered User
    Join Date
    09-05-2018
    Location
    Scottsdale AZ
    MS-Off Ver
    Microsoft Office Professional Plus 2016
    Posts
    71

    =1/COUNTIF($A$2:$A$15,A2) Prevent counting blank cells

    I'm using =1/COUNTIF($A$2:$A$15,A2) as a way for a distinct count of an item number in a table. How do I prevent this formula from counting blank cells?

    Thanks,
    Daren
    Attached Files Attached Files
    Last edited by darenferg; 02-09-2021 at 07:40 PM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,085

    Re: =1/COUNTIF($A$2:$A$15,A2) Prevent counting blank cells

    Maybe
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    09-05-2018
    Location
    Scottsdale AZ
    MS-Off Ver
    Microsoft Office Professional Plus 2016
    Posts
    71

    Re: =1/COUNTIF($A$2:$A$15,A2) Prevent counting blank cells

    It works like a dream...

    Thank you

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,085

    Re: =1/COUNTIF($A$2:$A$15,A2) Prevent counting blank cells

    You're welcome.

+ 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. [SOLVED] Stop Countif from counting blank cells
    By acmac1962 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-27-2019, 03:52 AM
  2. Replies: 3
    Last Post: 08-30-2018, 11:13 PM
  3. [SOLVED] COUNTA, SUMPRODUCT, COUNTIF, Counting blank cells.
    By BlindAlley in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-09-2017, 11:47 AM
  4. [SOLVED] Countif if counting 65536 cells (excel 2003) with count if blank
    By Sc0tt1e in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 12-06-2013, 11:48 AM
  5. How to prevent row/column counts from counting empty/blank rows?
    By reach78 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-17-2013, 01:38 AM
  6. COUNTIF without counting blank cells
    By Melgaard in forum Excel General
    Replies: 5
    Last Post: 03-03-2010, 11:48 PM
  7. My Countif formula is not accurately counting- Need to cound blank cells
    By mrgillus in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-10-2009, 02:59 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