+ Reply to Thread
Results 1 to 2 of 2

Combining data from various sheets, with different column order, into a new sheet.

Hybrid View

  1. #1
    Registered User
    Join Date
    02-08-2018
    Location
    London
    MS-Off Ver
    2019
    Posts
    35

    Combining data from various sheets, with different column order, into a new sheet.

    I have created a payment workbook for the membership organisation/charity I work for. We take membership fees by various methods - direct debit (DD), PayPal, from local groups, and some other methods. For DDs we get various reports each month - paid, unpaid, cancelled, new donor. So I now have a workbook with 6 sheets for DD paid, DD unpaid, DD cancelled, DD New Donor, PayPal, Group payments. All payments come from a specific member, and each member has a unique membership number, and the membership number (a simple 5 digits) is listed in a column on every sheet.

    What I want to do is to create a 7th sheet that automatically contains every line of data in those 6 sheets, but in a standard column layout. So, for e.g., the column layout might be:
    Mem#,date,amount,frequency,paymenttype
    For the DD paid sheet, the above might represent:
    Column#3,column#15,column#14,column#20,
    but for the PayPal sheet, it might represent:
    column#3,column#4,column#8,column#12
    The data in this new sheet would need to update automatically when new data is entered into the other sheets (we get monthly reports for all the DD stuff) and would ideally be contained in a table, as I want to be able to filter the mem# column to see a full payment history.

    Also, I may link this new sheet to a table in our membership Access database so that the full payment history will show on each member's 'page'.

    Ideas?

    TIA!

  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. 2406 (Windows 11 23H2 64-bit)
    Posts
    82,052

    Re: Combining data from various sheets, with different column order, into a new sheet.

    As you have Excel 2016, you should have Power Query on the Data ribbon (Get & Transform). What I'd do is load each of the 6 tables into PQ as connection only, and then merge the six queries using the ID field as the link field. You could then rearrange the columns in the new, merged query in PQ and then close and load to a new tab. You can then use just this table going forward, or maintain the six others and refresh the query to update the seventh.

    Can't help with the link to Access - sorry.
    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.

+ 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. Combining combo box data from different sheets in to one sheet
    By rajniissh in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-22-2016, 04:30 AM
  2. [SOLVED] Combining data across multiple sheets onto one summary sheet
    By dajul73 in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 07-29-2014, 02:10 PM
  3. 13th sheet combining the data from the preceding 12 sheets
    By TheNewBoy in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 06-21-2014, 01:15 PM
  4. Appending student data from multiple sheets in chronological order on another sheet
    By StudentTeacher in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-22-2010, 10:53 AM
  5. Replies: 3
    Last Post: 07-29-2009, 05:19 AM
  6. Combining 2 sheets of data to 1 sheet w/sorting
    By martin23b in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-26-2007, 05:07 PM
  7. Replies: 4
    Last Post: 02-22-2006, 05:20 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