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
 
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
Index(d,,3) is the 3rd column from the filter formula (ie col C) & the x is the result of the Xlookup function.
So the X toward the end of the formula ...(x*(INDEX(d,,5)^2)))/12))) refers back to the Density column, why does that not read INDEX(d,,10) instead, as Density is in the tenth column?
 
Upvote 0

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Because col J is not in the filtered data, its the xlookup function.
 
Upvote 0
Because col J is not in the filtered data, its the xlookup function.
Gotcha. Another quick question, I am trying to add another formula in the subsequent column, but I'm receiving an error. Here is the formula in the first tab, followed by what I believe it needs to be in the Spill formula string:

=IF(E2="","",(F2^2)/(E2^2)-0.012)
=IF(INDEX(d,,4)="","",((INDEX(d,,6)^2)/(INDEX(d,,4)^2))-0.012))
 
Upvote 0
Col E is the 5th column not the 4th.
 
Upvote 0
Without knowing what the complete formula is, I cannot help.
 
Upvote 0
Without knowing what the complete formula is, I cannot help.
The Spill formula is:

LET(d,CHOOSECOLS(FILTER(Table9,Table9[Date]<>""),1,3,4,5,6,8,9,15,16),x,XLOOKUP(INDEX(d,,2),REF!$E$2:$E$8,REF!$F$2:$F$8),HSTACK(d,x,INDEX(d,,3)^2*1.517,IF(INDEX(d,,5)="","",(((INDEX(d,,6)*4)/3.14)/(x*(INDEX(d,,5)^2)))/12)))

and I want to add on:
IF(INDEX(d,,4)="","",((INDEX(d,,5)^2)/(INDEX(d,,4)^2))-0.012))

My formula would be:
LET(d,CHOOSECOLS(FILTER(Table9,Table9[Date]<>""),1,3,4,5,6,8,9,15,16),x,XLOOKUP(INDEX(d,,2),REF!$E$2:$E$8,REF!$F$2:$F$8),HSTACK(d,x,INDEX(d,,3)^2*1.517,IF(INDEX(d,,5)="","",(((INDEX(d,,6)*4)/3.14)/(x*(INDEX(d,,5)^2)))/12))),IF(INDEX(d,,4)="","",((INDEX(d,,5)^2)/(INDEX(d,,4)^2))-0.012))
 
Upvote 0

Forum statistics

Threads
1,216,143
Messages
6,129,110
Members
449,486
Latest member
malcolmlyle

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