+ Reply to Thread
Results 1 to 19 of 19

Linking data from all sheets into a dynamic summary sheet.

  1. #1
    Forum Contributor Anka's Avatar
    Join Date
    08-25-2012
    Location
    Lisbon
    MS-Off Ver
    Excel 2016
    Posts
    174

    Linking data from all sheets into a dynamic summary sheet.

    Hello to everyone.

    I try to do something similar to this thread http://www.mrexcel.com/forum/excel-questions/677890-need-create-dynamic-summary-paage.... but slightly more complex.
    My knowledge of Excel and VBA are very poor area, and once again I need to ask your help.
    So here I come. As in that thread, I want to link some cells with data from all sheets in a Summary sheet.
    I have a workbook with multiple worksheets that are important values beginning with cell B1 (the first value).
    The following values which I want to link, is in column B9, G9, H9, and odd numbered lines B9, B11, B13, G9, G11, G13, H9, H11, H13 ... etc. .. downward.
    I do not know exactly how many rows are, so I need to check which is the last row that contains data in each worksheet.
    Next step. Summary sheet.
    There is no need for a new one. Mine Summary sheet exists.
    All links must be put in order one after another starting with two rows below the last row containing data in the Summary sheet, in columns B, C and D.

    The third step consists in copy by placing a check mark (selected by me), the related values in the Summary sheet, one after another, in the first row found free in the same sheet (Summary), starting with B4 downward. I managed to do this step myself but the next phase is more complicated for me.
    So I have to put back the results of the following form.
    1. I need to automatically find the sheets whose names belong. If the first result contains something, then it belongs to the first value. If the second result contains something, then it belongs to the second value. The results should be put in sheets whose name belongs in their direction, in columns M and N.
    Why do I need this? To not do everything manually. I have between 30-40 sheets in a workbook.
    So the whole project in general is hard to do for me.
    Any help is greatly appreciated. I put a sheet to see exactly for what I want to do.

    Thanks in advance.


    Cross posted at ozgridforum. No response yet.
    Attached Files Attached Files
    Last edited by Anka; 01-13-2013 at 09:09 PM.
    Many thanks to all who have helped me.

  2. #2
    Forum Contributor Anka's Avatar
    Join Date
    08-25-2012
    Location
    Lisbon
    MS-Off Ver
    Excel 2016
    Posts
    174

    Re: Linking data from all sheets into a dynamic summary sheet.

    It is very complicated ?

  3. #3
    Forum Contributor Anka's Avatar
    Join Date
    08-25-2012
    Location
    Lisbon
    MS-Off Ver
    Excel 2016
    Posts
    174

    Re: Linking data from all sheets into a dynamic summary sheet.

    After several searching I found here "Create a summary worksheet from all worksheets (with formulas) Ron de Bruin", I think it is perfect for what I want to do.


    The following values which I want to link, is in column B9, G9, H9, and odd numbered lines B9, B11, B13, G9, G11, G13, H9, H11, H13 ... etc. .. downward.
    I do not know exactly how many rows are, so I need to check which is the last row odd numbered that contains data in each worksheet.
    Mine Summary sheet exists.
    All links must be put in order one after another starting with two rows below the last row containing data in the Summary sheet, in columns B, C and D.

    Some help for rebuilding layout of this macro is highly welcomed.
    This is the starting form.

    Please Login or Register  to view this content.
    Thank you.

  4. #4
    Forum Contributor Anka's Avatar
    Join Date
    08-25-2012
    Location
    Lisbon
    MS-Off Ver
    Excel 2016
    Posts
    174

    Re: Linking data from all sheets into a dynamic summary sheet.

    If someone wants to help ..
    Are there any progress made​​. But missing a detail ...
    Please see here my cross posted at ozgridforum.
    Thanks to all.

  5. #5
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Linking data from all sheets into a dynamic summary sheet.

    You will need to explain how you arrive at your summary form. Which data goes where.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  6. #6
    Forum Contributor Anka's Avatar
    Join Date
    08-25-2012
    Location
    Lisbon
    MS-Off Ver
    Excel 2016
    Posts
    174

    Re: Linking data from all sheets into a dynamic summary sheet.

    Hi arlu.

    Was my given a code that works fine in my dummy sheet, but does not work in my original sheet.
    I have a worksheets with multiple sheets that are important values beginning with cell B1 (the first value).Columns B, G and H and cell B1 are identical in all sheets.
    The following values which I want to link in my Summary, start in B9, G9, H9, and odd numbered lines (B9, B11, B13, G9, G11, G13, H9, H11, H13 ... etc. ..) downward.
    I do not know exactly how many rows are, so I need to check which is the last row that contains data in each worksheet.

    Mine Summary sheet exists.
    All links must be put in order one after another starting with two rows below the last row (cell) containing data in the Summary sheet, in columns B, C and D.

    The above code (Create a summary worksheet from all worksheets (with formulas) Ron de Bruin) works fine in my original sheet. Should be amended to copy all existing links referred columns.

    I attac a photo to see what must be done sheet.
    Attached Images Attached Images

  7. #7
    Forum Contributor Anka's Avatar
    Join Date
    08-25-2012
    Location
    Lisbon
    MS-Off Ver
    Excel 2016
    Posts
    174

    Re: Linking data from all sheets into a dynamic summary sheet.

    Quote Originally Posted by arlu1201 View Post
    You will need to explain how you arrive at your summary form. Which data goes where.
    If you need more details

    I run vba in different sheets.
    I noticed that, in workbooks without merged cell and conditional format works well.
    I think the problem is merged cells. I read something about this problem but can not solve.
    Some advice, solutions.

  8. #8
    Forum Contributor Anka's Avatar
    Join Date
    08-25-2012
    Location
    Lisbon
    MS-Off Ver
    Excel 2016
    Posts
    174

    Re: Linking data from all sheets into a dynamic summary sheet.

    This is the code provided by jindon from ozgridforum.

    Please Login or Register  to view this content.

  9. #9
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Linking data from all sheets into a dynamic summary sheet.

    Is it working for you?

  10. #10
    Forum Contributor Anka's Avatar
    Join Date
    08-25-2012
    Location
    Lisbon
    MS-Off Ver
    Excel 2016
    Posts
    174

    Re: Linking data from all sheets into a dynamic summary sheet.

    Work fine in my dummy sheet, but does not work in my original sheet. Column B have merged cell in my original sheet.
    You can modify the code above:
    1. Delete (ignore) blank cells in column B. Maybe this way will work?
    2 Delete (ignore) cells B2: B7. I do not need what is in these cells?

    Thank you.

  11. #11
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Linking data from all sheets into a dynamic summary sheet.

    Merged cells are more of a problem than a help.

    Also it will be good if jindon himself makes the changes. It will be faster than us having to look through each row of code.

  12. #12
    Forum Contributor Anka's Avatar
    Join Date
    08-25-2012
    Location
    Lisbon
    MS-Off Ver
    Excel 2016
    Posts
    174

    Re: Linking data from all sheets into a dynamic summary sheet.

    Quote Originally Posted by arlu1201 View Post
    Merged cells are more of a problem than a help.

    Also it will be good if jindon himself makes the changes. It will be faster than us having to look through each row of code.

    I know, I read about it. But this is a template sheet, I can not change.
    I think jindon is tired of me. He did not answer. Anyway it was a great help. If I knew from the beginning, how complicated is when have merged cells ... I warn him.

    I think it's still possible to fix.
    But I do not know how to implement skip blanks rows or Columns("B").SpecialCells(xlBlanks).EntireRow.Delete (xlUp).
    Another a small effort please.

  13. #13
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Linking data from all sheets into a dynamic summary sheet.

    Please Login or Register  to view this content.
    You just found out why not to work with merged cells.

    So don't make a template with it (with merged cells) !!!!

    And make sure you can change it.

    Tip => change your problem at the source.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  14. #14
    Forum Contributor Anka's Avatar
    Join Date
    08-25-2012
    Location
    Lisbon
    MS-Off Ver
    Excel 2016
    Posts
    174

    Re: Linking data from all sheets into a dynamic summary sheet.

    Quote Originally Posted by oeldere View Post
    Please Login or Register  to view this content.
    You just found out why not to work with merged cells.

    So don't make a template with it (with merged cells) !!!!

    And make sure you can change it.

    Tip => change your problem at the source.
    The template sheet .. it's a long story. And I can not change the source. I need to use it as it is.
    If you can help me, ok. If not, your suggestion does not help me at all.
    The problem still remains.

  15. #15
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Linking data from all sheets into a dynamic summary sheet.

    Please Login or Register  to view this content.
    Talk with your boss to change the template.

    He / She wants you to work efficient, so if you explain the problem, hopefully he / she understands the problem and let you change the template.

  16. #16
    Forum Contributor Anka's Avatar
    Join Date
    08-25-2012
    Location
    Lisbon
    MS-Off Ver
    Excel 2016
    Posts
    174

    Re: Linking data from all sheets into a dynamic summary sheet.

    Quote Originally Posted by oeldere View Post
    Talk with your boss to change the template.
    Oeldere,

    Time is the only thing that you can not take back.
    Honestly, I do not understand you.
    Why? Why do you spend your time with useless tips (in my case).
    I already said. I understand that it's complicated. But certainly not impossible.
    The problem is exactly as it is. I can not change sheet template.
    And there is no boss in the middle. It is for my personal use (but it's made ​​by another person).
    If you can not help, there is no problem, but ...

    ” Don't spend time beating on a wall, hoping to transform it into a door.” -Coco Chanel

    This, truly, is a tip.

  17. #17
    Forum Contributor Anka's Avatar
    Join Date
    08-25-2012
    Location
    Lisbon
    MS-Off Ver
    Excel 2016
    Posts
    174

    Re: Linking data from all sheets into a dynamic summary sheet.

    Thread solved.
    See here the solution.

  18. #18
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Linking data from all sheets into a dynamic summary sheet.

    Why did you open a duplicate thread?

  19. #19
    Forum Contributor Anka's Avatar
    Join Date
    08-25-2012
    Location
    Lisbon
    MS-Off Ver
    Excel 2016
    Posts
    174

    Re: Linking data from all sheets into a dynamic summary sheet.

    Sorry arlu , but this is not a duplicate post. Do not confuse. Have something in common. An summary sheet of all sheets and the data is linked here.
    And the other thread is called "Add two more columns, modifying an existing VBA code help." I have not managed to change ...
    In my opinion it is not duplicated. Just similar, but quite different.
    And consider, much better the VBA offered by zbor in this thread.

+ 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