+ Reply to Thread
Results 1 to 4 of 4

Countblanks with vararing number of columns

  1. #1
    Registered User
    Join Date
    10-17-2013
    Location
    Houston, Tx
    MS-Off Ver
    Excel 2013
    Posts
    8

    Countblanks with vararing number of columns

    HTML Code: 

    Start!D16 is the number of columns

    gives #NAME? error

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2504
    Posts
    13,622

    Re: Countblanks with vararing number of columns

    Try =COUNTBLANK(address(9,8):address(9,8+Start!D16)) ( CELLS is not an excel function)
    Last edited by Pepe Le Mokko; 04-30-2021 at 12:03 PM.

  3. #3
    Registered User
    Join Date
    10-17-2013
    Location
    Houston, Tx
    MS-Off Ver
    Excel 2013
    Posts
    8

    Re: Countblanks with vararing number of columns

    =COUNTBLANK(address(9,8):address(9,8+Start!D16)) Gives an error when I enter it.

  4. #4
    Registered User
    Join Date
    10-17-2013
    Location
    Houston, Tx
    MS-Off Ver
    Excel 2013
    Posts
    8

    Re: Countblanks with vararing number of columns

    I figured it out =COUNTBLANK(OFFSET($H9,0,Start!$D$16-1))

+ 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. VBA: Multiple text and number columns. Find list and number of unique words
    By first_jaguar in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 07-14-2017, 09:58 PM
  2. [SOLVED] Copy multiple columns x number of times based on variable number?
    By nobodyukno in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-19-2017, 04:13 PM
  3. [SOLVED] Countblanks with IF
    By Peelah in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-08-2016, 05:14 PM
  4. Countblanks
    By GordonP in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-15-2016, 01:27 PM
  5. Replies: 6
    Last Post: 11-25-2015, 01:01 PM
  6. [SOLVED] Help with countblanks
    By Jay147 in forum Excel - New Users/Basics
    Replies: 8
    Last Post: 11-11-2013, 01:35 PM
  7. [SOLVED] Define a range of fixed number of columns, but unlimited number of rows
    By ccopac in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-22-2012, 02:23 PM

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