+ Reply to Thread
Results 1 to 6 of 6

Make tables the same length in different sheets

  1. #1
    Registered User
    Join Date
    10-13-2015
    Location
    Romania
    MS-Off Ver
    2010
    Posts
    11

    Make tables the same length in different sheets

    I have a table defined in the first sheet, and I want to define another table that is the same size in another sheet.
    Basically I want to link those two tables so that when I add a row in the first table, the second table gets expanded, too

    So, if table1 on sheet1 is 22 rows, then table2 on sheet2 should also have 22 rows.
    Then, if I increase table1 to 23 rows, I want table2 to increase to 23 rows, too.

    Is there a possibility to set the size on the second table to automatically grow with the first table?

    Thank you

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,893

    Re: Make tables the same length in different sheets

    Attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    10-13-2015
    Location
    Romania
    MS-Off Ver
    2010
    Posts
    11

    Re: Make tables the same length in different sheets

    I attached the sample file.

    Thank you!
    Attached Files Attached Files

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,569

    Re: Make tables the same length in different sheets

    I feel that you could modify your formulas and produce a pseudo table.
    The formula in column B could be modified to read: =IF(SUMPRODUCT(--(C2:G2=""))=5,"",COUNTIF($C$2:C2,">"""))
    The formula for columns C:G could be modified to read: =IF(AND(INDEX(Tasks!C:C,ROW())>0,INDEX(Tasks!D:D,ROW())=""),INDEX(Tasks!$B:$B,ROW()),"")
    Note that in the attached file the formulas are filled through row 29.
    If you would like the banded rows, conditional formatting could be set using: =AND($B2<>"",ISEVEN(ROW()))
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  5. #5
    Registered User
    Join Date
    10-13-2015
    Location
    Romania
    MS-Off Ver
    2010
    Posts
    11

    Re: Make tables the same length in different sheets

    Thank you, this is useful.

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,569

    Re: Make tables the same length in different sheets

    You're Welcome and thank you for the feedback. If this resolves the issue please take a moment to mark the thread as 'Solved' using the thread tools menu above your first post. I hope that you have a blessed day.

+ 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: 4
    Last Post: 07-05-2017, 02:11 PM
  2. Replies: 7
    Last Post: 01-23-2017, 11:50 AM
  3. Add zeros to cell to make same length
    By jram in forum Excel General
    Replies: 2
    Last Post: 06-21-2011, 04:56 PM
  4. Replies: 1
    Last Post: 04-10-2011, 09:51 PM
  5. Replies: 2
    Last Post: 08-22-2005, 02:05 PM
  6. copy variable length cells to a new sheets
    By Souris in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-16-2005, 01:05 AM
  7. how do I make different length months the same value?
    By bee333 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 02-10-2005, 12:06 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