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
 
Not sure what I've deviated from the in the second formula,
You are indexing a spill range from A to I (which is 9 columns), but you are after cols P & O, so it should be done the same way as in post#37
 
Upvote 0

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
You are indexing a spill range from A to I (which is 9 columns), but you are after cols P & O, so it should be done the same way as in post#37
I made another spill range in column X, but I think I can just combine those two spill ranges and leave them in the A2# range instead. Where I get hung up is where to put the parathesis when using multi equations in a formula. The one I'm trying to create below either gives me the "not trying to type a formula" error or returns "missing an open or close parathesis". Can you recommend a good article on the process in how many parathesis are need and where in a formula?

=IF(INDEX(A2#,,6)="","",IF((INDEX(A2#,,6)>(INDEX(A2#,,8)),((INDEX(A2#,,6)-(INDEX(A2#,,8))*1440,(1-((INDEX(A2#,,8)+(INDEX(A2#,,6))*1440)))
 
Upvote 0
At a guess that should be
Excel Formula:
=IF(INDEX(A2#,,6)="","",IF(INDEX(A2#,,6)>INDEX(A2#,,8),(INDEX(A2#,,6)-INDEX(A2#,,8))*1440,(1-INDEX(A2#,,8)+INDEX(A2#,,6))*1440))
 
Upvote 1
At a guess that should be
Excel Formula:
=IF(INDEX(A2#,,6)="","",IF(INDEX(A2#,,6)>INDEX(A2#,,8),(INDEX(A2#,,6)-INDEX(A2#,,8))*1440,(1-INDEX(A2#,,8)+INDEX(A2#,,6))*1440))
Thanks Fluff, you've been extremely helpful in getting this sorted out!
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0
Fluff, coming back to this thread with a question if you have some time. Is it possible to show blanks for the Index range? Right now, it will return a zero value if a cell is blank.

Data Entry Tab
1706196729495.png


Index Spill Range Tab
1706196759792.png


Original Formula
=CHOOSECOLS(FILTER(Table9,Table9[Date]<>""),1,3,4,5,6,8,9,10,11,12,15,16,17,21,22,23,26,27,28)
 
Upvote 0
Try
Excel Formula:
=let(c,=CHOOSECOLS(FILTER(Table9,Table9[Date]<>""),1,3,4,5,6,8,9,10,11,12,15,16,17,21,22,23,26,27,28),if(c="","",c))
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,198
Members
452,616
Latest member
intern444

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