+ Reply to Thread
Results 1 to 4 of 4

Counting blanks in a column down to last value only

  1. #1
    Registered User
    Join Date
    01-09-2014
    Location
    New York
    MS-Off Ver
    Excel 2007
    Posts
    7

    Counting blanks in a column down to last value only

    I have a column of data, including cells with blanks. I am trying to count the blanks but only want to go to the last value in the column instead of counting to the end of the spreadsheet. My formula right now is COUNTBLANK(A1:A101) and this works fine but next month I am going to get more values and the column will go down farther than A101 but I don't want to COUNTBLANKS(A:A) as this will count all the way to the end. I've used =LOOKUP(9.99999999999999E+307, A1:A9) to find the last value but what I think I really want is the cell reference of this last value so I can put it in my COUNTBLANK(A1:"cell reference function"&LOOKUP(9.99999999999999E+307, A1:A9)) however I don't know how to return the cell reference. Any help would be appreciated.
    Thanks, new forum member.

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Counting blanks in a column down to last value only

    Try

    =COUNTBLANK(A1:INDEX(A:A,MATCH(9.99999999999999E+307,A:A)))

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,888

    Re: Counting blanks in a column down to last value only

    Your post does not comply with Rule 8 of our Forum RULES. Do not crosspost your question on multiple forums without including links here to the other threads on other forums.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  4. #4
    Registered User
    Join Date
    01-09-2014
    Location
    New York
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Counting blanks in a column down to last value only

    also posted on mrexcel.com

+ 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. Replies: 8
    Last Post: 06-15-2016, 09:53 AM
  2. Count Total of items in a column w/o counting duplicates or blanks
    By Clairebear4 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-23-2013, 10:56 PM
  3. Scan a Column A (numbers and blanks) and copy its contents WITHOUT BLANKS into Column B
    By bighandsam in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-12-2012, 05:16 PM
  4. Counting blanks based on another column's criteria
    By mrdugan in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-22-2010, 09:31 AM
  5. Counting Blanks based on criteria in another column
    By jjcriss in forum Excel General
    Replies: 6
    Last Post: 10-28-2009, 02:55 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