+ Reply to Thread
Results 1 to 3 of 3

Count Number of Non-Blank Rows for Colums with Certain Headers

  1. #1
    Registered User
    Join Date
    12-13-2011
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    47

    Count Number of Non-Blank Rows for Colums with Certain Headers

    Hi Guys,

    Im trying to make sort of a Summary of a file pop-up displaying the counts of certain Columns, instead of manually counting the rows count and checking if they tally I'd like to make a macro that just throws a pop-up with the following output:

    Summary:

    SKUS: 12
    Desc: 12
    etc

    where SKUS, Desc are certain column headers and are not the same in every sheet. So basically it should look for the column with those headers and count number of rows with data. I've attached a sample file.

    I've got a way to count the cells atm but I dont know how to make it look for a column name and count

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

  2. #2
    Forum Expert
    Join Date
    09-27-2011
    Location
    Poland
    MS-Off Ver
    Excel 2007
    Posts
    1,312

    Re: Count Number of Non-Blank Rows for Colums with Certain Headers

    hi
    there is something wrong with your example? SKUS should br 8 or I am wrong?

    try to use something like this
    Please Login or Register  to view this content.
    you can modify this
    Last edited by tom1977; 01-16-2012 at 06:01 PM.
    Regards

    tom1977

    If You are satisfied with my solution click the small star icon on the left to say thanks.

  3. #3
    Registered User
    Join Date
    12-13-2011
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    47

    Re: Count Number of Non-Blank Rows for Colums with Certain Headers

    Hi Tom,

    How can I get this to work based on the column headers??

    Because they wont always be in the same order and same range.

    something like .

    Look for column with header SKU & then count rows, instead of giving the range?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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