+ Reply to Thread
Results 1 to 6 of 6

Count rows in all non blank cells in certain columns

  1. #1
    Forum Contributor
    Join Date
    02-15-2016
    Location
    India
    MS-Off Ver
    2016
    Posts
    657

    Count rows in all non blank cells in certain columns

    Hello Friends

    Please find the attached file (Count rows in all non blank cells in certain columns.xlsx).

    If all the cells in the columns D:I is filled i.e., non blank (For better understanding I made a number 1 to 13 in Column B.) then it needs to be counted in light yellow cell K2.

    thanks in advance.
    Sekar

  2. #2
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: Count rows in all non blank cells in certain columns

    Can you use a helper column? If so this gets much easier.
    Please ensure you mark your thread as Solved once it is. Click here to see how.
    If a post helps, please don't forget to add to our reputation by clicking the star icon in the bottom left-hand corner of a post.

  3. #3
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,674

    Re: Count rows in all non blank cells in certain columns

    Try this,
    Please Login or Register  to view this content.
    Attached Files Attached Files

  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: Count rows in all non blank cells in certain columns

    Try this...

    =SUMPRODUCT(--(MMULT(--(D2:I146<>""),{1;1;1;1;1;1})=6))
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  5. #5
    Forum Contributor
    Join Date
    02-15-2016
    Location
    India
    MS-Off Ver
    2016
    Posts
    657

    Re: Count rows in all non blank cells in certain columns

    Hello kvsrinivasamurthy and Biff

    Thank you

    Both of your formulas working well.

    Thanks again

  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: Count rows in all non blank cells in certain columns

    You're welcome. Thanks for the feedback!

+ 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] Select blank cells used range rows and columns
    By emina002 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-27-2015, 10:29 AM
  2. [SOLVED] A function to count blank columns/rows
    By JOQHEY in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-28-2014, 05:52 AM
  3. Count rows with non-blank cells
    By V272846 in forum Excel General
    Replies: 8
    Last Post: 10-26-2012, 07:18 AM
  4. [SOLVED] VBA to count cells with data between blank rows
    By Philcater in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-21-2012, 04:40 PM
  5. VBA to count cells between blank rows
    By EggNogMan in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 07-20-2010, 10:34 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. Replies: 8
    Last Post: 07-20-2006, 06:25 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