+ Reply to Thread
Results 1 to 7 of 7

Problem with setting up dynamic ranges skipping blanks

  1. #1
    Forum Contributor
    Join Date
    06-19-2014
    Location
    Toronto, Canada
    MS-Off Ver
    Office365
    Posts
    273

    Problem with setting up dynamic ranges skipping blanks

    Hello,

    I need to set up four dynamic ranges to feed a chart. Please see the attched set up (the formula skips blanks). somehow only the "ChartYrs" works, the others gave me "the reference isn't valid" when I use GoTo. does anyone know why?


    thanks!
    Attached Images Attached Images

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

    Re: Problem with setting up dynamic ranges skipping blanks

    Administrative note

    Welcome to the forum

    in your haste to solve your problem, you probably missed the yellow banner advising how to get answers faster by posting a sheet ?

    Please take a moment to read it and attach a sheet accordingly.

    Thanks you for helping us help you

  3. #3
    Forum Contributor
    Join Date
    06-19-2014
    Location
    Toronto, Canada
    MS-Off Ver
    Office365
    Posts
    273

    Re: Problem with setting up dynamic ranges skipping blanks

    Hi here is the attached workbook. Thanks for anyone's help!
    Attached Files Attached Files

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

    Re: Problem with setting up dynamic ranges skipping blanks

    Instead of the volatile OFFSET function make each of your ranges a Table
    Select B1:B14 - Insert - Table
    Change the name to whatever is needed. This " table" will expand automatically when rows are added
    The same for the other columns
    The Tables and their names are to be found in the Name manager

  5. #5
    Forum Contributor
    Join Date
    06-19-2014
    Location
    Toronto, Canada
    MS-Off Ver
    Office365
    Posts
    273

    Re: Problem with setting up dynamic ranges skipping blanks

    the data I posted is a simplified version - range (2:26) for each column actually contain array formulas. the blanks are not real blanks but "" being returned from the array formula. the purpose of setting it up this way is so that the user doesn't have to manually update the data. not sure how to achieve this by using tables? the setup are exactly the same for the offset formula, I'm scratching my head why only the ChartYrs works ...
    Last edited by lynnsong986; 02-10-2020 at 11:53 AM.

  6. #6
    Forum Contributor
    Join Date
    06-19-2014
    Location
    Toronto, Canada
    MS-Off Ver
    Office365
    Posts
    273

    Re: Problem with setting up dynamic ranges skipping blanks

    I just fixed it by removing the * inside of the " "...

  7. #7
    Forum Contributor
    Join Date
    06-19-2014
    Location
    Toronto, Canada
    MS-Off Ver
    Office365
    Posts
    273

    Re: Problem with setting up dynamic ranges skipping blanks

    sorry the fix is actually:
    =OFFSET(Chart!$C$1,0,0,MATCH(9.99999999999999E+307,Chart!$C$2:$C$26)+1,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. [SOLVED] formula for dynamic ranges using index on a big spreadsheet where there are blanks
    By JEAN1972 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-26-2017, 12:18 PM
  2. [SOLVED] Setting up dynamic named ranges in code
    By j_Southern in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-04-2014, 01:03 PM
  3. Replies: 1
    Last Post: 05-21-2014, 04:30 PM
  4. Dynamic Ranges vs. Formulas that exclude blanks?
    By amartino44 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-15-2013, 02:04 PM
  5. Dynamic Ranges and Blanks
    By dhpeter83 in forum Excel General
    Replies: 4
    Last Post: 06-05-2012, 10:21 PM
  6. Setting multiple dynamic print ranges
    By Masact in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-18-2008, 06:04 PM
  7. setting up dynamic ranges
    By jarr_d in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-17-2007, 04:13 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