+ Reply to Thread
Results 1 to 32 of 32

Dynamic Range for Multiple Sheets

  1. #1
    Forum Contributor
    Join Date
    07-31-2018
    Location
    London, England
    MS-Off Ver
    MS Office 365
    Posts
    104

    Dynamic Range for Multiple Sheets

    So formulae can have dynamic ranges within a sheet, such that additional inputted data will in turn be detected and the reporting adjusted with the formulae.

    Is this a possibility for multiple sheets? If the sheets were named a certain thing with a changing number within the title, could it be constructed? What would this formula look like?

    Or is this, more likely than not, a macro-based issue?

    Can post workbooks as necessary.

    P.S. Apologies for having a thousand and one threads open. I have too many requests
    Last edited by doubleuson; 08-07-2018 at 06:21 AM.

  2. #2
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    842

    Re: Dynamic Range for Multiple Sheets

    Quote Originally Posted by doubleuson View Post

    Can post workbooks as necessary.
    Hi doubleuson, Would be appreciated if you can please do provide the sample workbook with expected results.

  3. #3
    Forum Contributor
    Join Date
    07-31-2018
    Location
    London, England
    MS-Off Ver
    MS Office 365
    Posts
    104

    Re: Dynamic Range for Multiple Sheets

    Here is the workbook. It is the same as the one you worked with earlier.

    Essentially, I want a macro button which creates 3 sheets with the identical formatting as 'Group _ Details', 'Simple Group _ Details' and 'Group _ Data Report'.

    Then, I want The 'Funder's Data Report' sheet to detect the new sheets and, as it currently does with the templates, compile the relevant information into one sheet. This can happen an unlimited amount of times, each time creating a new row in the 'Funders Data Report'.

    Following this, I would like the 'Annual Summary' sheet to perform the same calculations as the individual 'Group _ Data Report', but for all data entries in all the 'Group _ Details' sheets generated by the first macro.

    Finally, I would like a menu/landing page with hyperlink buttons created each time for each new group.

    I know this is a lot to ask, but if you can resolve at least some of it, that would be ideal.
    Last edited by AliGW; 08-07-2018 at 09:31 AM.

  4. #4
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    842

    Re: Dynamic Range for Multiple Sheets

    Quote Originally Posted by doubleuson View Post
    'Group _ Details', 'Simple Group _ Details' and 'Group _ Data Report'
    So basically these 3 worksheets will be based on each month separately for eg. Group _ Details_Jan, Group _ Details_Feb, Group _ Details_Mar and so on and you want to compile them in your Funders Data Report tab and from the Funders Data Report worksheet the data will be fetched in your Annual Summary tab basis on drop down selections. Am i on correct path.

    Kindly confirm if i am at wrong.

  5. #5
    Forum Contributor
    Join Date
    07-31-2018
    Location
    London, England
    MS-Off Ver
    MS Office 365
    Posts
    104

    Re: Dynamic Range for Multiple Sheets

    You are on the correct track.

    However, I would prefer the titles to change to 'Group 25 Details', 'Simple Group 25 Details' and 'Group 25 Data Report', then 'Group 26 Details', 'Simple Group 26 Details' and 'Group 26 Data Report', then 27 etc etc instead of the '_' in the title (while remembering to change the formulae as appropriate). If possible, the '25' can be a number the user can input upon pressing the button.
    Last edited by AliGW; 08-07-2018 at 09:30 AM.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,908

    Re: Dynamic Range for Multiple Sheets

    Please don't quote whole posts, especially when you are responding to the one immediately preceding your own - it's just clutter. It's OK to quote if you are responding to a post out of sequence, but limit quoted content to a few relevant lines that makes clear to whom and what you are responding. Thanks!

    For normal conversational replies, try using the QUICK REPLY box below.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  7. #7
    Forum Contributor
    Join Date
    07-31-2018
    Location
    London, England
    MS-Off Ver
    MS Office 365
    Posts
    104

    Re: Dynamic Range for Multiple Sheets

    Yep, sorry, that's an error in passing on my part.

  8. #8
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    842

    Re: Dynamic Range for Multiple Sheets

    doubleuson, but keeping the number in the tab name would be difficult to identify for which month the tab is. I feel instead of keeping numbers, months first 3 character would be helpful. Rest is upto you dear.

  9. #9
    Forum Contributor
    Join Date
    07-31-2018
    Location
    London, England
    MS-Off Ver
    MS Office 365
    Posts
    104

    Re: Dynamic Range for Multiple Sheets

    I am aware of this, but this is the way that the information is collected. Group number is the identifying characteristic rather than month. Regardless, any and all help would be greatly appreciated.

  10. #10
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    842

    Re: Dynamic Range for Multiple Sheets

    I am not so proficient with VBA but Certainly I would try my best to resolve.
    Last edited by Neilesh Kumar; 08-07-2018 at 10:20 AM.

  11. #11
    Forum Contributor
    Join Date
    07-31-2018
    Location
    London, England
    MS-Off Ver
    MS Office 365
    Posts
    104

    Re: Dynamic Range for Multiple Sheets

    Thank you Neilesh!

    Here is the most recent version of the workbook for you to use as you please. Again, any and all help is greatly appreciated.
    Attached Files Attached Files

  12. #12
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    842

    Re: Dynamic Range for Multiple Sheets

    doubleuson, In the provided workbook i can see only two tabs needs to fill manually which are Group_Details and Simple Group_Details and rest all are formulated and these two tabs will be added on monthly basis and based on monthly tabs rest other tabs will provide the output. Am i correct.

  13. #13
    Forum Contributor
    Join Date
    07-31-2018
    Location
    London, England
    MS-Off Ver
    MS Office 365
    Posts
    104
    The ‘Simple _ Group Details’ sheet automatically transposes information from the ‘Group _ Details’. So, the only sheet which needs manual input is ‘Group _ Details’.

    ‘Group _ Data Report’ feeds directly off ‘Group _ Details’

  14. #14
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    842

    Re: Dynamic Range for Multiple Sheets

    Can you please provide some unreal data in the Group Details tab so accordingly i can have a view how things are flowing.

  15. #15
    Forum Contributor
    Join Date
    07-31-2018
    Location
    London, England
    MS-Off Ver
    MS Office 365
    Posts
    104

    Re: Dynamic Range for Multiple Sheets

    Sorry Neilesh, I didn't see this until just now.

    Here is a version with false data inputs:

    How is it coming along?
    Attached Files Attached Files

  16. #16
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,908

    Re: Dynamic Range for Multiple Sheets

    I don't suppose it is coming along yet, since you were asked for dummy data yesterday afternoon and have only just provided it!!!

    As you are in such a hurry, it might be worth keeping an eye on things 24/7 (or as near as possible).

    Have you subscribed for E-mail alerts?

  17. #17
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    842

    Re: Dynamic Range for Multiple Sheets

    Thank you dear, Let me have a look. I just reached at work and would try to resolve.

  18. #18
    Forum Contributor
    Join Date
    07-31-2018
    Location
    London, England
    MS-Off Ver
    MS Office 365
    Posts
    104

    Re: Dynamic Range for Multiple Sheets

    I have, which is why I was surprised when there was a post I hadn't read and I hadn't been notified.

    No matter, after all, this is free help I am receiving and I'm clearly in no position to do it on my own :D

    Thank you again, Neilesh.

  19. #19
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,908

    Re: Dynamic Range for Multiple Sheets

    OK - then you are also suffering from the bug that affects some users with subscriptions. Bummer!

  20. #20
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    842

    Re: Dynamic Range for Multiple Sheets

    Hi doubleuson, Please find here attached workbook for creating 3 worksheets at a time with specific names. The moment you change the number or month name and hit the create worksheets button will create new worksheets including the week number or month name as well will also ask to you if you want to delete any other worksheets which contains any specific text the moment you put the specific text in the message box those worksheets will be removed from your workbook.

    The reason to give the delete unwanted worksheets is for eg if the worksheets are already exists and you click on the worksheets for the same month or week the command will create worksheets but with the different names like "Sheet1", "Sheet2, & "Sheet3" and when the delete message box pop up then you can type in the message box "Sheet" and resulting unwanted worksheets will be removed and if you do not want to delete any worksheet then simply click on cancel.

    I hope i am on correct path. Please do let me know if i am not.

    Create Worksheets with Specific text.xlsb
    Last edited by Neilesh Kumar; 08-08-2018 at 06:42 AM. Reason: Completing the info

  21. #21
    Forum Contributor
    Join Date
    07-31-2018
    Location
    London, England
    MS-Off Ver
    MS Office 365
    Posts
    104

    Re: Dynamic Range for Multiple Sheets

    Hi Neilesh, so the workbook you have created generates 'Group [INPUT] Details' and 'Simple Group [INPUT] Details' sheets. Would it be possible to have the 'Group [INPUT] Data Report' created also?

    This is perfectly on the right track. As long as the sheets can be generated with identical formatting as the one I have designed in my provided workbook.

    Looking great so far, thank you!

  22. #22
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    842

    Re: Dynamic Range for Multiple Sheets

    Doubleuson try with putting the only the number or the month name in Doubleuson tab cell L1. Either number or the month name or any other text will be given that will be included in your 3 new worksheets name.

    In my case it is perfectly working.

  23. #23
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    842

    Re: Dynamic Range for Multiple Sheets

    Try the attached. Is this fine to proceed.

    Create Worksheets with Specific text.xlsb

  24. #24
    Forum Contributor
    Join Date
    07-31-2018
    Location
    London, England
    MS-Off Ver
    MS Office 365
    Posts
    104

    Re: Dynamic Range for Multiple Sheets

    I tried your function, and this is my result:

    Screen Shot 2018-08-08 at 12.18.53.png

    Upon clicking 'Ok', the 'Group 25 Data Report' gets deleted and leaves only two new sheets.

    Also, just note that the new sheets should be 'Group [INPUTS] Details' and 'Simple Group [INPUTS] Details' rather than 'Group [INPUTS] Details Report' and 'Simple [INPUTS] Details Report'. I only mention this because of how the formulae interact with eachother.

    Thanks Neilesh.

  25. #25
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    842

    Re: Dynamic Range for Multiple Sheets

    Ofcourse dear the moment you hit Ok the specific text contains worksheets will be deleted and that is the reason it is getting delete so if you do not want to delete then simply hit cancel. The message box input will only delete the unwanted worksheets. For eg. if you hit the "Create Worksheets" button for the same period input twice then the VBA script will create the new worksheets with default names like "Sheet1", "Sheet2", & "Sheet3". The moment you put specific text in the message box for deleting the specific text contains worksheet those will be deleted.

    So if by mistaken you hit twice "Create Worksheets" for the same input then simply type "Sheet" in the message box so the newly created worksheets created with default names will be deleted.

    Since you have asked to add the "Report" text in the last of tab names so i did. Please find here attached the revised one. Please do let me know is it fine now.

    Create Worksheets with Specific text.xlsb

  26. #26
    Forum Contributor
    Join Date
    07-31-2018
    Location
    London, England
    MS-Off Ver
    MS Office 365
    Posts
    104

    Re: Dynamic Range for Multiple Sheets

    Yep all fixed now.

    You're all good to proceed.

    Thank you Neilesh.

  27. #27
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    842

    Re: Dynamic Range for Multiple Sheets

    So now based on the Group_Details manually input data will be fetched in the Simple Group_Details basis on the proposed drop down in Simple Group Details tab for the selected period. Am i correct.
    Last edited by Neilesh Kumar; 08-08-2018 at 08:09 AM.

  28. #28
    Forum Contributor
    Join Date
    07-31-2018
    Location
    London, England
    MS-Off Ver
    MS Office 365
    Posts
    104

    Re: Dynamic Range for Multiple Sheets

    Yes. Aside from column 'O' which will be inputted manually.

  29. #29
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    842

    Re: Dynamic Range for Multiple Sheets

    Which column in Group_Details tab would like to consider as Period or Month Criteria column for Drop Down selection in Simple Group Details tab. I can not see any period or month column in Group_Details tab.

  30. #30
    Forum Contributor
    Join Date
    07-31-2018
    Location
    London, England
    MS-Off Ver
    MS Office 365
    Posts
    104

    Re: Dynamic Range for Multiple Sheets

    Each new set of the three sheets corresponds to a new period/month.

    For example, Group 25 Details will be for September, and will be calculated by Group 25 Data Report.

    So, each Data Report will calculate based on the individual group. Then the annual summary will calculate the same way the Data Report does, but for all the details

  31. #31
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    842

    Re: Dynamic Range for Multiple Sheets

    Dear doubleuson, Since i am heading the Financial Reporting department to the Senior management on daily basis for the multiple regions of our organization so, request to you please have patience. I am trying to provide you the best as earliest as i can.

  32. #32
    Forum Contributor
    Join Date
    07-31-2018
    Location
    London, England
    MS-Off Ver
    MS Office 365
    Posts
    104

    Re: Dynamic Range for Multiple Sheets

    Neilesh, of course, this is all free help so work at your convenience. I am here as and when you need.

    I thank you very much for all your hard work, now and in the future.

+ 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] Summary sheet to grab dynamic range of headers from multiple sheets and display them
    By Plux in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-30-2018, 01:35 PM
  2. Replies: 9
    Last Post: 10-16-2017, 03:25 AM
  3. Copy dynamic specified, filtered cells/range from one sheet to multiple sheets
    By szeconku in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-22-2015, 06:14 AM
  4. Sumif's across multiple sheets defined by a dynamic range.
    By Kramxel in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 11-19-2014, 12:55 PM
  5. Sum same range from all dynamic sheets with VBA
    By impresxy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-07-2014, 04:25 AM
  6. copy dynamic range from multiple workbooks/sheets
    By mrbillfog25 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-11-2007, 03:46 PM
  7. Dynamic named range across multiple sheets
    By babycody in forum Excel General
    Replies: 3
    Last Post: 07-24-2005, 02:05 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