+ Reply to Thread
Results 1 to 8 of 8

Turning the items in a table column into the headers of another table and auto update

  1. #1
    Registered User
    Join Date
    05-07-2014
    Location
    Nevada
    MS-Off Ver
    Excel 365
    Posts
    17

    Turning the items in a table column into the headers of another table and auto update

    Hello,

    I have multiple tables on different worksheets that I want to auto-update when the main one is updated. For example:
    I have areas of different areas of study named under each class.
    I want those areas of study to become the headers for another table on another worksheet but be updated if additional areas of study are added.

    In the example I am attaching, I have the "classes" and the "Tech II" worksheets. The Tech II column cells from the "Classes" worksheet are shown as row headers in the Tech II worksheet. I want to be able to update the "class" worksheet table column and have the updates show in the " in the "Tech II" Row header including any additions to the table. As of now there is nothing connecting them.

    I tried to use a query but it keeps deleting my added information when it updates.

    Thank you for your assistance and I hope I am putting this in the correct area,
    Cara
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,486

    Re: Turning the items in a table column into the headers of another table and auto update

    The formula would be
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Problem is, Excel won't let you have a formula in a Table Header.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,617

    Re: Turning the items in a table column into the headers of another table and auto update

    You have a tab named "Tech II", but the column header on the "Classes" tab is: "Tech II CUL 108" . The headers on Classes vary in length and number words. There is no indication of how you are determining the tab name from the header string. All of the Class column headers end in a three digit number; you could use those for the tab names.

    Please Login or Register  to view this content.
    Ben Van Johnson

  4. #4
    Registered User
    Join Date
    05-07-2014
    Location
    Nevada
    MS-Off Ver
    Excel 365
    Posts
    17

    Re: Turning the items in a table column into the headers of another table and auto update

    Thank you very much for your help, I guess I will try and figure out another way to set this up. Either way, I like the formula.

    Thank you,
    Cara

  5. #5
    Registered User
    Join Date
    05-07-2014
    Location
    Nevada
    MS-Off Ver
    Excel 365
    Posts
    17

    Re: Turning the items in a table column into the headers of another table and auto update

    protonLeah, Thank you for your help, but I couldn't get it to work, probably because I am doing something wrong when I enter it. Great idea on the tab names, I will probably do that to make it cleaner.

    Thank you,
    Cara

  6. #6
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,617

    Re: Turning the items in a table column into the headers of another table and auto update

    Here's the one I was working on. I was thinking about adding code to parse the column headers and create the sheets but... did not finish.
    The only one that works is Tech II since it's the only sheet
    Attached Files Attached Files
    Last edited by protonLeah; 10-23-2023 at 10:24 PM.

  7. #7
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,617

    Re: Turning the items in a table column into the headers of another table and auto update

    Create new sheets with course number as tab name:
    Please Login or Register  to view this content.

  8. #8
    Registered User
    Join Date
    05-07-2014
    Location
    Nevada
    MS-Off Ver
    Excel 365
    Posts
    17

    Re: Turning the items in a table column into the headers of another table and auto update

    protonLeah,

    I created the tabs by the course number and just changed it from a table to normal and will just add new classes inside the area instead of at the bottom.

    The reason I was trying to do it was so it didn't need to be updated in multiple places and so far it seems to be working ok, still in test mode.

    The original idea was for a single update point but also that it will feed a master sheet containing 3 dropdowns with the second dependent on the first, and the third drawing information from a separate tab and dependent on the first two. For example DD 1 = Tech II DD2=Lamb DD3=Pork Scallops with Apples. I have the first two figured out and am working out the third.

    I hope this makes sense. I did use your idea of the sheets using an array and I managed to get it to look for the number on the "classes" sheet but return the name which is what is preferable for the visual of the final sheet.

    Now I have a new problem with another aspect but I think I need to start a new thread for it because it is a different problem? It has to do with deleting duplicates but first moving the column data on the right up to the first occurrence of the duplicate so it can total all occurrences. Currently, it is done manually by sorting by "ingredient" and then moving the data.

    Here is where I am at right now, I don't know if this kind of helps you understand what I am trying to do or not and I haven't finished filling in all the data, just trying to get the main items working right now.

    Thank you again for all your help,
    Cara
    Attached Files Attached Files
    Last edited by Caraexcel; 10-26-2023 at 02:22 AM. Reason: I forgot to upload the attachment

+ 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. [SOLVED] League Table auto update RANK goes lower than avaliabe on table
    By killhi12 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-11-2019, 04:48 PM
  2. Create a table/pivot table using different items items from a column
    By stevetton in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 09-28-2016, 10:30 PM
  3. VBA: Fill out column with lookup table refering to table headers
    By AnnaGT in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-02-2015, 03:03 AM
  4. Replies: 2
    Last Post: 06-16-2013, 02:58 PM
  5. Turning 2 row table into a multi-column table
    By kle in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 05-28-2013, 05:20 PM
  6. Pivot table auto update column
    By elqueso2 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 01-31-2013, 10:47 AM
  7. Auto update cells in a table, based on the content of another table...
    By Darth269 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-29-2012, 04:19 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