+ Reply to Thread
Results 1 to 4 of 4

Dynamic Name Ranges with blank cells amongst the data

  1. #1
    Registered User
    Join Date
    12-28-2012
    Location
    Turkey
    MS-Off Ver
    Pro Plus 2013
    Posts
    7

    Dynamic Name Ranges with blank cells amongst the data

    Hello,

    I import data from web and it it comes in multiple pages, it creates an empty row between pages in excel.

    I need to name each column where the number of rows varies and there are blanks in between them.

    So far I have tried:

    Please Login or Register  to view this content.
    in the name manager, but this counts ALL blank cell which slows the sheet and creates problems for sumproduct formula (gives a REF error).

    Also, i'm trying to avoid VBA for this. So, is there a way to point to the last cell (row) in a column?

    Thanks in advance!

  2. #2
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Dynamic Name Ranges with blank cells amongst the data

    Attach a sample workbook showing the data you import from the web.

    When you are in Advanced reply, click on the paperclip to open the upload window.

    View Pic

  3. #3
    Registered User
    Join Date
    12-28-2012
    Location
    Turkey
    MS-Off Ver
    Pro Plus 2013
    Posts
    7

    Re: Dynamic Name Ranges with blank cells amongst the data

    Book3.xlsx

    for example, the attached pulls data from yahoo

    please check the formula for the name ranged

    a friend suggested the (match(rept workaround which doesn't work for numbers

    again, i need to have the named ranges for a dynamic data set for sumproduct formula which required ranges to have the same number of rows, hopefully without a vba if possible

    (i have used below for the vba in the past)

    Please Login or Register  to view this content.

  4. #4
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Dynamic Name Ranges with blank cells amongst the data

    Try this
    Name: Date
    Refers to
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Similarly
    In H5
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Use Rept("z",255) for text and 99^99 for numbers. Purists would say use 9.999999999E+307 for the "Big Number", but I have yet to see 99^99 fail
    Last edited by Marcol; 01-25-2013 at 10:53 AM.
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

+ 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