+ Reply to Thread
Results 1 to 5 of 5

Consolidate data from multiple worksheets

  1. #1
    Registered User
    Join Date
    01-31-2012
    Location
    Australia
    MS-Off Ver
    OFFICE 365
    Posts
    34

    Consolidate data from multiple worksheets

    Hi All,

    I am trying to create an attendance sheet for computer classes at our Men's Shed.

    I have been able to design the monthly pages with relevant data including VBA code, but am at a loss on the last page where I consolidate all those attendances.
    As people can attend whichever session they want, there are going to be duplicate names as well as new names each month. Obviously, I don't want to duplicate those names on the last page, but rather one occurrence of each person but summing up all attendance over a period of several months.

    I have attached a sample spreadsheet to better explain what I am trying to do.

    I have recently updated to Office 365 so not familiar with all the new features from my previous version of office.

    Thanks in advance.

    Paul.
    Attached Files Attached Files

  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
    80,734

    Re: Consolidate data from multiple worksheets

    This will get your unique list of names:

    =SUBSTITUTE(IFERROR(SORT(UNIQUE(FILTERXML("<A><B>"&TEXTJOIN("</B><B>",TRUE,JANUARY!A4:A100&" "&JANUARY!B4:B100,FEBRUARY!A4:A100&" "&FEBRUARY!B4:B100)&"</B></A>","//B")),,1),"")," ",", ")

    and this the values:

    =IFNA(INDEX(INDIRECT("'"&B$2&"'!$AF$4:$AH$28"),MATCH(1,(INDIRECT("'"&B$2&"'!$A$4:$A$28")=LEFT($A3,FIND(",",$A3)-1))*(INDIRECT("'"&B$2&"'!$B$4:$b$28")=MID($A3,FIND(",",$A3)+2,99)),0),MATCH("Total
    Attendance",INDIRECT("'"&B$2&"'!$AF$2:$AH$2"),0)),"")

    There have had to be a couple of small tweaks to your summary sheet to facilitate this.
    Attached Files Attached Files
    Last edited by AliGW; 01-22-2022 at 10:17 AM.
    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-31-2012
    Location
    Australia
    MS-Off Ver
    OFFICE 365
    Posts
    34

    Re: Consolidate data from multiple worksheets

    Thank you Ali, that works perfectly,

    I have to admit that I don't understand about 90% of the formulas but it works beautifully. I will definitely be dissecting it bit by bit to get a greater understanding of how it works for future use.

    Thanks again, you're a legend.
    Cheers Paul

  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
    80,734

    Re: Consolidate data from multiple worksheets

    Let us know if you need help dissecting it.

    You may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

  5. #5
    Registered User
    Join Date
    01-31-2012
    Location
    Australia
    MS-Off Ver
    OFFICE 365
    Posts
    34

    Re: Consolidate data from multiple worksheets

    Sorry Ali, I thought I had responded re Reputation. I tried to add to your reputation but received the following message "You must spread some Reputation around before giving it to AliGW again"

    For the record and anyone else who reads this post, your assistance and solution to my request for help has been invaluable. I am in awe of your excel skills and your willingness to share them with me and everyone else who is seeking help on this forum.

    Thank you again

    Paul

+ 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. 'Consolidate' data from multiple worksheets
    By spliknik in forum Excel General
    Replies: 4
    Last Post: 11-03-2005, 09:40 AM
  2. [SOLVED] How to consolidate data from multiple worksheets.
    By SAR in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 07:05 PM
  3. [SOLVED] How to consolidate data from multiple worksheets.
    By SAR in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 09:05 AM
  4. How to consolidate data from multiple worksheets.
    By SAR in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 07:05 AM
  5. [SOLVED] How to consolidate data from multiple worksheets.
    By SAR in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 06:05 AM
  6. How to consolidate data from multiple worksheets.
    By SAR in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 04:05 AM
  7. How to consolidate data from multiple worksheets.
    By SAR in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 AM
  8. [SOLVED] How to consolidate data from multiple worksheets.
    By SAR in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 01:05 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