+ Reply to Thread
Results 1 to 10 of 10

Transfer dynamic data from one spreadsheet to another and keep it static

  1. #1
    Registered User
    Join Date
    05-17-2015
    Location
    Dubai
    MS-Off Ver
    2013
    Posts
    19

    Transfer dynamic data from one spreadsheet to another and keep it static

    Hi all,

    I have a sheet which contains dynamic data (sheet2 in the attached workbook), refreshed frequently. Data displayed relates to a specific country, selected from the dropdown in A1. The only manual entries one can make are in column E. The rest of the calculations are based on the manual entries.

    Now I want to transfer this data on another sheet (sheet3), so that information for the countries are stored one after the other, in the same format as sheet2.

    I am unfamiliar with Macros/VBA so any help in bringing about the solution would be highly appreciated.


    Many thanks in advance!
    Attached Files Attached Files

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,644

    Re: Transfer dynamic data from one spreadsheet to another and keep it static

    Follow these steps
    • Right click on sheet name
    • Move or copy
    • (check) Create a copy
    • OK

  3. #3
    Registered User
    Join Date
    05-17-2015
    Location
    Dubai
    MS-Off Ver
    2013
    Posts
    19

    Re: Transfer dynamic data from one spreadsheet to another and keep it static

    Hi zbor,

    Thanks for this. Although in the example I showed only 4 countries in the dropdown list, there might be many more, over 20 or so. I was looking at an automated solution for this.

    So, this wouldn't be possible even using Macros/VBA, is that what you're hinting at?

    Many thanks.

  4. #4
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,644

    Re: Transfer dynamic data from one spreadsheet to another and keep it static

    For your solution ideal would be to use Pivot table.
    However, you should reorganize your Data sheet for that and get used to it.
    once you get used to it everything would be much simplier.

    And you could also split your countries per sheets.

  5. #5
    Registered User
    Join Date
    05-17-2015
    Location
    Dubai
    MS-Off Ver
    2013
    Posts
    19

    Re: Transfer dynamic data from one spreadsheet to another and keep it static

    zbor, unfortunately, the design of the table cannot be changed. There needs to be dropdown list on the first sheet from where companies are selected and that country-specific data needs to stored in the other sheet without having to manually copy data for each country. I would've done that if there were just handful of countries but like I said the list could be very long.

  6. #6
    Registered User
    Join Date
    05-17-2015
    Location
    Dubai
    MS-Off Ver
    2013
    Posts
    19

    Re: Transfer dynamic data from one spreadsheet to another and keep it static

    Does this call for a "Bump"?

  7. #7
    Registered User
    Join Date
    05-17-2015
    Location
    Dubai
    MS-Off Ver
    2013
    Posts
    19

    Re: Transfer dynamic data from one spreadsheet to another and keep it static

    Ok. So now I have gotten around to a temporary solution. I have used Macros to copy the entire data into another worksheet. However, now the problem that I face is that if I change the data for a country twice, both data sets get copied on the next sheet, while I only the latest data-set for a particular country to be copied to the next sheet. That is, if the data for a particular country is updated more than once, the previously copied data on the other sheet for that country alone should be overwritten with the new data. Please help!

    This is all that I have for now:

    Private Sub CommandButton1_Click()
    ActiveSheet.Range("A1:F44").Copy
    With Sheets("Sheet1").Cells(Rows.Count, "A").End(xlUp).Offset(1, 0)
    .PasteSpecial xlPasteFormats
    ActiveSheet.Range("A1:F44").Copy
    With Sheets("Sheet1").Cells(Rows.Count, "A").End(xlUp).Offset(1, 0)
    .PasteSpecial xlPasteValues
    Application.CutCopyMode = False
    Sheets("Sheet2").Activate
    End With
    End With
    End Sub
    Attached Files Attached Files

  8. #8
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,644

    Re: Transfer dynamic data from one spreadsheet to another and keep it static

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here



    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)

  9. #9
    Registered User
    Join Date
    05-17-2015
    Location
    Dubai
    MS-Off Ver
    2013
    Posts
    19

    Re: Transfer dynamic data from one spreadsheet to another and keep it static

    Sorry for that zbor, Please find the code below:

    Please Login or Register  to view this content.

  10. #10
    Registered User
    Join Date
    05-17-2015
    Location
    Dubai
    MS-Off Ver
    2013
    Posts
    19

    Re: Transfer dynamic data from one spreadsheet to another and keep it static

    Nobody there to help me with this?

+ 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. auto convert data from dynamic table to static data
    By wijnand in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-23-2015, 10:11 AM
  2. [SOLVED] Making dynamic data static
    By clarkyblade in forum Excel General
    Replies: 2
    Last Post: 08-07-2014, 08:44 AM
  3. [SOLVED] Moving static data corresponding with dynamic data
    By caseys_93 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-19-2014, 06:11 AM
  4. Data Validation list with static and dynamic values
    By jontherev in forum Excel General
    Replies: 2
    Last Post: 04-25-2014, 01:35 PM
  5. Replies: 3
    Last Post: 01-09-2012, 09:04 PM
  6. Data Transfer to a new spreadsheet
    By dpc99999 in forum Excel General
    Replies: 7
    Last Post: 02-16-2009, 09:46 AM
  7. Dynamic data, static range, not updating.
    By Mike K in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 06-08-2006, 12:10 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