Auto Update Between Two Tables (Adding Rows/Columns)

ScottTemple

Board Regular
Joined
Dec 28, 2023
Messages
103
Office Version
  1. 365
Platform
  1. Windows
Hello,

I have two tables on two separate tabs within the same workbook, labelled SHData and SHCOData. When I add new rows, columns and data to SHData I would like that data to populate in the SHCOData table, new rows/columns and data included. Only some of the data from SHData will need to be brought over to SHCOData though.

I've researched this topic online, however, I can only find reference to some VBA codes and either Power Pivot or Power Query, none of which has been able to answer my question.
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Hi @ScottTemple
Welcome to the Forum

What you want to achieve can be achieved. But important is to understand the table structure and data you want from SHData. Explain that to help you in a better way.

Also remember whatever you are pulling on SHCOData to remain dynamic the data will be Spill Data and not a structured table.
 
Upvote 0
Hi @ScottTemple
Welcome to the Forum

What you want to achieve can be achieved. But important is to understand the table structure and data you want from SHData. Explain that to help you in a better way.

Also remember whatever you are pulling on SHCOData to remain dynamic the data will be Spill Data and not a structured table.
Hi @SanjayGMusafir,

I have the following columns in the SHData table (columns A:Q):

DateWork OrderGradeReceived DiaTarget DiaFinish Dia.Scrap WeightFinish WeightShaver #Start WeightOperatorCOIL#REPOShiftStart TimeFinish TimeTake Up Speed Ft/Min

I would like to bring over the below column data from table SHData to SHCOData (columns A:F):

DateReceived DiaShaver #ShiftStart TimeEnd Time

What will Spill and into which columns/rows?
 
Upvote 0
Sorry for the late response as I was not well.

Check this and revert -

Book1
ABCDEFGHIJK
1Column 1Column 2Column 3Column 4Column 5Column 6Column 1Column 3Column 4Column 6
2Data 1 -1Data 2 - 1Data 3 - 1Data 4 - 1Data 5 - 1Data 6 - 1Data 1 -1Data 3 - 1Data 4 - 1Data 6 - 1
3Data 1 -2Data 2 - 2Data 3 - 2Data 4 - 2Data 5 - 2Data 6 - 2Data 1 -2Data 3 - 2Data 4 - 2Data 6 - 2
4Data 1 -3Data 2 - 3Data 3 - 3Data 4 - 3Data 5 - 3Data 6 - 3Data 1 -3Data 3 - 3Data 4 - 3Data 6 - 3
5Data 1 -4Data 2 - 4Data 3 - 4Data 4 - 4Data 5 - 4Data 6 - 4Data 1 -4Data 3 - 4Data 4 - 4Data 6 - 4
6Data 1 -5Data 2 - 5Data 3 - 5Data 4 - 5Data 5 - 5Data 6 - 5Data 1 -5Data 3 - 5Data 4 - 5Data 6 - 5
7Data 1 -6Data 2 - 6Data 3 - 6Data 4 - 6Data 5 - 6Data 6 - 6Data 1 -6Data 3 - 6Data 4 - 6Data 6 - 6
8Data 1 -7Data 2 - 7Data 3 - 7Data 4 - 7Data 5 - 7Data 6 - 7Data 1 -7Data 3 - 7Data 4 - 7Data 6 - 7
9Data 1 -8Data 2 - 8Data 3 - 8Data 4 - 8Data 5 - 8Data 6 - 8Data 1 -8Data 3 - 8Data 4 - 8Data 6 - 8
10Data 1 -9Data 2 - 9Data 3 - 9Data 4 - 9Data 5 - 9Data 6 - 9Data 1 -9Data 3 - 9Data 4 - 9Data 6 - 9
11Data 1 -10Data 2 - 10Data 3 - 10Data 4 - 10Data 5 - 10Data 6 - 10Data 1 -10Data 3 - 10Data 4 - 10Data 6 - 10
12Data 1 -11Data 2 - 11Data 3 - 11Data 4 - 11Data 5 - 11Data 6 - 11Data 1 -11Data 3 - 11Data 4 - 11Data 6 - 11
Sheet1
Cell Formulas
RangeFormula
H1:K12H1=FILTER(FILTER(A:F,A:A<>""),{1,0,1,1,0,1})
Dynamic array formulas.


I borrowed this idea from the video below -

 
Upvote 0
Sorry for the late response as I was not well.

Check this and revert -

Book1
ABCDEFGHIJK
1Column 1Column 2Column 3Column 4Column 5Column 6Column 1Column 3Column 4Column 6
2Data 1 -1Data 2 - 1Data 3 - 1Data 4 - 1Data 5 - 1Data 6 - 1Data 1 -1Data 3 - 1Data 4 - 1Data 6 - 1
3Data 1 -2Data 2 - 2Data 3 - 2Data 4 - 2Data 5 - 2Data 6 - 2Data 1 -2Data 3 - 2Data 4 - 2Data 6 - 2
4Data 1 -3Data 2 - 3Data 3 - 3Data 4 - 3Data 5 - 3Data 6 - 3Data 1 -3Data 3 - 3Data 4 - 3Data 6 - 3
5Data 1 -4Data 2 - 4Data 3 - 4Data 4 - 4Data 5 - 4Data 6 - 4Data 1 -4Data 3 - 4Data 4 - 4Data 6 - 4
6Data 1 -5Data 2 - 5Data 3 - 5Data 4 - 5Data 5 - 5Data 6 - 5Data 1 -5Data 3 - 5Data 4 - 5Data 6 - 5
7Data 1 -6Data 2 - 6Data 3 - 6Data 4 - 6Data 5 - 6Data 6 - 6Data 1 -6Data 3 - 6Data 4 - 6Data 6 - 6
8Data 1 -7Data 2 - 7Data 3 - 7Data 4 - 7Data 5 - 7Data 6 - 7Data 1 -7Data 3 - 7Data 4 - 7Data 6 - 7
9Data 1 -8Data 2 - 8Data 3 - 8Data 4 - 8Data 5 - 8Data 6 - 8Data 1 -8Data 3 - 8Data 4 - 8Data 6 - 8
10Data 1 -9Data 2 - 9Data 3 - 9Data 4 - 9Data 5 - 9Data 6 - 9Data 1 -9Data 3 - 9Data 4 - 9Data 6 - 9
11Data 1 -10Data 2 - 10Data 3 - 10Data 4 - 10Data 5 - 10Data 6 - 10Data 1 -10Data 3 - 10Data 4 - 10Data 6 - 10
12Data 1 -11Data 2 - 11Data 3 - 11Data 4 - 11Data 5 - 11Data 6 - 11Data 1 -11Data 3 - 11Data 4 - 11Data 6 - 11
Sheet1
Cell Formulas
RangeFormula
H1:K12H1=FILTER(FILTER(A:F,A:A<>""),{1,0,1,1,0,1})
Dynamic array formulas.


I borrowed this idea from the video below -


Sorry for the late response as I was not well.

Check this and revert -

Thanks Sanjay, no worries, I've been under the weather myself the past few weeks, thank you for replying back.
This did work, however, when I attempt to create a table from the data the formula pulled over, I'm receiving a Spill error and the data does not appear (see below):
1704381849629.png
 
Upvote 0
What I'm looking to create is a data entry tab and then pull over certain data from that tab into a secondary tab where I will be adding additional columns and formulas. As the first table gets new rows, the second table needs to add these rows so the additional formulas can automatically calculate.

SHData Table Headers:
DateWork OrderGradeReceived DiaTarget DiaFinish Dia.Scrap WeightFinish WeightShaver #Start WeightOperatorCOIL#REPOShiftStart TimeFinish TimeTake Up Speed Ft/Min

SHCOData Table Headers:
DateGradeReceived Dia.Target Dia.Finish Dia.Finish WeightShaverStart TimeFinish TimeDensityTable Data Lbs./FtFootageDensityTable Data Lbs./FtFootagePlanned Yield Loss (Turn)Actual Yield % (Turn)Draw Yield Loss (%)Draw Yield Loss (lbs)Yield % (Weight)

The red highlighted text is the data that I want to pull from the SHData table and the black text will contain formulas that will pull from the red text data columns. The reason I'm trying to connect tables is to avoid having to drag and autofill cells as new rows are added with data.
 
Upvote 0
The #SPILL error will come if you convert the Spill range to a table

Keep it as a normal and it shall work like charm.

Try and revert

Just to add - Just in case you want it to be sorted in some order that we can handle later.

First test and get the desired results
 
Upvote 0
The #SPILL error will come if you convert the Spill range to a table

Keep it as a normal and it shall work like charm.

Try and revert

Just to add - Just in case you want it to be sorted in some order that we can handle later.

First test and get the desired results
I'm not sure if you noticed, but I added an addendum to my follow up reply, still hoping to determine if we can link those two tables?
 
Upvote 0
I'm not sure if you noticed, but I added an addendum to my follow up reply, still hoping to determine if we can link those two tables?
I actually overlooked that

We can do that without converting Data to Formatted tables. And if the data (formulae) you are adding in new columns is linked to the pulled data that can be handled so that as rows grow they also get copied down automatically. But it shall depend on kind of formule. Most get pulled down automatically being linked to a spill data (array).

Hope it helps you in some way

You start and then we can sort with the formulae in added columns - Either on this thread or new thread as the Forum Rules shall permit.
 
Upvote 0
I actually overlooked that

We can do that without converting Data to Formatted tables. And if the data (formulae) you are adding in new columns is linked to the pulled data that can be handled so that as rows grow they also get copied down automatically. But it shall depend on kind of formule. Most get pulled down automatically being linked to a spill data (array).

Hope it helps you in some way

You start and then we can sort with the formulae in added columns - Either on this thread or new thread as the Forum Rules shall permit.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,183
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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