+ Reply to Thread
Results 1 to 4 of 4

How to automate a table?

  1. #1
    Registered User
    Join Date
    02-13-2023
    Location
    Manila
    MS-Off Ver
    Office for MAC
    Posts
    2

    Post How to automate a table?

    Hello!

    I'm not even sure if my message title is correct but let me try to explain. I have a raw data that needs to be put in a specific table format (please see attached file).

    I'm wondering if there's a way to fill in the table by just putting one specific column data and it will automatically complete the table?

    For example: Can I just put in a corresponding Batch Code?

    Screen Shot 2023-02-13 at 6.46.17 PM.png
    Attached Files Attached Files

  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,944

    Re: How to automate a table?

    Perhaps if you show your expected outcome, it would help us to understand what you want? Your 2 tables are both identical (and both empty)

    Also, please dont include links to files we have no access to.
    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
    Registered User
    Join Date
    02-13-2023
    Location
    Manila
    MS-Off Ver
    Office for MAC
    Posts
    2

    Re: How to automate a table?

    Thank you. I've updated the attached file with the expected results. Some batch code have more data (with Quality check 1, quality check return 1... etc.).
    Attached Files Attached Files

  4. #4
    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,944

    Re: How to automate a table?

    Using your 2nd table

    For the Empl....
    D19=INDEX('Raw data'!$F$8:$AB$20,MATCH(Chart!$D$17,'Raw data'!$A$8:$A$20,0),MATCH(Chart!B19,'Raw data'!$F$7:$AB$7,0))
    copied down

    Errors noted
    Orange in your table has a trailing space - remove that - and check for others, too
    Lemon and Banana doesnt have Employee #
    The 2nd last category (Quality return check 2) has words swapped around

    This formula works if each sub-table has teh same amount of columns (maybe add a dummy column where needed to make the amount equal)....

    D26=INDEX('Raw data'!$B$8:$AV$20,MATCH(Chart!$D$17,'Raw data'!$A$8:$A$20,0),MATCH(D$24,'Raw data'!$B$6:$AV$6,0)-1+MATCH($B26,'Raw data'!$F$7:$J$7,0))
    copied down and across

+ 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. Automate this table
    By Happyman123uk in forum Excel General
    Replies: 7
    Last Post: 10-20-2017, 02:43 PM
  2. [SOLVED] How to automate a productivity table
    By LWLS in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-27-2014, 10:17 AM
  3. [SOLVED] Pulling Aggregate Data from Table 1 to Automate Drawing Conclusions from Table 2
    By QuantumPolagnus in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-11-2013, 05:14 PM
  4. Automate: 1) wipe out table and 2) copy data from another table to it
    By Ragnaros in forum Access Tables & Databases
    Replies: 2
    Last Post: 05-08-2013, 08:22 PM
  5. Need to rename sheets and automate pivot table and summary table
    By sameerk0286 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-13-2010, 03:08 AM
  6. How to automate a formula on a table
    By padraigb in forum Excel General
    Replies: 5
    Last Post: 05-09-2010, 09:41 PM

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