+ Reply to Thread
Results 1 to 10 of 10

Combine multiple datasets into one

  1. #1
    Registered User
    Join Date
    05-18-2011
    Location
    Ireland
    MS-Off Ver
    Excel 2010
    Posts
    24

    Combine multiple datasets into one

    Hi All.
    I hope i'm in the correct sub.....

    I'm developing a product configurator in excel and I'm at a point now where I can generate multiple bills of materials for separate parts of my product. These BOMs consist of part numbers and quantities, so two columns of data.

    I will have 20 sets of this data and I want to be able to combine them into one set of data with any duplicate part number and their quantities being added together.
    I have been trying to use the consolidate function but its a bit clunky, or maybe i' doing it wrong..... My lists can be dynamic so I want the combined list to auto update also. Not sure if "consolidate" can do this easily.

    Any help would be greatly appreciated.

    P.S. I also need the consolidated list to automatically update if I make a change to a configuration.

    Barry
    Last edited by barrymac20; 03-04-2019 at 05:16 PM.

  2. #2
    Forum Contributor noboffinme's Avatar
    Join Date
    08-29-2013
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2003/7/10/13/16/19
    Posts
    1,071

    Re: Combine multiple datasets into one

    Hi,
    Can you post a file or example?
    Remember you are unique, like everyone else

  3. #3
    Registered User
    Join Date
    05-18-2011
    Location
    Ireland
    MS-Off Ver
    Excel 2010
    Posts
    24

    Re: Combine multiple datasets into one

    I have attached a sample with two sets of data. There will be up to 20 sets in practice.
    The Data in columns D,E,N,O is derived from formulae. (Formulas are removed in the sample attached)
    The Data in columns B,C,L,M are copys of the data in D,E,N,O.
    I've gone this route as I couldn't get the consolidate to work with the columns with formulae. I've had a bit more joy with the copied data.

  4. #4
    Registered User
    Join Date
    05-18-2011
    Location
    Ireland
    MS-Off Ver
    Excel 2010
    Posts
    24

    Re: Combine multiple datasets into one

    Sorry Guys. For some reason I can't upload the file!!

  5. #5
    Forum Contributor noboffinme's Avatar
    Join Date
    08-29-2013
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2003/7/10/13/16/19
    Posts
    1,071

    Re: Combine multiple datasets into one

    Hi Barry,
    As this is a bit complex, it would be good to see either the file or if it's a very large file, some dummy data that replicates the original.
    What problems are you having posting the file?

  6. #6
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,893

    Re: Combine multiple datasets into one

    Attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  7. #7
    Registered User
    Join Date
    05-18-2011
    Location
    Ireland
    MS-Off Ver
    Excel 2010
    Posts
    24

    Re: Combine multiple datasets into one

    File is now attached

    Hi All.
    I hope i'm in the correct sub.....

    I'm developing a product configurator in excel and I'm at a point now where I can generate multiple bills of materials for separate parts of my product. These BOMs consist of part numbers and quantities, so two columns of data.

    I will have 20 sets of this data and I want to be able to combine them into one set of data with any duplicate part number and their quantities being added together.
    I have been trying to use the consolidate function but its a bit clunky, or maybe i' doing it wrong..... My lists can be dynamic so I want the combined list to auto update also. Not sure if "consolidate" can do this easily.

    Any help would be greatly appreciated. I'm open to a VBA option if thats better....

    P.S. I also need the consolidated list to automatically update if I make a change to a configuration.

    Barry
    Attached Files Attached Files
    Last edited by barrymac20; 03-07-2019 at 06:00 AM.

  8. #8
    Forum Contributor noboffinme's Avatar
    Join Date
    08-29-2013
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2003/7/10/13/16/19
    Posts
    1,071

    Re: Combine multiple datasets into one

    Hi barrymac20,
    Thanks for posting the data, my first piece of feedback is that the format of how you keep your data needs to change.
    You will be able to do much more with your data if you format it n the same way as the attachment.
    Cheers
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    05-18-2011
    Location
    Ireland
    MS-Off Ver
    Excel 2010
    Posts
    24

    Re: Combine multiple datasets into one

    Thanks for the feedback.

    Can I ask why you think its better that way? Is it because its easier to consolidate as the data is in the same column?

    Note that the items in column F and G (in your example) are dynamic. These will change depending on whats selected elsewhere in the spreadsheet.

  10. #10
    Forum Contributor noboffinme's Avatar
    Join Date
    08-29-2013
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2003/7/10/13/16/19
    Posts
    1,071

    Re: Combine multiple datasets into one

    You have split your data into separate tables, therefore, to get it back together and report from it, you need to either change to what I've suggested or consolidate the data in another way (Pivot Tables with consolidated ranges etc...)
    Example if you tried to summarise your data in a Pivot Table, you have 2 Columns called 'Part Number', 'Qty' etc so you will one get an error about duplicate names, let's say you change the names to 'Part Number1', 'Qty1'. 'Part Number2', 'Qty2' to overcome this, which Column do you use in the Pivot?
    Btw, It won't matter if Columns 'F' & 'G' are dynamic.
    It would be the same even without a Pivot Table.
    Hope this makes sense.

+ 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: 4
    Last Post: 11-17-2015, 12:07 AM
  2. [SOLVED] Macro to combine data from two datasets based on matching strings
    By mfd in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-21-2014, 03:23 PM
  3. Displaying multiple datasets on one graph
    By samfau2 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 03-02-2014, 09:11 AM
  4. Array formula help, suming multiple datasets
    By ad9051 in forum Excel General
    Replies: 6
    Last Post: 03-04-2011, 07:33 AM
  5. Multiple Graphs From Many Unique Datasets
    By Austin1984 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 12-28-2010, 06:43 AM
  6. Determine top % contributors from multiple datasets
    By arsenoell in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-16-2010, 09:06 PM
  7. Macro for multiple charting of multiple datasets
    By mmf144 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-12-2006, 11:17 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