+ Reply to Thread
Results 1 to 4 of 4

Automatically create tables if other cells contain data

  1. #1
    Registered User
    Join Date
    07-30-2010
    Location
    Oregon
    MS-Off Ver
    Excel 2007
    Posts
    44

    Automatically create tables if other cells contain data

    I'd like to create a table that can be linked to Word, regardless of the range size. To create this table I want it to include only the relevant data. It should point to cells and determine whether there is information in those cells, if not, whether there in information in the next cell. It will repeat this process until it reaches the bottom of a specific range.

    If it is successful at filling a row with data, it will move on to the next row and continue from where it left off on the reference table.

    So for example:

    The reference table Includes

    Title
    Inventory
    Equipment $50
    Supplies
    Other $20

    The table that would be automatically created would include:

    Title
    Equipment $50
    Other $20


    This was just an example, the real creation may include tables that are over 30 rows tall. Thanks in advance.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Automatically create tables if other cells contain data

    Hello rrbest,

    You should post your workbook. Not many people are inclined to recreate your data and repeatedly provide solutions based on guesswork.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Registered User
    Join Date
    07-30-2010
    Location
    Oregon
    MS-Off Ver
    Excel 2007
    Posts
    44

    Re: Automatically create tables if other cells contain data

    Attached is a workbook that contains a table "input" table and the desired "output" table.

    The output table should be automatically created based on whats in the input table. If you were to add more position to the input tables, the output table would get longer. The result should be something that I can define as a name so that when linked to word it gets resized when the link is updated. Thanks in advance for the wonderful help.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    07-30-2010
    Location
    Oregon
    MS-Off Ver
    Excel 2007
    Posts
    44

    Re: Automatically create tables if other cells contain data

    Any potential solutions for this? Thanks in advance.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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