+ Reply to Thread
Results 1 to 9 of 9

Dynamic Ranges from Different Sheets Question

  1. #1
    Forum Contributor
    Join Date
    07-22-2013
    Location
    london
    MS-Off Ver
    Excel 2013
    Posts
    133

    Dynamic Ranges from Different Sheets Question

    dynamic_ranges_and_sheets_question.xlsx

    Hello all

    I´m having problems with the max formula using dynamic ranges in different sheets.
    I need to use ranges involving the last rows of different sheets, but the problem is that each of them are updated daily (new rows are added).

    Please check the attached file for a more detailed explanation of the problem.

    I´ll highly appreciate any help you can provide.

    Thanks in advance.
    Last edited by nicoan; 02-24-2014 at 02:07 PM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,607

    Re: Dynamic Ranges from Different Sheets Question

    Convert each of the Symbol sheets to Tables
    Rename the Table as "tab" & Symbol
    For example: tabLYG, tabMTU, etc

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



    See the attached updated example.

    Regards, TMS
    Attached Files Attached Files
    Last edited by TMS; 02-23-2014 at 08:49 PM.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Contributor
    Join Date
    07-22-2013
    Location
    london
    MS-Off Ver
    Excel 2013
    Posts
    133

    Re: Dynamic Ranges from Different Sheets Question

    Hi TMS, and thanks so much for the response.

    The problem is that I´m using a software to download and update the historic data, and currently using 400+ symbols/sheets.
    Is not efficient to add the tables manually, and the individual sheets must remain untouched for the software to download the updates.
    Any work around this? Like without using tables in the sheets?

    Thanks a mil.

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,607

    Re: Dynamic Ranges from Different Sheets Question

    The reason for suggesting Tables is that they automatically maintain Named Ranges for the columns. I guess you could create Dynamic Named Ranges for each sheet, but I think you'd need two for each sheet. One for the date column and another for the Close Price. A lot of Dynamic Named Ranges.

    I don't think the software would/should treat a sheet with a Table any differently. And you could easily convert each sheet to a Table using VBA.


    Regards, TMS

  5. #5
    Forum Contributor
    Join Date
    07-22-2013
    Location
    london
    MS-Off Ver
    Excel 2013
    Posts
    133

    Re: Dynamic Ranges from Different Sheets Question

    I´ve tried the updates and the software does remove the tables on every update.
    Apart of that your formulas work like a Swiss clock.


    Since the updates run once a day, I could still use the formulas as you said running a macro after them that converts all symbol sheets to tables and name them as needed.

    I hate to ask too much but I´m completely in the dark with VBAs. Can you provide any help with it?

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,607

    Re: Dynamic Ranges from Different Sheets Question

    Ahhh, ... Money and mouth, huh?

    Give me a while, I'll have a look at it.

    Regards, TMS

  7. #7
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,607

    Re: Dynamic Ranges from Different Sheets Question

    OK, this is the code to add the Tables and Formulae:

    Please Login or Register  to view this content.

    Please see the attached updated workbook to try it. I don't know how it will perform with 400 sheets ...

    Regards, TMS
    Attached Files Attached Files

  8. #8
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,607

    Re: Dynamic Ranges from Different Sheets Question

    I note that you have been logged on the forum since I provided a solution for you.

    Does it meet your needs?




    If you are satisfied with the solution(s) provided, please mark your thread as Solved.


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save


    You may also want to consider thanking those people who helped you by clicking on the little star at the bottom left of their reply to your question.

  9. #9
    Forum Contributor
    Join Date
    07-22-2013
    Location
    london
    MS-Off Ver
    Excel 2013
    Posts
    133

    Re: Dynamic Ranges from Different Sheets Question

    **Perfect**

    Man, you rock.
    My karma points to you. Best wishes.

+ 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. Main sheet populated by multiple sheets, dynamic ranges
    By cmack in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-20-2014, 09:14 AM
  2. [SOLVED] Dynamic Ranges - Create Using VBA as looping through Sheets
    By max57 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-07-2013, 11:00 AM
  3. [SOLVED] a question regarding dynamic ranges and charts
    By Wazooli in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 03-28-2005, 07:06 PM
  4. [SOLVED] dynamic Ranges
    By adehilis in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-05-2005, 12:06 PM
  5. [SOLVED] Dynamic Formulas with Dynamic Ranges
    By Ralph Howarth in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-21-2005, 05: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