+ Reply to Thread
Results 1 to 3 of 3

Define Name Range of non Blank Value

  1. #1
    Registered User
    Join Date
    07-03-2015
    Location
    Jakarta
    MS-Off Ver
    2010
    Posts
    12

    Define Name Range of non Blank Value

    Halo
    i just wondering how to define range name of non blank value in range A2:A30 for example
    i've tried entering this one on refers to Control :=OFFSET(Sheet1!$A$2, 1, 0, COUNTA(Sheet1!$A:$A)-2,1)
    any help will be appreciated
    regard

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,366

    Re: Define Name Range of non Blank Value

    =OFFSET(Sheet1!$A$2, 0, 0, COUNTA(Sheet1!$A:$A)-2,1)

  3. #3
    Registered User
    Join Date
    07-03-2015
    Location
    Jakarta
    MS-Off Ver
    2010
    Posts
    12

    Re: Define Name Range of non Blank Value

    Quote Originally Posted by JohnTopley View Post
    =OFFSET(Sheet1!$A$2, 0, 0, COUNTA(Sheet1!$A:$A)-2,1)
    thanks for your reply john, it woked but only if the first cells (A2 and so on) are contain non blank value so if cell A5 is empty then values on cell A6,A7 an so on will not included

+ 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] Define new range names based on existing range name offset 1 column to right
    By jprlimey in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-03-2014, 07:53 PM
  2. Replies: 8
    Last Post: 07-29-2013, 05:38 PM
  3. excel macro range define to another sheet / named range
    By koi in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-21-2013, 10:25 AM
  4. Define range to select from current cell in a full range (using worksheet_change)
    By draddy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-07-2013, 11:48 AM
  5. [Solved] Define range of formula on VBA based on first blank cell
    By kurtwagner in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-25-2012, 12:32 PM
  6. Define named range where user can define size
    By nahousto in forum Excel General
    Replies: 4
    Last Post: 07-06-2009, 05:09 PM
  7. [SOLVED] I can define a name, but I cannot use the name - menu Insert-Name-Use is blank
    By Zdenek Moravec in forum Excel General
    Replies: 4
    Last Post: 04-15-2005, 10:06 AM

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