+ Reply to Thread
Results 1 to 9 of 9

Extract & Categorize from Master Tables Into Multiple Tables

  1. #1
    Valued Forum Contributor
    Join Date
    07-16-2007
    Location
    GA
    MS-Off Ver
    Office 365 - Version 2403
    Posts
    1,054

    Question Extract & Categorize from Master Tables Into Multiple Tables

    Hi

    I'm assuming this is possible some how

    I have a Master Table with Categories & Skills.

    I'm looking to extract or categorize into multiple other tables

    Looking for a less manual process other than filtering, copying & pasting

    I think an Index type of function would work but not sure how

    See example tables

    Thanks
    Attached Files Attached Files
    Last edited by mycon73; 05-13-2018 at 11:59 PM.
    MyCon
    -- Using Latest Version of Excel

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,972

    Re: Extract & Categorize from Master Tables Into Multiple Tables

    This ARRAY formula will do what you want, in the PM table. You will need to adjust PM to whatever other categories you need...
    E37=IFERROR(INDEX(C:C,SMALL(IF($C$15:$C$29="PM",ROW($C$15:$C$29)),ROWS($A$1:A1))),"")
    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.
    Then copy down and across as needed
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: Extract & Categorize from Master Tables Into Multiple Tables

    If you are able to use PowerQuery try attached file

    or

    Power Query for

  4. #4
    Valued Forum Contributor
    Join Date
    07-16-2007
    Location
    GA
    MS-Off Ver
    Office 365 - Version 2403
    Posts
    1,054

    Re: Extract & Categorize from Master Tables Into Multiple Tables

    Hi FDibbins

    Thanks for answering.

    As instructed, copied the array function in E37

    In Cell D37 - Got the result as, "PM" - Not, "Skills 1" as expected

    Shouldn't this function be reading both C & D columns to get the results correlated per row for the other categorized tables

    Thanks

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,972

    Re: Extract & Categorize from Master Tables Into Multiple Tables

    Apologies, that should have gone in C37. You can then copy it to D37.

  6. #6
    Valued Forum Contributor
    Join Date
    07-16-2007
    Location
    GA
    MS-Off Ver
    Office 365 - Version 2403
    Posts
    1,054

    Re: Extract & Categorize from Master Tables Into Multiple Tables

    Hi FDibbins

    Still getting same results

    From the Master Table or 1st Table, the intent is to go down the column & extract wanted Category, then put the "Skill" to the right of it in the desired table(s) below - Almost like Index / Match Function would do.


    Cats = Categories
    PM = Project Management
    CAD = CAD, Data Management
    D = Disasters
    EQ = Engineering & Quality
    L = Logistics

    As seen in the example, the above categories are selected multiple times throughout the Master Table

    For example, in the 2nd Table, it's supposed to show all the "PM" skills

    Cats Skills
    1 PM • Skills 1
    2 PM • Skills 6
    3 PM • Skills 11
    4
    5

    Your array function almost works! Just needs a little tweaking somewhere.

    Thanks again....

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,972

    Re: Extract & Categorize from Master Tables Into Multiple Tables

    Did you enter using CTRL SHIFT ENTER, like I said? Just using ENTER on it's own, wont work with a formula like that.

    Below, I have run the calcs in col E and F, to compare with your sample answers...
    B
    C
    D
    E
    F
    36
    Cats
    Skills
    37
    1
    PM
    • Skills 1 PM • Skills 1
    38
    2
    PM
    • Skills 6 PM • Skills 6
    39
    3
    PM
    • Skills 11 PM • Skills 11
    40
    4
    41
    5

    E37=IFERROR(INDEX(C:C,SMALL(IF($C$15:$C$29="PM",ROW($C$15:$C$29)),ROWS($A$1:A1))),"")
    ARRAY entered, like I said, then copied down, and then copy them all across

  8. #8
    Valued Forum Contributor
    Join Date
    07-16-2007
    Location
    GA
    MS-Off Ver
    Office 365 - Version 2403
    Posts
    1,054

    Re: Extract & Categorize from Master Tables Into Multiple Tables

    Hi FDibbins

    Yes - I did you use the CTRL SHIFT ENTER, as directed

    Difference is that you created or used 2 extra columns which wasn't my intent. However, I managed to get this function working within my existing example!

    Function works great!!!

    Thank for the assistance

  9. #9
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,972

    Re: Extract & Categorize from Master Tables Into Multiple Tables

    Happy top help and thanks for the rep.

    The only reason I used the extra columns was so you could compare my answers to yours, they cont need to be there, you could just put the same formula in B and C

+ 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. How to merge multiple tables into 1 master table?
    By Ashley1016 in forum Excel General
    Replies: 11
    Last Post: 04-14-2017, 05:51 AM
  2. Replies: 5
    Last Post: 01-12-2017, 06:56 PM
  3. [SOLVED] Combine multiple tables into one master table
    By nemoo in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 02-24-2014, 12:33 PM
  4. Consolidate multiple tables into one master table
    By ceri_w in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-17-2014, 08:01 PM
  5. Creating a Master / Consolidated Pivot Tables from a multiple pivot tables
    By paradise2sr in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 12-12-2013, 02:28 AM
  6. Creating a Master / Consolidated Pivot Tables from a multiple pivot tables
    By paradise2sr in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 12-08-2013, 10:49 PM
  7. Pivot Tables, Multiple Worksheets, Different Column #'s, Needs to be in 1 Master
    By maverickballa24 in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 09-24-2013, 06: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