+ Reply to Thread
Results 1 to 7 of 7

Countif fomula to count blank rows

Hybrid View

  1. #1
    Registered User
    Join Date
    10-10-2014
    Location
    seattle wa
    MS-Off Ver
    2007
    Posts
    63

    Countif fomula to count blank rows

    Hi,

    I have to count blank cells in column V. So to do that I applied following formula.

    =COUNTIF(V:V,"") = 1048496
    I only have 480 rows with data but it reads all the columns after that ask blank as well. If I enter following formula it gives me right answer = COUNTIF(V2:V480,""). Since I will be updating this sheet monthly basis, I will just delete the old report and paste the new data, new data could have more or less then 480 row. That's why I wanted to use V:V. Is there a way to do count the blanks without updating the formula every month.

    Thank you

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Countif fomula to count blank rows

    What type of data is it? Is it text? Numbers? Could be both? Something else?
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    10-10-2014
    Location
    seattle wa
    MS-Off Ver
    2007
    Posts
    63

    Re: Countif fomula to count blank rows

    Data is format to General.

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Countif fomula to count blank rows

    Need to know what type of data is entered into the cells.

  5. #5
    Registered User
    Join Date
    10-10-2014
    Location
    seattle wa
    MS-Off Ver
    2007
    Posts
    63

    Re: Countif fomula to count blank rows

    it's just numbers

  6. #6
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Countif fomula to count blank rows

    Create a dynamic named range.

    Name: Range (or whatever you want to name it)
    Refers to: =$V$2:INDEX($V$2:$V$1000,MATCH(1E100,$V$2:$V$1000))

    Adjust for a reasonable end of range where I use down to row 1000.

    Then your formula would be:

    =COUNTIF(Range,"")

  7. #7
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Countif fomula to count blank rows

    If this was your data, using the dynamic range, this formula entered in X2:

    =COUNTIF(Range,"")

    Data Range
    V
    W
    X
    1
    Data
    Count
    2
    68
    6
    3
    64
    4
    5
    37
    6
    7
    1
    8
    86
    9
    10
    20
    11
    84
    12
    13
    14
    15
    48
    16
    ------
    ------
    ------

+ 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] COUNTIF and IF statements to count non-blank cells only
    By rowena229 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-25-2015, 01:57 PM
  2. [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
  3. [SOLVED] Long Countif statement Not to Count Blank Cells
    By Jiptastic in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-30-2013, 01:44 PM
  4. Replies: 1
    Last Post: 03-05-2011, 10:58 AM
  5. COUNTIF Issues count blank cells among existing data
    By chrispulliam in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 05-21-2010, 01:52 AM
  6. 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
  7. [SOLVED] How do I use countif to count values excluding blank cells
    By Glenda in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-30-2006, 12:30 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