+ Reply to Thread
Results 1 to 5 of 5

Is there any way to link two tables together to have the same range at all times?

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

    Exclamation Is there any way to link two tables together to have the same range at all times?

    Hello Excel-Community,

    I'm currently working on a file that analyses processes or to be exact analyses technical issues on facilities. It works with raw data which I paste into one sheet called "Raw Data"-sheet (obviously). The data contains information on who fixed the problem, what category the problem was, how urgent the problem was, etc.

    My task is to filter out the raw data and make calculations to create metrics on how fast the problem was solved, if it was solved remotely or on-site, etc. These calculations are made on the "Calculations"-sheet (again, obviously :P).

    For some of the calculations, I also need the entry sheet to fill in information such as working hours, national holidays etc. to exclude the duration of the process on those days or beside working hours.

    Furthermore I have one "Monthly Dashboard"-sheet in which I paste PivotTables to display data from the "Raw Data" sheet and from the "Calculations"-sheet.

    I hope I explained that clearly. Now to my issue:

    To eliminate the "(blank)" columns in my pivottables, I made tables out of information from the Raw data and calculations. Because the table would expand depending on how much information I entered it wouldn't leave any info behind as it would be the case if I would create a list.

    And my problem was solved. Almost... The raw data sheet was expanding when I pasted stuff into it but the calculations sheet which was linked to the raw data wasn't. I figured it would be because I didn't manually paste stuff into it.

    In this case I would have the correct information in the pivottables that depended on the raw data but incorrect and incomplete info in the pivottables that depended on the calculations because, again, the range of the calculations sheet wasn't expanding.

    To solve the problem, the calculations sheet would have to have the same amount of rows as the raw data sheet at all times. Is there any way to tell Excel that (via VBA for example)? Or do you have a alternative solution to my issue?

    I hope my explaining makes sense! I'm not a native as you can tell and I apologize for any false English grammar.

    Thank you very much in advance and feel free to ask any questions if something isn't clear.

    Kind 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 any way to link two tables together to have the same range at all times?

    So are you saying the calculation sheet automatically brings the data over, but the pivottable or whatever doesnt automatically grab the new range (to prevent BLANKS)?

    If so you can create a dynamic named range and link your pivot tables to it. You can do a count of rows on the RAW then use THAT row count to be the dynamic range row count.
    Or you could use VBA.

    Typically people post a sample workbook so we can see the problem, otherwise we spend all our time trying to understand each other in the forum, instead of solving the problem in EXCEL.
    Last edited by mikeTRON; 05-12-2016 at 03:56 PM.
    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
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Is there any way to link two tables together to have the same range at all times?

    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.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  4. #4
    Forum Expert GeneralDisarray's Avatar
    Join Date
    09-15-2011
    Location
    Pittsburgh, PA, USA
    MS-Off Ver
    Windows Excel 2016
    Posts
    1,416

    Re: Is there any way to link two tables together to have the same range at all times?

    Short answer - you want to use table objects. Long answer - need example :D
    Remember, saying thanks only takes a second or two. Click the star icon(*) below the post you liked, to give some Rep if you think an answer deserves it.

    Please,mark your thread [SOLVED] if you received your answer.

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

    Re: Is there any way to link two tables together to have the same range at all times?

    Hey guys, thank you all for your answers! The problem is resolved by now. Have a nice day! :D

+ 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] calculate turn around times range of times for weekday and weekend
    By xrayexceller in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 07-28-2013, 02:22 PM
  2. link tables
    By drobinson38 in forum Excel General
    Replies: 7
    Last Post: 05-16-2013, 03:48 PM
  3. Need Help to find the number of times a link has been shared in twitter
    By vijai in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-09-2013, 01:33 PM
  4. Can I link 2 SQL tables?
    By troverman in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 01-28-2013, 11:49 AM
  5. Times tables
    By whitetea in forum Excel General
    Replies: 10
    Last Post: 05-26-2012, 12:50 PM
  6. Multiple Data Tables Link and Calculate onto Target Tables
    By billexchry in forum Excel General
    Replies: 6
    Last Post: 03-04-2011, 02:42 PM
  7. [SOLVED] Creating a chart from two tables of Times
    By Stevie_J in forum Excel General
    Replies: 1
    Last Post: 07-23-2005, 04:05 PM
  8. Replies: 2
    Last Post: 02-23-2005, 03: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