Added Column Formula in a Spill Range - Cont.

ScottTemple

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

I am attempting to connect two tables together, so that when table1 has a new row added, table2 automatically adds that row. While working with @SanjayGMusafir on this site, he was able to assist me with creating a Spill formula into a second tab, in place of a second table (due to errors with Spill data and tables). By taking the Spill data (headers in green), I am adding additional columns that contain formulas that pull from this Spill data (headers in orange).

Either continuing on with this setup or determining how to connect two tables with each other, so that when new rows of data are added to table1, table2 is automatically updated. *My company does not allow me to download third-party add ons, so I am unable to install XL2BB.

Tabe2 or Tab2
1704395811447.png
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
How about
Excel Formula:
=LET(d,CHOOSECOLS(FILTER(Table9,Table9[Date]<>""),1,3,4,5,6,8,9,15,16),x,XLOOKUP(INDEX(d,,2),Sheet8!$E$2:$E$8,Sheet8!$F$2:$F$8),HSTACK(d,x,INDEX(d,,3)^2*1.517,IF(INDEX(d,,5)="","",(((INDEX(d,,7)*4)/3.14)/(x*(INDEX(d,,3)^2)))/12)))
 
Upvote 0
How about
Excel Formula:
=LET(d,CHOOSECOLS(FILTER(Table9,Table9[Date]<>""),1,3,4,5,6,8,9,15,16),x,XLOOKUP(INDEX(d,,2),Sheet8!$E$2:$E$8,Sheet8!$F$2:$F$8),HSTACK(d,x,INDEX(d,,3)^2*1.517,IF(INDEX(d,,5)="","",(((INDEX(d,,7)*4)/3.14)/(x*(INDEX(d,,3)^2)))/12)))
@Fluff you always surprise me in more than many ways...
 
Upvote 0
Fluff, Sanjay, that worked! However, can you explain the Index formula to me, so I can add more columns/formulas? Will this work in a SharePoint shared Excel doc?
 
Upvote 0
Should do, but I don't have sharepoint so can't say for sure.

The index function is just pulling the relevant column from the filter function.
Sorry, I'm not sure how that works exactly. Also, my Footage column is coming out incorrect, I'm getting far less footage than I should be getting.
 
Upvote 0
Sorry, I'm not sure how that works exactly. Also, my Footage column is coming out incorrect, I'm getting far less footage than I should be getting.
Here is the results I'm receiving for the Footage based on the formula you provided versus what we orignally have:

IF(INDEX(d,,5)="","",(((INDEX(d,,7)*4)/3.14)/(x*(INDEX(d,,3)^2)))/12))) - 29'

IF(F2="","",(((H2*4)/3.14)/(R2*(F2^2)))/12) - 5,328'
 
Upvote 0
Are the first 9 columns from the formula the correct data?
 
Upvote 0
Are the first 9 columns from the formula the correct data?
Fluff, my mistake, my original positing had an error in the Footage formula and I repeated that error in my last posting. It should have read:

=IF(E2="","",(((F2*4)/3.14)/(J2*(E^2)))/12)

*I believe I figured out how the Index formula works. By changing IF(INDEX(d,,5)="","",(((INDEX(d,,7)*4)/3.14)/(x*(INDEX(d,,3)^2)))/12))) to IF(INDEX(d,,5)="","",(((INDEX(d,,6)*4)/3.14)/(x*(INDEX(d,,5)^2)))/12))), I am now seeing the correct footage come through. This also help me determine how to build out this formula to include additional columns to add more data. I am curious as to how to determine the Index(d,,3) for example, along with the X in the (x*(INDEX(d,,5)...
 
Upvote 0
Index(d,,3) is the 3rd column from the filter formula (ie col C) & the x is the result of the Xlookup function.
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,159
Members
453,021
Latest member
Justyna P

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