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
 
All those formulae should spill, but you said they are not spill ranges. :confused:
Do they spill down?
 
Upvote 0

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
All those formulae should spill, but you said they are not spill ranges. :confused:
Do they spill down?
Oh, yea they do. What I mean by spill range is that columns A-I pull data from my first tab with just that one formula in A2; so A2 fill out A-I all the way down. The formulas in J2-N2 pull from the data in the A-I columns and they spill all the way down as well. The problem I run into is when I input a new formula that only takes data from the J-N columns, that 'A2#' part of the formula no longer works as its looking only in the A-I columns and I need to pull from the J-N columns. So the O formula would need to spill as well, but it would look something like =IF(M2="","",M2-N2), just not sure how to create the formula to encompass that so it spills as well.
 
Upvote 0
Just use the #signs as I have showed with the other formulae.
 
Upvote 0
Just use the #signs as I have showed with the other formulae.
That was my assumption and I came up with the below formula, but I get a #REF! error

=IF(INDEX(M2#,,13)="","",(((INDEX(M2#,,13)-(INDEX(N2#,,14))))))

1704828424572.png
 
Upvote 0
Col M is only one column wide, so you cannot index the 13th column. Just use M2# & N2#
 
Upvote 0
Col M is only one column wide, so you cannot index the 13th column. Just use M2# & N2#
Sorry, this type of formula is new to me, would that be something like:

=IF(M2#,,13)="","",(((M2#,,13)-(N2#,,14)))
 
Upvote 0
It should be
Excel Formula:
=IF(M2#="","",M2#-N2#)
 
Upvote 0
It should be
Excel Formula:
=IF(M2#="","",M2#-N2#)
Ah yea that did the trick. I have two last formula questions I'm hoping you can assist me with, and I'll leave you alone forever lol. I created a second A2# range in column X through AC.

Formulas
=IF(P2="","",IF(P2>O2,(P2-O2)*1440,(1-O2+P2)*1440))
=IF(F2="","",F2-SUM(Y2:Z2,AB2,AC2))

My attempts
=IF(INDEX(A2#,,11)="","",IF(((INDEX(A2#,,11)>(INDEX(A2#,,10),(((INDEX(A2#,,11)-(INDEX(A2#,,10)*1440,(1-((INDEX(A2#,,10)+(INDEX(A2#,,11)*1440)))
=IF(INDEX(A2#,,6)="","",(((INDEX(A2#,,6)-SUM(INDEX(X2#,,25:X2#,,26),(INDEX(X2#,,28:X2#,,29)))
 
Upvote 0
You cannot use SUM on a spill range like that, as it will simply add everything up & return a single value.
For the 1st formula, you seem to have ignored everything in this thread.
 
Upvote 0
You cannot use SUM on a spill range like that, as it will simply add everything up & return a single value.
For the 1st formula, you seem to have ignored everything in this thread.
Is there a work around for the Sum function?
Not sure what I've deviated from the in the second formula, I've been following the previous formulas that are working?
 
Upvote 0

Forum statistics

Threads
1,216,171
Messages
6,129,284
Members
449,498
Latest member
Lee_ray

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