Linked tables, automatically expanding

vLeeuwen

New Member
Joined
Jun 12, 2013
Messages
2
Hi All,

First post here. I've a little question that is giving me a bit of a headache. Is it possible to link to tables in excel, so that if I add a entry (a new row) to one of the tables the other one will automatically expand with a new row?

Thanks!
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
I take you are talking about table objects (formerly known as list objects)?

Not without VBA. If you want VBA suggestion please tell us where the tables are (sheet names and ranges); and which field drives the change.
 
Upvote 0
Yes I'm talking about table objects. I already guessed it would come down to VBA, but my VBA knowledge is far from sufficient.

I've got the table Input on a sheet called Data, this table has a range [B4:F11] (without headers). The other table is called Calculation and is on the sheet Lists and has a range [G4:I11] (also without headers). The new line will be inserted at the Input table.

Thanks!
 
Upvote 0
I am having this same issue. I have 3 tables: Table1, Table2, and Table3. In Table3 there are 3 columns: Suppliers, Aluminum, and Steel. I want to make it so that Table2 autmatically adjusts and pulls the Supplier name from Table1/column1 when there is n entry in for Aluminum. Table2 will do the same thing, but it will only pull suppliers when there is an entry for Steel. Thanks!
 
Upvote 0
Btw, I've somewhat completed what I've asked above. The problem is that you have to make sure your tables are manually expanded first. However, ounce you do this then it will pull the data from the other tables.

The first equation I used to pull suppliers that had steel is
Code:
=IFERROR(INDEX('Table1'!$A$3:$A$622,SMALL(IF('Table1'!$N$3:$N$622<>"",ROW('Table1'!$A$3:$A$622)-ROW('Table1'!$A$3)+1),ROWS('Table1'!$A$3:$A3))),"")

The second equation I used to pull suppliers that had aluminum is
Code:
=IFERROR(INDEX('Table1'!$A$3:$A$622,SMALL(IF('Table1'!$K$3:$K$622<>"",ROW('Table1'!$A$3:$A$622)-ROW('Table1'!$A$3)+1),ROWS('Table1'!$A$3:$A3))),"")
 
Upvote 0

Forum statistics

Threads
1,223,923
Messages
6,175,399
Members
452,640
Latest member
steveridge

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top