+ Reply to Thread
Results 1 to 3 of 3

Countblank and paste in 2nd worksheet

  1. #1
    Forum Contributor
    Join Date
    03-03-2011
    Location
    Ottawa, Ontario
    MS-Off Ver
    365
    Posts
    136

    Countblank and paste in 2nd worksheet

    I am trying to count the number of blank cells on worksheet 1 and paste that value into B16 on worksheet 2. I'm just having problems setting up the range to check as it will be a different amount of rows every time so I need to find the last row and then count all blank cells to paste into B16. It is probably a simple solution but being new at this I am probably trying to over think it. Thanks for any help.

  2. #2
    Forum Contributor
    Join Date
    09-13-2011
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    111

    Re: Countblank and paste in 2nd worksheet

    If there is an adjacent column with values inside of it, then you can use an offset/match Combo to define the range within an COUNTIF formula. The offset/match combo will allow for a dynamic range.

    Please Login or Register  to view this content.
    if this isn't accurate, or if you need more assistance, can you attache a sample copy of the spreadsheet?

  3. #3
    Forum Contributor
    Join Date
    03-03-2011
    Location
    Ottawa, Ontario
    MS-Off Ver
    365
    Posts
    136

    Re: Countblank and paste in 2nd worksheet

    I have attached a sample copy to make it a little clearer. I need a macro to count all the blank cells in Column B from the first sheet (Import Projects Here) and then paste that total into B16 on the second sheet (Project_Totals). The range in Column B will always be changing so I need to find the last row then count the total blank cells.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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