+ Reply to Thread
Results 1 to 6 of 6

Advice - Creating a list using data from 2 separate files

  1. #1
    Registered User
    Join Date
    01-06-2019
    Location
    Euro
    MS-Off Ver
    365
    Posts
    35

    Advice - Creating a list using data from 2 separate files

    Hi,
    I`m looking for some advice on how to do this in a more time friendly way.

    I have .xlsx files each with diff data but in the exact layout & column headers (see screenshot w/ example dummy data). Each file`s data is from a different month. My aim is to ultimately have 1 file with the data as shown in end result (either of those 2 end result layouts I`d be happy with).

    Screenshot 2024-04-19 180848.png

    Importantly: Any combination (but also obeying below rules) can (but not necessarily) be found in either of the files. The idea is build up historical performance data.

    Any idea how this can be done or how best to go about it?

    (I don`t think it is but if it`s necessary:
    • Landing Page URL and Design ID always equate to each other (eg. Design ID 100 equals www.burger.com)
    • A Team ID can be associated with many Location IDs
    • Location ID can only be associated with 1 Team ID.
    • Team ID can be associated with many Landing Page URLs (& hence Design IDs)...... & VICE VERSA so many Landing Page URLs
    )
    Last edited by Longissimus; 04-22-2024 at 10:02 AM.

  2. #2
    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
    81,224

    Re: Advice - Creating a list using data from 2 separate files

    There are instructions at the top of the page explaining how to attach your sample workbook (yellow banner: HOW TO ATTACH YOUR SAMPLE WORKBOOK). Screenshots are of little practical use as we cannot manipulate them.

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. The sample layout accurately matches that of your real data. It also has expected results mocked up, worked examples where required, relevant cells highlighted and a few explanatory notes.
    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.

  3. #3
    Registered User
    Join Date
    01-06-2019
    Location
    Euro
    MS-Off Ver
    365
    Posts
    35

    Re: Advice - Creating a list using data from 2 separate files

    Apologies.. I thought the file uploaded

    Mrexcel worksheet.xlsx

  4. #4
    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
    81,224

    Re: Advice - Creating a list using data from 2 separate files

    Your end result is a picture - I asked you to mock up the end result manually (five rows will do). We cannot manipulate pictures.

    And what does 'random numbers for each cell' mean?

  5. #5
    Registered User
    Join Date
    01-06-2019
    Location
    Euro
    MS-Off Ver
    365
    Posts
    35

    Re: Advice - Creating a list using data from 2 separate files

    Mrexcel worksheet.xlsx

    I thought it would be enough. Apologies for the royal screw up.

    I have attached it here. Hopefully this is exactly what is required

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,594

    Re: Advice - Creating a list using data from 2 separate files

    Perhaps this will help.
    1. Use the following Power Query code to combine the monthly tables:
    Please Login or Register  to view this content.
    2. Produce a pivot table from the combined table.
    Note that when data for a new month is added the range of data for that month will need to be converted into an Excel table and the name of the table should begin with tbl_ and then the month name. (i.e. tbl_May)
    Note that once the new table has been named select a cell in the current pivot table, right click the mouse and select refresh all.
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. Replies: 13
    Last Post: 01-03-2017, 02:24 PM
  2. Creating an Excel Report from 7 separate files using VBA
    By Ewoutvm in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-14-2016, 02:15 PM
  3. Creating an Excel Report from 7 separate files using VBA
    By Ewoutvm in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-12-2016, 11:42 AM
  4. Splitting Data Into Separate Files Based on Pre-Populated List
    By sigma1113 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-16-2011, 03:20 PM
  5. Creating a list, from data in a bunch of different files
    By Sibrulotte in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-25-2009, 05:22 PM
  6. Replies: 0
    Last Post: 07-14-2008, 10:58 AM
  7. Creating separate files from multiple sheets
    By Shuvro Basu in forum Excel General
    Replies: 1
    Last Post: 04-24-2006, 09:55 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