+ Reply to Thread
Results 1 to 4 of 4

Splitting one table into multiple tables

  1. #1
    Registered User
    Join Date
    06-24-2019
    Location
    Toronto
    MS-Off Ver
    365
    Posts
    2

    Splitting one table into multiple tables

    Hello everyone,

    I have a massive table that has different values on multiple columns per row.

    I would like to split this giant table into smaller ones depending on project phases.

    For example, if the first columns shows phase one then i want the entire row to go to phase one table from the master table.

    If the second cell shows phase two then I want that to go to the table of phase two

    I can do this with the IF command but then I would have empty rows in my tables, how to avoid that?!

    I hope i explained it well and did not complicate it. I need to do this without macros preferably.

    Thanks!

    Towaiji

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Splitting one table into multiple tables

    One way.
    Create a key column to the right of your data. In this column copied down
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    In the destination table, Starting in A3 (in my example) and copying right and down (create new in each phase table)
    =IFERROR(INDEX(Sheet1!A$2:A$20,MATCH("Phase 1_"&ROWS($A$3:$A3),Sheet1!$D$2:$D$20,0)),"")

    See example file. Questions?
    Attached Files Attached Files
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    06-24-2019
    Location
    Toronto
    MS-Off Ver
    365
    Posts
    2

    Re: Splitting one table into multiple tables

    Thank you for your example, it worked perfectly but in order for me to replicate it, would you please explain how to you set up your equations?

    Thanks!

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Splitting one table into multiple tables

    No problem. Do you understand how to use a basic INDEX/MATCH?

    https://www.contextures.com/xlFunctions03.html

+ 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. Pivot Table from Multiple Tables
    By EikonicPhoto in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 08-31-2017, 02:23 PM
  2. Combining multiple tables into one table
    By NDmad in forum Excel General
    Replies: 1
    Last Post: 07-20-2016, 03:48 PM
  3. [SOLVED] Splitting a Table into Two Tables
    By illyBLC in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 10-29-2013, 06:51 AM
  4. Pivot table with multiple tables in it
    By myrench in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 05-28-2013, 03:40 PM
  5. Splitting tables
    By MartinMN in forum Excel General
    Replies: 7
    Last Post: 11-06-2012, 11:58 AM
  6. VBA Pivot Table - Multiple Tables - Multiple Sources of Data
    By ryanmorris in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-08-2012, 03:13 PM
  7. Multiple tables into 1 ever updating table
    By Boomer17 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-16-2012, 09:03 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