+ Reply to Thread
Results 1 to 4 of 4

Combine two sets of extracted table data

  1. #1
    Registered User
    Join Date
    09-26-2022
    Location
    Chester, England
    MS-Off Ver
    365
    Posts
    2

    Combine two sets of extracted table data

    I have two tables. One with all staff (StaffDetailsTbl) and one with staff allocated to projects (AllStaffProjectAllocationTbl). I have a function that someone kindly helped me with (as I'm not so experienced with Excel) to gather all the staff from the AllStaffProjectAllocationTbl that are available after a set date. This also supports filtering the data for discipline, role, employee via a number of dropdown selectors - I'd like to retain this :

    Please Login or Register  to view this content.
    The resulting data looks like the following:

    AvailabilityData.JPG

    I subsequently realised I needed to include all the staff from the StaffDetailsTbl who weren't on the AllStaffProjectAllocationTbl too. So I created the following to grab all the rows from the StaffDetailsTbl and filter out the matching rows from AllStaffProjectAllocationTbl
    whilst also ensuring the staff member has a development role
    Please Login or Register  to view this content.
    to give the following resulting data to the left in the following image:

    StaffNotAllocatedToProject.JPG

    What I now need to do is somehow combne the left table defined by the filter into the original Let function above. Does anyone know how I would go about this? Or have an alternative approach?

    Edit:

    I have now attached some sample data with the following comment in S18 on the available staff sheet: I'm looking to merge the two sets of variable data currently defined by A3:E11 and M3:P5 to produce the above defined by S3:V13 whilst also retaining the functionality defined by the Let function in A3.
    Attached Files Attached Files
    Last edited by AutomationMonkey; 09-26-2022 at 06:19 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
    79,404

    Re: Combine two sets of extracted table data

    Welcome to the forum.

    There are instructions at the top of the page explaining 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. 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
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Combine two sets of extracted table data

    Welcome to the Excel forum.

    You get quicker en better help if you add an excel file.



    HOW TO ATTACH YOUR SAMPLE WORKBOOK:

    Fast answers need clear examples. Post a small Excel sheet (not a picture) showing realistic & representative sample data WITHOUT confidential information (10-20 rows, not thousands...) and some manually calculated results. For a new thread (1st post), scroll to Manage Attachments, otherwise scroll down to GO ADVANCED, click, and then scroll down to MANAGE ATTACHMENTS and click again. Now follow the instructions at the top of that screen.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  4. #4
    Registered User
    Join Date
    09-26-2022
    Location
    Chester, England
    MS-Off Ver
    365
    Posts
    2

    Re: Combine two sets of extracted table data

    Thanks AliGW and Oeldere, I've now attached a sample project.

+ 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: 8
    Last Post: 08-24-2022, 05:00 AM
  2. Create new table with data extracted from another table
    By josekr80 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-25-2020, 09:32 AM
  3. Replies: 1
    Last Post: 08-18-2019, 05:24 AM
  4. [SOLVED] extracted data from a table and grouped them into pairs would like to know how often they
    By khanaran in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-07-2017, 05:52 AM
  5. Combine two data sets and merge them into one table
    By oddy73 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-03-2015, 09:02 PM
  6. Combine to sets of data
    By rlsmith789 in forum Excel General
    Replies: 2
    Last Post: 07-08-2014, 07:43 PM
  7. Combine two sets of data
    By FrankCastle in forum Excel General
    Replies: 4
    Last Post: 08-15-2011, 06:31 PM

Tags for this Thread

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