+ Reply to Thread
Results 1 to 6 of 6

Is there a way to link multiple table ranges togehter?

  1. #1
    Registered User
    Join Date
    05-10-2016
    Location
    Bratislava
    MS-Off Ver
    2013
    Posts
    23

    Lightbulb Is there a way to link multiple table ranges togehter?

    Hello forum,

    I have an excel file where I paste raw data into a table and it expands automatically, depending on how much data I paste in as usual with tables. This tab is called "Raw Data". Beside this I have a tab called "Processed Data" in which I have another table where I have multiple functions to create multiple metrics from this raw data.

    What I want to achieve is to have the same number of rows in the processed data table as in the raw data table. As the processed data table contains functions, it does not expand automatically.

    Is there a way to let excel expand the second table automatically to have the same range as the first table?

    Example: In the "Raw Data" table, I pasted 75 rows of information. When I go to the "Processed Data" tab, I want the range to be 75 rows as well. (The number of columns hereby stays the same).

    Don't hesitate to write me if you need more information.

    Thanks in advance for the help!

    Best regards,
    Adam

  2. #2
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: Is there a way to link multiple table ranges togehter?

    Data Model can do that natively, as can a Pivot table.

    Otherwise why dont you append the processed columns TO the raw data? This way you dont have to worry about a link, you can instead just drag the formulas to the bottom of the dataset.
    Please ensure you mark your thread as Solved once it is. Click here to see how.
    If a post helps, please don't forget to add to our reputation by clicking the star icon in the bottom left-hand corner of a post.

  3. #3
    Registered User
    Join Date
    05-10-2016
    Location
    Bratislava
    MS-Off Ver
    2013
    Posts
    23

    Re: Is there a way to link multiple table ranges togehter?

    Hello mikeTRON and thanks for your comment!

    I cannot do that because of safety reasons so that the processed data doesn't mess up the raw data... The processed data has to be separate, e.g. in another tab.

    Could you describe a little bit further how I can do that with the data model or send me a link to a tutorial? I would be very thankful!

    Have a nice day!

    Adam

  4. #4
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: Is there a way to link multiple table ranges togehter?

    You can't add columns to the right of the data because of safety? That seems a bit absurd. :p

    Anyway, you CAN create a simple macro that automatically grabs the data and copies and pastes it to your PROCESSED data tab, OR you can use the powerpivot or data model in Excel 2013.

    I am not sure exactly what you are trying to accomplish with your processing and such but this link is a very basic how to of the data model (also known as PowerPivot).
    http://chandoo.org/wp/2013/07/01/int...relationships/


    If you would like more specific help then attach a sample workbook. 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.

  5. #5
    Registered User
    Join Date
    05-10-2016
    Location
    Bratislava
    MS-Off Ver
    2013
    Posts
    23

    Re: Is there a way to link multiple table ranges togehter?

    Hey mikeTRON,

    well, by safety I mean not messing up the file when pasting. The file will be used by a lot of people and I just want to ensure that it has the least probability of issues possible...

    However, I tried to create a copy-paste macro and it worked! Thank you very much for the suggestion! I used this simple line of code for this:

    Worksheets("Raw Data").Range("Copy_Range").Copy Worksheets("Metrics").Range("Paste_Range")

    I'm a bit new to the forum.. Where can I rate your help?

    Thanks a lot once again!

    Have a nice day!

    Adam

  6. #6
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: Is there a way to link multiple table ranges togehter?

    As much as I like complex logic, the simple solutions are by far my favorite. I am glad you found a simple solution.


    There is a little star at the bottom left of the post that you can add reputation if you would like.

+ 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. Extract Data from table with multiple ranges
    By laguna92651 in forum Excel General
    Replies: 2
    Last Post: 11-16-2014, 04:38 PM
  2. Using the IF and VLOOKUP function togehter
    By Tiny3 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-10-2014, 07:55 AM
  3. [SOLVED] Create code to update named ranges in a table. Table contains Many Name Ranges
    By Calio in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-09-2014, 11:13 AM
  4. Compiling multiple ranges of cells from multiple sheets into one grand table ?
    By teacher_rob in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-24-2012, 11:42 AM
  5. [SOLVED] need macro or anything to link multiple pivot table
    By koi in forum Excel General
    Replies: 1
    Last Post: 10-13-2012, 06:47 AM
  6. Link multiple things into a single table
    By danielshillcock in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-20-2011, 08:10 AM
  7. [SOLVED] Pivot Table-Using Multiple SS's or Ranges?
    By Jugglertwo in forum Excel General
    Replies: 2
    Last Post: 02-05-2005, 01:06 AM

Tags for this Thread

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